app.bsky.video.defs

Shared type definitions.

class atproto_client.models.app.bsky.video.defs.JobStatus

Bases: ModelBase

Definition model for app.bsky.video.defs.

field blob: BlobRef | None = None

Blob.

field did: Did [Required]

Did.

field error: str | None = None

Error.

field failure_code: Literal['validation_failure', 'encoding_failure', 'pds_upload_failure', 'pds_upload_unsupported_blob_size', 'generic_failure'] | str | None = None

A machine-readable code for why the video processing job failed.

field job_id: str [Required]

Job id.

field message: str | None = None

Message.

field progress: int | None = None
Constraints:
  • ge = 0

  • le = 100

field state: Literal['JOB_STATE_CREATED', 'JOB_STATE_ENCODING', 'JOB_STATE_ENCODED', 'JOB_STATE_SCANNING', 'JOB_STATE_SCANNED', 'JOB_STATE_UPLOADING', 'JOB_STATE_UPLOADED', 'JOB_STATE_COMPLETED', 'JOB_STATE_FAILED'] | str [Required]

The state of the video processing job. All values not listed as a known value indicate that the job is in process.