getLabelsForContent method
Deprecated, use Confluence's v2 API.
Returns the labels on a piece of content.
Permissions required: 'View' permission for the space and permission to view the content if it is a page.
Implementation
@deprecated
Future<LabelArray> getLabelsForContent(
{required String id, String? prefix, int? start, int? limit}) async {
return LabelArray.fromJson(await _client.send(
'get',
'wiki/rest/api/content/{id}/label',
pathParameters: {
'id': id,
},
queryParameters: {
if (prefix != null) 'prefix': prefix,
if (start != null) 'start': '$start',
if (limit != null) 'limit': '$limit',
},
));
}