Skip to content
Navigation

Get a space

Fetches a single space by id. Authorization: requires space:read on the space; organization administrators bypass this check. A caller lacking the grant gets 404, not 403, so a space's existence is never leaked; a genuinely missing or archived space also returns 404. Success returns { space } with id, title, spaceType, createdAt, updatedAt, and createdBy.

GET
https://api.cloudraker.com/spaces/{spaceId}
Try it
Path parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required

Returns

200

The space.

JSON
  • space
    object
    required
    • id
      string
      required
    • title
      string
      required
    • spaceType
      string
      required

      Identifier of the parent space type.

    • createdAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • updatedAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • expiresAt
      required

      Deadline of an API-managed (/v1) space, after which it is closed and its files deleted. null for a space created in the app, which never expires.

      Any of the following:

      • string
      • null
    • createdBy
      optional
      string

404

not_found — the space does not exist, is archived, or the caller lacks space:read.

Type to search…

↑↓ navigate↵ selectEsc close