Skip to main content
POST
Write Byte Range

Authorizations

Authorization
string
header
required

ZeroDrive Personal API Key (zdk_), device token, or OAuth 2.0 Bearer token

Body

application/json
path
string
required
Example:

"bin/blob.bin"

content_base64
string
required

Base64-encoded payload (<= 64 KiB).

offset
integer
default:0
Required range: x >= 0
truncate
boolean
default:false
expected_revision
integer
drive_id
string
default:primary

Response

Updated file revision and size

The response is of type object.