InternalCreate a new instance of the service.
Returns the labels of specific attachment. 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 view the parent content of the attachment and its corresponding space. Only labels 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.
The ID of the attachment for which labels should be returned.
Optionallimit?: numberMaximum number of labels per result to return. If more results exist, use the
Link header to retrieve a relative URL that will return the next set of
results.
Optionalprefix?: Filter the results to labels based on their prefix.
Optionalsort?: stringUsed to sort the result by a particular field.
Returned if the requested labels are returned.
Returns the labels of specific blog post. 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 view the content of the blog post and its corresponding space. Only labels 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.
The ID of the blog post for which labels should be returned.
Optionallimit?: numberMaximum number of labels per result to return. If more results exist, use the
Link header to retrieve a relative URL that will return the next set of
results.
Optionalprefix?: Filter the results to labels based on their prefix.
Optionalsort?: stringUsed to sort the result by a particular field.
Returned if the requested labels are returned.
Returns the labels for a specific piece of custom content. 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 view the custom content and its corresponding space. Only labels 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.
The ID of the custom content for which labels should be returned.
Optionallimit?: numberMaximum number of labels per result to return. If more results exist, use the
Link header to retrieve a relative URL that will return the next set of
results.
Optionalprefix?: Filter the results to labels based on their prefix.
Optionalsort?: stringUsed to sort the result by a particular field.
Returned if the requested labels are returned.
Returns all labels. 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 labels 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.
OptionallabelFilters on label ID. Multiple IDs can be specified as a comma-separated list.
Optionallimit?: numberMaximum number of labels per result to return. If more results exist, use the
Link header to retrieve a relative URL that will return the next set of
results.
Optionalprefix?: string[]Filters on label prefix. Multiple IDs can be specified as a comma-separated list.
Optionalsort?: stringUsed to sort the result by a particular field.
Returned if the requested labels are returned.
Returns the labels of specific page. 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 view the content of the page and its corresponding space. Only labels 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.
The ID of the page for which labels should be returned.
Optionallimit?: numberMaximum number of labels per result to return. If more results exist, use the
Link header to retrieve a relative URL that will return the next set of
results.
Optionalprefix?: Filter the results to labels based on their prefix.
Optionalsort?: stringUsed to sort the result by a particular field.
Returned if the requested labels are returned.
Returns the labels of space content (pages, blogposts etc). 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 view the space. Only labels 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.
The ID of the space for which labels should be returned.
Optionallimit?: numberMaximum number of labels per result to return. If more results exist, use the
Link header to retrieve a relative URL that will return the next set of
results.
Optionalprefix?: "my" | "team"Filter the results to labels based on their prefix.
Optionalsort?: stringUsed to sort the result by a particular field.
Returned if the requested labels are returned.
Returns the labels of specific space. 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 view the space. Only labels 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.
The ID of the space for which labels should be returned.
Optionallimit?: numberMaximum number of labels per result to return. If more results exist, use the
Link header to retrieve a relative URL that will return the next set of
results.
Optionalprefix?: "my" | "team"Filter the results to labels based on their prefix.
Optionalsort?: stringUsed to sort the result by a particular field.
Returned if the requested labels are returned.
Protected Staticinitialize
See
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label