listRepos method

Future<XRPCResponse<ListReposOutput>> listRepos({
  1. int? limit,
  2. String? cursor,
  3. Map<String, String>? $unknown,
  4. Map<String, String>? $headers,
  5. GetClient? $client,
})

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

https://atprotodart.com/docs/lexicons/com/atproto/sync/listRepos

Implementation

Future<XRPCResponse<ListReposOutput>> listRepos({
  int? limit,
  String? cursor,
  Map<String, String>? $unknown,
  Map<String, String>? $headers,
  GetClient? $client,
}) async =>
    await _ctx.get<ListReposOutput>(
      ns.comAtprotoSyncListRepos,
      headers: $headers,
      parameters: {
        if (limit != null) 'limit': limit.toString(),
        if (cursor != null) 'cursor': cursor,
        ...?$unknown,
      },
      to: const ListReposOutputConverter().fromJson,
      client: $client,
    );