Step 2

Upload a file chunk

Upload a chunk of the file.

post/v7/file_cmds/upload/{file_id}/chunk/{chunk_number}

Request

  • Base URL
    https://example.com
  • URL
    https://example.com/v7/file_cmds/upload/{file_id}/chunk/{chunk_number}
  • Auth
    • API key in header Authorization
    • or OAuth 2
      Authorization code: https://{your-auth-url}
      Client credentials
      Token URL: https://{your-bynder-domain}/v6/authentication/oauth2/token

Path parameters

file_idstring required
Example:00000000-0000-0000-0000-000000000000

The file ID retrieved from the prepare upload step.

chunk_numberinteger required

The number of the chunk being uploaded. The first chunk is 0.

Headers

Content-Type'application/octet-stream' required
Content-SHA256string required
Example:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

(calculated checksum of the file/ chunk)

Request body application/octet-stream

string binary required

Response

Chunk uploaded successfully

Changes

No recorded changes to this operation across all 1 revision of this API.