v1

latestOpenAPI 3.1.02026-07-24440202.2 KB

Step 4: Upload each asset chunk

Use one API call per asset chunk to upload all chunks to Orange Logic

post/item/26_v1/{uploadItemId}

Headers

Content-Typestring required

The <code>multipart/form-data</code> header parameter is required for this call.

Request body

uploadItemIDstring required

<code>uploadItemId</code> or <code>UIRecordID</code> of the upload item created in the <a href= "https://developer.orangelogic.com/reference/register-upload-assets">Register upload assets</a> section. Use this ID to identify the file chunk uploaded with this call as part of its parent asset.

startinteger

Starting position (in bytes) of the chunk. Must be a <code>multiple of 131072</code> (for example, 131072, 262144, etc.).

endinteger

Ending position (in bytes) of the chunk (inclusive). Must be: <code>(multiple of 131072) - 1</code> (for example, 131071, 262143...), except for the last chunk of the file. For the last chunk of the file, this value is the total asset length - 1.

totalLengthinteger

Size of the full asset in bytes.

md5string

Md5 hash of the chunk.

partNumberinteger

1-base part number for cloud upload, required if using cloud buffer bucket.

datastring binary

File chunk.

Response

200

object required