v1

latestOpenAPI 3.0.12026-07-2464217456.8 KB
Spaces

Create a space

post/1.0/spaces

Request body

spaceIdinteger

The space's unique, system-generated identifier, which can be used to identify the space globally.

spaceNamestring required

The name of the space.

privateboolean

Describes the privacy of the space i.e. if it is private or shared.

Example request

{
  "spaceId": 201,
  "spaceName": "Shared space",
  "project": {
    "projectId": 201
  },
  "private": true
}

Response

The resource was successfully created in the database.

spaceIdinteger

The space's unique, system-generated identifier, which can be used to identify the space globally.

spaceNamestring

The name of the space.

createdAtinteger

The timestamp when the space was created. The referenced time will be in epoch millis.

updatedAtinteger

The timestamp when the space was last updated.

privateboolean

Describes the privacy of the space i.e. if it is private or shared.

Example response

{
  "spaceId": 201,
  "spaceName": "Shared space",
  "project": {
    "projectId": 201,
    "projectName": "Acme onboarding"
  },
  "createdAt": 1681319726000,
  "createdBy": {
    "emailId": "john.doe@rocketlane.com",
    "userId": 201,
    "firstName": "John",
    "lastName": "Doe"
  },
  "updatedAt": 1681319726000,
  "updatedBy": {
    "emailId": "john.doe@rocketlane.com",
    "userId": 201,
    "firstName": "John",
    "lastName": "Doe"
  },
  "private": true
}