appBskyVideoFinishUpload function
Finish an upload. This call is idempotent and safe to retry. On deduplication completedJobId may differ from the input jobId; poll getJobStatus with completedJobId. Probe-based validation failures surface later as JOB_STATE_FAILED from getJobStatus, not as errors from this call.
Implementation
Future<XRPCResponse<VideoFinishUploadOutput>> appBskyVideoFinishUpload({
required String jobId,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.appBskyVideoFinishUpload,
service: $service,
headers: {'Content-type': 'application/json', ...?$headers},
body: {...?$unknown, 'jobId': jobId},
to: const VideoFinishUploadOutputConverter().fromJson,
);