Configuration Files

Retrieves a list of available files.

GET
/fota/v2/files/{acc}

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"    }  ]}