comAtprotoSyncListReposByCollection function
Enumerates all the DIDs which have records with the given collection NSID.
Implementation
Future<XRPCResponse<SyncListReposByCollectionOutput>>
comAtprotoSyncListReposByCollection({
required String collection,
int? limit,
String? cursor,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.comAtprotoSyncListReposByCollection,
headers: $headers,
parameters: {
...?$unknown,
'collection': collection,
if (limit != null) 'limit': limit,
if (cursor != null) 'cursor': cursor,
},
to: const SyncListReposByCollectionOutputConverter().fromJson,
);