Get Available Firmwares

Retrieves the firmwares that can be used when upgrading phones, filtered by vendor and model, with pagination.

Request URL

POST {base_url}/uc-cautop/api/v1/firmwares/options

Request parameters

Headers
Parameter Required Type Description
Authorization Yes String The access token used for authentication.

Format: Bearer {access_token}.

x-tenant-code Yes String The tenant name.
Note: You can obtain tenant name using the Query Tenants interface.
Body parameters
Parameter Required Type Description
pageNumber Yes Integer The page number to retrieve.
pageSize Yes Integer The number of records to retrieve per page.
vendor No String The vendor identifier to filter firmwares by. If omitted, firmwares of all the vendors are returned.
model No String The model to filter firmwares by. If omitted, firmwares of all the models are returned.

Response parameters

Parameter Type Description
requestId String The unique ID of the request, which can be used to quickly locate the request.
code String The HTTP status code of the request.
  • 200: Request succeeded.
  • Non-200 value: Request failed.
message String The status message of the request.
detailMessage String The detailed error information.

When the request is successful, this parameter returns empty.

result Object<Firmware_Options> The list of available firmwares.
Firmware_Options
Parameter Type Description
pageSize Integer The number of records per page.
pageNumber Integer The current page number.
count Integer The total number of firmwares that match the filter conditions.
items Array<Firmware_Option> The list of available firmwares.
Firmware_Option
Parameter Type Description
id String The ID of the firmware.
firmwareVersion String The firmware version.
vendor String The vendor identifier of the phone.
model String The model of the phone.
remark String The remark of the firmware.

Example

Request example

POST /uc-cautop/api/v1/firmwares/options HTTP/1.1
Host: api.cn.novoone.com
Authorization: Bearer eyJraWQiOiJjbi0wLWtleS0xIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJkaXN0cmlidXRvcmV4YW1wbGVAb3V0bG9vay5jb20iLCJncmFudF90eXBlIjoib3BlbmFwaSIsImNsaWVudF9leHQiOnsiZGVzY3JpcHRpb24iOiLnrKzkuInmlrnlkIjkvZzkvJnkvLTlupTnlKgiLCJwYXJ0bmVyIjoi56S65L6L5ZCI5L2c5LyZ5Ly0In0sImNsaWVudF90eXBlIjoib3BlbmFwaSIsImV4cCI6MTc5MDc3MTk2MywiaWF0IjoxNzkwNzUwMzYzLCJqdGkiOiI3MTVhMTMwMC03NzQzLTQ2NzAtYjJjYS1hOWY3ZGM5NjcyYTkiLCJjbGllbnRfaWQiOiJub3ZvLW9wZW4tcGxhdGZvcm0iLCJ1c2VyX2V4dCI6eyJyb2xlSWRzIjpbM10sInN0eXBlIjoiQURNSU4iLCJ0ZW5hbnRDb2RlIjpudWxsLCJ0eXBlIjoiUF9BQ0NPVU5UIiwidXNlcklkIjozMDc2OTEzNjQ0OTE1OTk4NzIwLCJlbWFpbCI6ImRpc3RyaWJ1dG9yZXhhbXBsZUBvdXRsb29rLmNvbSIsInVzZXJuYW1lIjoiZGlzdHJpYnV0b3JleGFtcGxlQG91dGxvb2suY29tIiwidWNJZCI6MzA3NjkxMzY0NDg5MDgzMjg5Nn19.z7HIcw9cCZfV0yaUi2TsRUxLZC-LxJtopsml5vCEyl0-Cs7phmyjrpu0ay0iS0rXvWij0KZSMQmwNTKpqnfhNM3LNaZFTVgJ4-5cN_A5YG827mmCkcpH-n4GPZK8PR8L6iIg-IMpH9GaFxrOEFRjOCMDYpgjz4O3-1xWUNMDI1-1JMxIzG4Vfukt6_-xyOqJ6AYhnNvSjpY_bcRggIk06gsdAXi2JdiyPCYJlEWuYq4MXc3izREPFNZQMQNFuIDD0njyYhkmSTH3oijQ4UYWnUDXWmzTHWejo86UEbhXV-xPJSPwMP1zBhbNx7OU5_1adZ5mM26YffxD9bix5ccUPQ
Content-Type: application/json
x-tenant-code: jint
{
  "pageNumber": 1,
  "pageSize": 10
}

Response example

HTTP/1.1 200 OK
{
  "requestId": "6069baa099e77eb1da6688b05d3fe44d",
  "code": "200",
  "message": "SUCCESS",
  "detailMessage": "",
  "result": {
    "pageSize": 10,
    "pageNumber": 1,
    "count": 0,
    "items": []
  }
}