comAtprotoSpaceListRecords function
List records in a space repo, optionally filtered by collection. Requires auth as the repo's account or with a space credential; implemented by PDS.
Implementation
Future<XRPCResponse<SpaceListRecordsOutput>> comAtprotoSpaceListRecords({
required String space,
required String repo,
String? collection,
int? limit,
String? cursor,
bool? excludeValues,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.comAtprotoSpaceListRecords,
service: $service,
headers: $headers,
parameters: {
...?$unknown,
'space': space,
'repo': repo,
if (collection != null) 'collection': collection,
if (limit != null) 'limit': limit,
if (cursor != null) 'cursor': cursor,
if (excludeValues != null) 'excludeValues': excludeValues,
},
to: const SpaceListRecordsOutputConverter().fromJson,
);