InternalCreate a new instance of the service.
Returns data policy metadata for the workspace.
Permissions required: Only apps can make this request. Permission to access the Confluence site ('Can use' global permission).
Returned if the request is successful.
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: Only apps can make this request. Permission to access the Confluence site ('Can use' global permission). Only spaces that the app 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.
Optionalids?: number[]Filter the results to spaces based on their IDs. Multiple IDs can be specified as a comma-separated list.
Optionalkeys?: string[]Filter the results to spaces based on their keys. Multiple keys 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.
Optionalsort?: SpaceSortOrderUsed to sort the result by a particular field.
Returned if the requested spaces are returned.
Protected Staticinitialize
See
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-data-policies