appBskyVideoGetUploadStatus function
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,
);