播放盒-EN
  1. Receiving card-related
播放盒-EN
  • API access guide
  • Common Error Codes
  • FAQ
  • User-related
    • Log in to devices
      POST
    • Log out of the device
      DELETE
    • Change user information
      PUT
  • System control-related
    • Screenshot
      GET
    • Restart the device immediately
      POST
    • Obtain device restart schedules
      GET
    • Schedule device restarts
      POST
    • Set time
      POST
    • Install apps
      PUT
    • Obtain time
      GET
    • Factory reset
      PUT
    • Obtain terminal information
      GET
    • Obtain volume
      GET
    • Set volume
      POST
    • Upgrade the device
      PUT
    • Check local upgrade status
      GET
  • Screen control-related
    • Receiving card-related
      • Obtain receiving card connection information
        GET
      • Obtain receiving card monitoring information
        POST
      • Obtain basic information of the receiving card
        POST
      • Configure the screen via receiving card configuration (send .rcfgx file)
        POST
      • Configure the screen via receiving card configuration (send .scr file)
        POST
      • Upgrade the receiving card
        PUT
      • Obtain the receiving card upgrade progress
        GET
    • Send Card-related
      • Obtain the basic Information of the sending card
    • Obtain screen brightness
      GET
    • Set screen brightness
      POST
    • Obtain screen status
      GET
    • Set screen status
      POST
    • Obtain screen-on/off schedules
      GET
    • Set screen-on/off schedules
      POST
    • Set brightness adjustment schedules
      POST
    • Obtain brightness adjustment schedules
      GET
  • General capabilities
    • Upload files
    • Download files
  • Serial port control
    • Activate RS-485 serial communication
    • Check RS-485 serial port status
  • Board relays
    • Obtain relay information
    • Set relay information
  1. Receiving card-related

Obtain the receiving card upgrade progress

Developing
GET
/terminal/core/v1/receivecard/upgrade/status
Last modified:2024-12-13 08:16:20
This interface is used to obtain the upgrade progress of the receiving card.

Request

Header Params
Authorization
string 
optional
Default:
1724333189506EO5Zqpduu4+azwYYXMJJhg==

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://192.168.0.10:16674/terminal/core/v1/receivecard/upgrade/status' \
--header 'Authorization: 1724333189506EO5Zqpduu4+azwYYXMJJhg=='

Responses

🟢200成功
application/json
Body
code
integer 
required
Status code
message
string 
required
Detailed description
data
object 
required
totalLists
integer 
required
Total number of upgrade lists
listIndex
integer 
required
Current upgrade position
Starts from 0
portIndex
integer 
required
Ethernet port number
Output port number
Starting from 0, all are 255
connectedIndex
integer 
required
Receiving card number
Number of the receiving card connected to the output port
Starting from 0, all are 65535
totalFiles
integer 
required
Total number of upgrade files
fileIndex
integer 
required
Upgrade file position
Starting from 0
fileLabel
string 
required
Upgrade file type
Generally, there are four types of upgrade files: MCU, FPGA, FONT, and Table
START means that the upgrade is being prepared.
Note: If there are other types, refer to the type parameter FileLabel in the receiving card upgrade folder config.xml.
fileProcess
integer 
required
Upgrade progress (percent) of the upgrade file
Example
{
  "code": 0,
  "message": "",
  "data": {
    "totalLists": 2,
    "listIndex": 0,
    "portIndex": 0,
    "connectedIndex": 255,
    "totalFiles": 4,
    "fileIndex": 2,
    "fileLabel": "FPGA",
    "fileProcess": 55
  }
}
Previous
Upgrade the receiving card
Next
Obtain the basic Information of the sending card
Built with