v1
latestOpenAPI 3.0.32026-07-13218142597.2 KBGet spaces
Returns all spaces. The results will be sorted by id ascending. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response header.
Permissions required: Permission to access the Confluence site ('Can use' global permission). Only spaces that the user has permission to view will be returned.
Query parameters
Filter the results to spaces based on their IDs. Multiple IDs can be specified as a comma-separated list.
Filter the results to spaces based on their keys. Multiple keys can be specified as a comma-separated list.
Filter the results to spaces based on their type.
Filter the results to spaces based on their status.
Filter the results to spaces based on their labels. Multiple labels can be specified as a comma-separated list.
Filter the results to spaces favorited by the user with the specified account ID.
Filter the results to spaces NOT favorited by the user with the specified account ID.
The sort fields for spaces. The default sort direction is ascending. To sort in descending order, append a - character before the sort field. For example, fieldName or -fieldName.
Used to sort the result by a particular field.
The formats a space description can be represented as. A subset of BodyRepresentation.
The content format type to be returned in the description field of the response. If available, the representation will be available under a response field of the same name under the description field.
If the icon for the space should be fetched or not.
Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
Maximum number of spaces per result to return. If more results exist, use the Link response header to retrieve a relative URL that will return the next set of results.
Response
Returned if the requested spaces are returned.