comAtprotoSpaceListRepoOps function

Future<XRPCResponse<SpaceListRepoOpsOutput>> comAtprotoSpaceListRepoOps({
  1. required String space,
  2. required String repo,
  3. String? since,
  4. int? limit,
  5. String? cursor,
  6. bool? excludeValues,
  7. required ServiceContext $ctx,
  8. String? $service,
  9. Map<String, String>? $headers,
  10. Map<String, String>? $unknown,
})

List operations on a space repo after a given revision. Used for incremental sync. Hosts may truncate the log, so use getRepo for a full sync. Responses are authenticated with a MAC. Requires auth as the repo's account or with a space credential; implemented by PDS.

Implementation

Future<XRPCResponse<SpaceListRepoOpsOutput>> comAtprotoSpaceListRepoOps({
  required String space,
  required String repo,
  String? since,
  int? limit,
  String? cursor,
  bool? excludeValues,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoSpaceListRepoOps,
  service: $service,
  headers: $headers,
  parameters: {
    ...?$unknown,
    'space': space,
    'repo': repo,
    if (since != null) 'since': since,
    if (limit != null) 'limit': limit,
    if (cursor != null) 'cursor': cursor,
    if (excludeValues != null) 'excludeValues': excludeValues,
  },
  to: const SpaceListRepoOpsOutputConverter().fromJson,
);