comAtprotoLabelQueryLabels function
Find labels relevant to the provided AT-URI patterns. Public endpoint for moderation services, though may return different or additional results with auth.
Implementation
Future<XRPCResponse<LabelQueryLabelsOutput>> comAtprotoLabelQueryLabels({
required List<String> uriPatterns,
List<String>? sources,
int? limit,
String? cursor,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.comAtprotoLabelQueryLabels,
headers: $headers,
parameters: {
...?$unknown,
'uriPatterns': uriPatterns,
if (sources != null) 'sources': sources,
if (limit != null) 'limit': limit,
if (cursor != null) 'cursor': cursor,
},
to: const LabelQueryLabelsOutputConverter().fromJson,
);