appBskyVideoGetUploadStatus function

Future<XRPCResponse<VideoGetUploadStatusOutput>> appBskyVideoGetUploadStatus({
  1. required String jobId,
  2. required ServiceContext $ctx,
  3. String? $service,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Get the authoritative status of the upload phase. Terminal states remain readable. completedJobId and jobStatus are present only for completed sessions; failureReason is present only for failed sessions.

Implementation

Future<XRPCResponse<VideoGetUploadStatusOutput>> appBskyVideoGetUploadStatus({
  required String jobId,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.appBskyVideoGetUploadStatus,
  service: $service,
  headers: $headers,
  parameters: {...?$unknown, 'jobId': jobId},
  to: const VideoGetUploadStatusOutputConverter().fromJson,
);