comAtprotoRepoListRecords function
List a range of records in a repository, matching a specific collection. Does not require auth.
Implementation
Future<XRPCResponse<RepoListRecordsOutput>> comAtprotoRepoListRecords({
required String repo,
required String collection,
int? limit,
String? cursor,
bool? reverse,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.comAtprotoRepoListRecords,
headers: $headers,
parameters: {
...?$unknown,
'repo': repo,
'collection': collection,
if (limit != null) 'limit': limit,
if (cursor != null) 'cursor': cursor,
if (reverse != null) 'reverse': reverse,
},
to: const RepoListRecordsOutputConverter().fromJson,
);