Upload Script Points Chunk
Upload script points to the device in chunks for direct playback.
This endpoint is used internally by the server to stream pre-processed script points to devices. Points are sent in chunks with metadata for tracking and assembly.
The points use a time/position format where:
timeis in millisecondsposis in range [0..100) representing the position percentage
Maximum 100 points per device command (server handles chunking automatically).
Authorizations
Short-lived session token obtained from POST /api/sessions/v2.
Send it as Authorization: Bearer <session_token> together with the X-Device-Key: <device-key> header identifying the target device.
Headers
Device Key (4 BIP39 words) identifying the target device.
Obtain it from POST /device/otp/confirm/v2.
^[a-z]+-[a-z]+-[a-z]+-[a-z]+$"alpha-bravo-charlie-delta"
Body
Request body for uploading script points to the device.
Unique identifier for the script on the current device.
12345
Unique identifier for this upload session.
1
Sequence number of this chunk (starting from 0 or 1).
0
Array of script points to upload.
Total number of chunks in this upload session.
1
Total number of points in the script.
100
Response
OK
Standard success response.
Response message.
"ok"