queryLabels method

Future<XRPCResponse<LabelQueryLabelsOutput>> queryLabels({
  1. required List<String> uriPatterns,
  2. List<String>? sources,
  3. int? limit,
  4. String? cursor,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

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>> queryLabels({
  required List<String> uriPatterns,
  List<String>? sources,
  int? limit,
  String? cursor,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoLabelQueryLabels(
  uriPatterns: uriPatterns,
  sources: sources,
  limit: limit,
  cursor: cursor,
  $ctx: _ctx,
  $headers: $headers,
  $unknown: $unknown,
);