Configuration Files
Retrieves a list of available files.
You can retrieve a list of configuration or supplementary of files for an account.
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.
Query Parameters
distributionType*string
Filter the distributionType to only retrieve files for a specific distribution type.
Response Body
application/json
application/json
curl -X GET "https://example.com/fota/v2/files/0402196254-00001?distributionType=HTTP"{ "AvailableFilesResponse": [ { "fileName": "configfile-Verizon_VZW1_hello-world.txt", "fileVersion": "1.0", "releaseNote": "Hello world initial file", "make": "Verizon", "model": "VZW1", "localTargetPath": "/VZWFOTA/hello-world.txt", "distributionType": "HTTP", "devicePlatformId": "IoT" } ]}Get check-in history for the device specified GET
Check-in history can be retrieved for any device belonging to the account, not necessarily with logging enabled.
Uploads a configuration supplementary file for an account. POST
Uploads a configuration/supplementary file for an account. ThingSpace generates a fileName after the upload and is returned in the response.

