Skip to content

Parts

Add upload part
uploads.parts.create(strupload_id, PartCreateParams**kwargs) -> UploadPart
POST/uploads/{upload_id}/parts
ModelsExpand Collapse
class UploadPart:

The upload Part represents a chunk of bytes we can add to an Upload object.

id: str

The upload Part unique identifier, which can be referenced in API endpoints.

created_at: int

The Unix timestamp (in seconds) for when the Part was created.

object: Literal["upload.part"]

The object type, which is always upload.part.

upload_id: str

The ID of the Upload object that this Part was added to.