Skip to main content
POST
JavaScript
path is the destination directory, not the full file path — the file is written there under its original uploaded filename. Uploading report.pdf with path=/sdcard/Download creates /sdcard/Download/report.pdf.
Upload to shared storage such as /sdcard/Download. File access runs without root, so protected system paths are not writable and the upload fails.

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Headers

X-Device-Display-ID
integer<int64>
default:0
Required range: x >= 0

Path Parameters

deviceId
string
required

Query Parameters

path
string
required

Body

multipart/form-data
file
file
required

Response

No Content