getLabelsForSpace method
Returns a list of labels associated with a space. Can provide a prefix as well as other filters to select different types of labels.
Implementation
Future<LabelArray> getLabelsForSpace(
{required String spaceKey,
String? prefix,
int? start,
int? limit}) async {
return LabelArray.fromJson(await _client.send(
'get',
'wiki/rest/api/space/{spaceKey}/label',
pathParameters: {
'spaceKey': spaceKey,
},
queryParameters: {
if (prefix != null) 'prefix': prefix,
if (start != null) 'start': '$start',
if (limit != null) 'limit': '$limit',
},
));
}