app.bsky.video.startUpload
Start a multipart video upload. The declared size is exact, while optional media properties are advisory and used only for early failure; the authoritative probe runs asynchronously after upload.
- class atproto_client.models.app.bsky.video.start_upload.Data
Bases:
DataModelBaseInput data model for
app.bsky.video.startUpload.- field mime_type: str [Required]
Declared MIME type of the video.
- Constraints:
min_length = 3
max_length = 255
- field size_bytes: int [Required]
Exact byte size of the complete upload-ready video file before it is split into parts.
- Constraints:
ge = 1
- class atproto_client.models.app.bsky.video.start_upload.DataDict
Bases:
TypedDict- mime_type: str
Declared MIME type of the video.
- size_bytes: int
Exact byte size of the complete upload-ready video file before it is split into parts.
- 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.
- name: NotRequired[str | None]
Optional client-provided file name.
- 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:
ResponseModelBaseOutput data model for
app.bsky.video.startUpload.- field expires_at: DateTime [Required]
Expires at.
- 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.