Plum / developers
REST APIDevice

Upload device chunk bytes

Upload raw chunk bytes with Content-Type: application/octet-stream. The acknowledgement uses the response representation selected by Accept. Requires a provisioned, verified mTLS device client certificate and an account binding. Set Accept to application/json or application/cbor for the response; omitted or wildcard Accept selects JSON. See [Devices](/docs/devices).

PUT/device/chunks/{id}/content

Path Parameters

id*string
Formatuuid

Header Parameters

X-API-Version?"1"

Send 1 to pin the documented API contract. If omitted, the latest version is selected.

Default"1"

Value in

  • "1"

Request Body

application/octet-stream

TypeScript Definitions

Use the request body type in TypeScript.

body*file
Formatbinary

Response Body

curl -X PUT "https://example.com/device/chunks/497f6eca-6276-4993-bfeb-53cbbbba6f08/content" \  -H "X-API-Version: 1" \  -H "Content-Type: application/octet-stream" \  --data-binary @upload.bin
{  "success": true,  "data": {    "chunk_id": "55e808e1-8ddc-49f1-92c9-6bbdcdff1c83",    "etag": "string"  }}