GET /software/{acc}
Allows you to retrieve a list of available software for your account.
GET https://thingspace.verizon.com/api/fota/v2/software/{acc}
Parameter Name | Data Type | Description |
---|---|---|
acc required |
string | Account identifier. |
distributionType (query) |
string | Filter to retrieve only a specific type of software. Valid values include:
|
The request header must contain a current ThingSpace authorization token and a current VZ-M2M-session token.
Parameter Name | Data Type | Description |
---|---|---|
Authorization required |
string | HTTP Authorization request header containing a valid Bearer token. |
VZ-M2M-Token required |
string | A valid session token returned by a Connectivity Management POST /session/login request. |
None
Request a list of available software for your account.
curl https://thingspace.verizon.com/api/fota/v2/software/0402196254-00001 -H 'Authorization: Bearer $AUTH_TOKEN' -H 'VZ-M2M-Token: $M2M_TOKEN'
Status 200
Parameter Name | Data Type | Description |
---|---|---|
softwareName | string | The software name. |
launchDate | string($date) | The software launch date. |
releaseNote | string | Software release note reserved for future use. |
model | string | Software device model. |
make | string | Software device make. |
distributionType | string | The distribution type. Valid values include:
|
devicePlatformId | string | The platform (Android, iOS, IoT, for example) that the software can be applied to. |
An array of software for your account is returned in the response.
[
{
"software":"FOTA_Verizon_Model-A_02To03_HF",
"launchDate":"2020-08-31 00:00:00 +0000 UTC",
"releaseNote":"",
"model":"Model-A",
"make":"Verizon",
"distributionType":"HTTP",
"devicePlatformId": "IoT"
}
]
Status 400
All error messages are returned in this format:
{
"errorCode": "error code string",
"errorMessage": "error message string"
}
Error codes and messages are listed on the Error Messages page, along with explanations and suggestions for corrective actions.