app.bsky.video.start_upload

class atproto_client.models.app.bsky.video.start_upload.Data

Bases: DataModelBase

Input data model for app.bsky.video.startUpload.

field duration_ms: int | None = None
field height: int | None = None
field mime_type: str [Required]

Declared MIME type of the video.

Constraints:
  • min_length = 3

  • max_length = 255

field name: str | None = None

Optional client-provided file name.

Constraints:
  • max_length = 256

field size_bytes: int [Required]

Exact byte size of the complete upload-ready video file before it is split into parts.

Constraints:
  • ge = 1

field width: int | None = None
class atproto_client.models.app.bsky.video.start_upload.DataDict

Bases: TypedDict

duration_ms: NotRequired[int | None]

Advisory, non-authoritative duration used only for early failure; the authoritative probe runs asynchronously after upload.

height: NotRequired[int | None]

Advisory, non-authoritative height used only for early failure; the authoritative probe runs asynchronously after upload.

mime_type: str

Declared MIME type of the video.

name: NotRequired[str | None]

Optional client-provided file name.

size_bytes: int

Exact byte size of the complete upload-ready video file before it is split into parts.

width: NotRequired[int | None]

Advisory, non-authoritative width used only for early failure; the authoritative probe runs asynchronously after upload.

class atproto_client.models.app.bsky.video.start_upload.Response

Bases: ResponseModelBase

Output data model for app.bsky.video.startUpload.

field expires_at: str [Required]

Expires at.

Constraints:
field job_id: str [Required]

Job id.

Constraints:
  • min_length = 1

  • max_length = 256

field part_count: int [Required]

Part count.

field part_size_bytes: int [Required]

Part size bytes.