comAtprotoSyncListRepos function

Future<XRPCResponse<SyncListReposOutput>> comAtprotoSyncListRepos({
  1. int? limit,
  2. String? cursor,
  3. required ServiceContext $ctx,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Enumerates all the DID, rev, and commit CID for all repos hosted by this service. Does not require auth; implemented by PDS and Relay.

Implementation

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