comAtprotoSyncGetRepoStatus function

Future<XRPCResponse<SyncGetRepoStatusOutput>> comAtprotoSyncGetRepoStatus({
  1. required String did,
  2. required ServiceContext $ctx,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Get the hosting status for a repository, on this server. Expected to be implemented by PDS and Relay.

Implementation

Future<XRPCResponse<SyncGetRepoStatusOutput>> comAtprotoSyncGetRepoStatus({
  required String did,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoSyncGetRepoStatus,
  headers: $headers,
  parameters: {...?$unknown, 'did': did},
  to: const SyncGetRepoStatusOutputConverter().fromJson,
);