Firmware V1

Get information about a firmware upgrade

GET
/fota/v1/upgrades/{accountName}/upgrade/{upgradeId}

Returns information about a specified upgrade, include the target date of the upgrade, the list of devices in the upgrade, and the status of the upgrade for each device.

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

accountName*string

Account identifier in "##########-#####".

upgradeId*string

The UUID of the upgrade, returned by POST /upgrades when the upgrade was scheduled.

Response Body

application/json

application/json

curl -X GET "https://example.com/fota/v1/upgrades/0242078689-00001/upgrade/e3a8d88a-04c6-4ef3-b039-89b62f91e962"
{  "id": "60b5d639-ccdc-4db8-8824-069bd94c95bf",  "accountName": "0402196254-00001",  "firmwareName": "FOTA_Verizon_Model-A_01To02_HF",  "firmwareTo": "VerizonFirmwareVersion-02",  "startDate": "2018-04-01",  "status": "Queued",  "deviceList": [    {      "deviceId": "900000000000002",      "status": "Device Accepted",      "resultReason": "success"    },    {      "deviceId": "900000000000003",      "status": "Device Accepted",      "resultReason": "success"    }  ],  "endDate": "2018-04-05"}