comAtprotoSpaceListWriters function

Future<XRPCResponse<SpaceListWritersOutput>> comAtprotoSpaceListWriters({
  1. required String space,
  2. int? limit,
  3. String? cursor,
  4. required ServiceContext $ctx,
  5. String? $service,
  6. Map<String, String>? $headers,
  7. Map<String, String>? $unknown,
})

List the repos in a space's writer set, with the latest known state of each: its current revision, or its removal from the writer set. Requires a space credential, implemented by the space host.

Implementation

Future<XRPCResponse<SpaceListWritersOutput>> comAtprotoSpaceListWriters({
  required String space,
  int? limit,
  String? cursor,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoSpaceListWriters,
  service: $service,
  headers: $headers,
  parameters: {
    ...?$unknown,
    'space': space,
    if (limit != null) 'limit': limit,
    if (cursor != null) 'cursor': cursor,
  },
  to: const SpaceListWritersOutputConverter().fromJson,
);