-
-
Notifications
You must be signed in to change notification settings - Fork 14
API
This entry contains the api documentation.
GET Parameter "cmd" as command name
{"version":2,"battery":{"voltageFactor":67690,"voltageChargerFactor":71907,"minimalAdc":2400,"sleepMinutes":15},"buttonEars":{"longPressMs":1000,"veryLongPressMs":10000},"wifi":{"ssid":"","password":""}}
Contains the target directory path
{"files":[{"name":"CONTENT","size":0,"time":11942,"date":20662,"dir":true},{"name":"revvox","size":0,"time":39661,"date":20661,"dir":true},{"name":"initsd.crc","size":5123,"time":0,"date":33,"dir":false},{"name":"hackiebox.config.json","size":228,"time":23491,"date":20665,"dir":false}]}
Contains the target file path
Ignore bytes until [start]
Read max [length] bytes
Raw filestream
Contains the target file path
Ignore bytes until [start]
Read max [length] bytes
Raw filestream
Full [source] file path
Full [target] file path
404 or { "success": true }
Full [source] file path
Full [target] file path
404 or { "success": true }
Full [filepath]
404 or { "success": true }
Full [dir] file path
404 or { "success": true }
Full [source] file path
Full [target] file path
404 or { "success": true }
Full [source] dir path
Full [target] dir path
404 or { "success": true }
Full [dir]
404 or { "success": true }
Standard POST file upload. Attention, only one upload at once supported or you may get corrupt files!
Specifies the target file path.
Enable to allow overwriting files
Skip bytes until [start]
Upload file to sd card.
Upload file to flash