v1
latestOpenAPI 3.0.12026-07-2464217456.8 KBGet all spaces
Query parameters
You can use this param to specify some value as project id and the responses will contain exact matches of spaces that match the given value.
This parameter sets the maximum number of responses to be displayed per page. If the page size is insufficient to accommodate the whole number of responses obtained, the pagination object will include a link to the next page as well as the next page token. If left blank, it defaults to 100.
Use this parameter to specify the pageToken of a page to which you want to navigate. This pageToken can be obtained from a previous request which specified a limit and will only be active for 15 minutes after it is created.
You can use the sortBy param to sort the responses by the given field.
The sortOrder param can be used to specify the sorting order, which can be Ascending (ASC) or Descending (DESC). Descending is the default option.
You can use the match param to specify if we need to filter the entries using either AND(all) / OR(any). Defaults to AND.
You can use this param to specify some space name and the responses will contain exact matches of spaces that match the given name.
You can use this param to specify some space name and the responses will contain matches of spaces that match the given name.
You can use this param to specify some space name and the responses will not contain matches of spaces that match the given name.
You can use this param to provide an epoch milli value and the responses will contain spaces whose date are greater than the given spaces created date.
You can use this param to provide an epoch milli value and the responses will contain exact matches of spaces that match the given spaces created date.
You can use this param to provide an epoch milli value and the responses will contain spaces whose date are less than the given spaces created date.
You can use this param to provide an epoch milli value and the responses will contain spaces whose date are greater than or equal to the given spaces created date.
You can use this param to provide an epoch milli value and the responses will contain spaces whose date are less than or equal to the given spaces created date.
You can use this param to provide an epoch milli value and the responses will contain spaces whose date are greater than the given spaces updated date.
You can use this param to provide an epoch milli value and the responses will contain exact matches of spaces that match the given spaces updated date.
You can use this param to provide an epoch milli value and the responses will contain spaces whose date are less than the given spaces updated date.
You can use this param to provide an epoch milli value and the responses will contain spaces whose date are greater than or equal to the given spaces updated date.
You can use this param to provide an epoch milli value and the responses will contain spaces whose date are less than or equal to the given spaces updated date.
Response
The requested action was successfully executed.
Example response
{
"data": [
{
"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
}
],
"pagination": {
"pageSize": 100,
"hasMore": true,
"totalRecordCount": 10398,
"nextPage": "https://api.rocketlane.com/api/1.0/spaces?includeFields=category,minutes&billable.eq=false&sortBy=startDate&sortOrder=desc&pageToken=e4a3dd8e-e338-11ed-b5ea-0242ac120002&limit=100&assignee.any=1&startDate.gt=2022-01-02",
"nextPageToken": "e4a3dd8e-e338-11ed-b5ea-0242ac120002"
}
}