GET/spaces/api/v1/spaces.json

Get a list of spaces for an installation

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
  • Code
    500
    Type
    object
    Schema
    Description
    500 Internal Server Error

Examples

200 OK

Spaces
{
  "spaces": {
    "Spaces": [
      {
        "LinkedCategory": {
          "category": {
            "id": 0,
            "meta": {},
            "type": "string"
          }
        },
        "banner": "string",
        "bannerX": 0,
        "bannerY": 0,
        "code": "string",
        "collaborators": [
          {
            "id": 0,
            "meta": {},
            "type": "string"
          }
        ],
        "collaboratorsCount": 0,
        "createdAt": "2024-04-24T16:17:54.295Z",
        "createdBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "deletedAt": "2024-04-24T16:17:54.295Z",
        "deletedBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "homepage": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "icon": "string",
        "id": 0,
        "projectId": 0,
        "purpose": "string",
        "spaceColor": "string",
        "state": "string",
        "title": "string",
        "updatedAt": "2024-04-24T16:17:54.295Z",
        "updatedBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        }
      }
    ]
  }
}