GET/spaces/api/v1/spaces/{spaceID}.json

Get a single space by ID

Path Params

  • Name
    spaceID
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    Space model represents a complete Space as returned from the database
  • Code
    201
    Type
    object
    Schema
    Description
    Created
  • Code
    400
    Type
    object
    Schema
    Description
    Bad Request
  • Code
    401
    Type
    object
    Schema
    Description
    Unauthorized
  • Code
    403
    Type
    object
    Schema
    Description
    Forbidden
  • Code
    404
    Type
    object
    Schema
    Description
    404 Not Found
  • Code
    500
    Type
    object
    Schema
    Description
    500 Internal Server Error

Examples

200 OK

Space
{
  "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-24T00:52:20.158Z",
  "createdBy": {
    "id": 0,
    "meta": {},
    "type": "string"
  },
  "deletedAt": "2024-04-24T00:52:20.158Z",
  "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-24T00:52:20.158Z",
  "updatedBy": {
    "id": 0,
    "meta": {},
    "type": "string"
  }
}