getAllLabelContent method
Returns label information and a list of contents associated with the label.
Permissions required: Permission to access the Confluence site ('Can use' global permission). Only contents that the user is permitted to view is returned.
Implementation
Future<LabelDetails> getAllLabelContent(
{required String name, String? type, int? start, int? limit}) async {
return LabelDetails.fromJson(await _client.send(
'get',
'wiki/rest/api/label',
queryParameters: {
'name': name,
if (type != null) 'type': type,
if (start != null) 'start': '$start',
if (limit != null) 'limit': '$limit',
},
));
}