InternalCreate a new instance of the service.
Creates a Space as specified in the payload.
Permissions required: Permission to create spaces.
Returned if the requested space is created.
Returns a specific space.
Permissions required: Permission to view the space.
OptionaldescriptionThe 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.
The ID of the space to be returned.
OptionalincludeIf the icon for the space should be fetched or not.
OptionalincludeIncludes labels associated with this space in the response.
The number of results will be limited to 50 and sorted in the default sort
order.
A meta and _links property will be present to indicate if more results are
available and a link to retrieve the rest of the results.
OptionalincludeIncludes operations associated with this space in the response, as defined in
the Operation object.
The number of results will be limited to 50 and sorted in the default sort
order.
A meta and _links property will be present to indicate if more results are
available and a link to retrieve the rest of the results.
OptionalincludeIncludes space permissions associated with this space in the response.
The number of results will be limited to 50 and sorted in the default sort
order.
A meta and _links property will be present to indicate if more results are
available and a link to retrieve the rest of the results.
OptionalincludeIncludes space properties associated with this space in the response.
The number of results will be limited to 50 and sorted in the default sort
order.
A meta and _links property will be present to indicate if more results are
available and a link to retrieve the rest of the results.
OptionalincludeIncludes role assignments associated with this space in the response. This
parameter is only accepted for EAP sites.
The number of results will be limited to 50 and sorted in the default sort
order.
A meta and _links property will be present to indicate if more results are
available and a link to retrieve the rest of the results.
Returned if the requested space is returned.
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.
Optionalcursor?: stringUsed 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.
OptionaldescriptionThe 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.
OptionalfavoritedFilter the results to spaces favorited by the user with the specified account ID.
Optionalids?: number[]Filter the results to spaces based on their IDs. Multiple IDs can be specified as a comma-separated list.
OptionalincludeIf the icon for the space should be fetched or not.
Optionalkeys?: string[]Filter the results to spaces based on their keys. Multiple keys can be specified as a comma-separated list.
Optionallabels?: string[]Filter the results to spaces based on their labels. Multiple labels can be specified as a comma-separated list.
Optionallimit?: numberMaximum 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.
OptionalnotFilter the results to spaces NOT favorited by the user with the specified account ID.
Optionalsort?: SpaceSortOrderUsed to sort the result by a particular field.
Optionalstatus?: "current" | "archived"Filter the results to spaces based on their status.
Optionaltype?: Filter the results to spaces based on their type.
Returned if the requested spaces are returned.
Protected Staticinitialize
See
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space