DeepFellow DOCS

Add an upload part

POST
/v1/uploads/{upload_id}/parts

Add a part to a pending upload. Parts may be uploaded concurrently, in any order.

Authorization

headerAuthorizationBearer <token>

Path Parameters

upload_id*string

The ID of the upload to add a part to.

Match^[0-9a-fA-F]{24}$

Header Parameters

OpenAI-Organization?|

Organization Id from OpenAi compatible endpoint. Required to organization access or project access (with OpenAI-Project header) when logged as User or Admin User.

OpenAI-Project?|

Project Id from OpenAi compatible endpoint. Required to project access for organization api key or User / Admin User access with OpenAI-Organization

Request Body

multipart/form-data
  1. body
file*file

The part's byte range, as a file.

Formatbinary

Response Body

Successful Response

application/json
  1. response

An upload part as returned by the API.

id*string

The upload part identifier, which can be referenced in the API endpoints.

Match^[0-9a-fA-F]{24}$
upload_id*string

ID of the parent upload this part belongs to.

Match^[0-9a-fA-F]{24}$
object?string

The object type, which is always upload.part.

Default"upload.part"
created_at?integer

The Unix timestamp (in seconds) for when the part was uploaded.

Example Request
curl -X POST 'https://deepfellow-server-host/v1/uploads/5eb7cf5a86d9755df3a6c593/parts' \  -F 'file=string'
Example Response
{  "id": "5eb7cf5a86d9755df3a6c593",  "upload_id": "5eb7cf5a86d9755df3a6c593",  "object": "upload.part",  "created_at": 0}

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.