Configuration Files
Uploads a configuration supplementary file for an account.
Uploads a configuration/supplementary file for an account. ThingSpace generates a fileName after the upload and is returned in the response.
Authorization
thingspace_oauth VZ-M2M-Token AuthorizationBearer <token>
This is the ThingSpace token, from Credentials and Tokens is used
In: header
VZ-M2M-Token<token>
M2M Session Token (How to generate an M2M session token?)
In: header
Path Parameters
acc*string
Account identifier.
Request Body
multipart/form-data
fileupload?unknown
The file to upload.
fileVersion?string
Version of the file.
make?string
The software-applicable device make.
model?string
The software-applicable device model.
localTargetPath?string
Local target path on the device.
Response Body
application/json
application/json
curl -X POST "https://example.com/fota/v2/files/0402196254-00001"{ "fileName": "hello-world.txt", "fileVersion": "1.0", "launchDate": "2020-08-31", "releaseNote": "note", "model": "Model-A", "make": "Verizon", "distributionType": "HTTP", "devicePlatformId": "IoT", "localTargetPath": "IoT"}
