get-reject-devs

Use the interface to obtain the rejected device list.

Only available for users with administrative rights.

You can delete the rejected device by using the following interface:

Prototype

Protocol HTTP/HTTPS GET
URL ip[:port]/sc_cloud/scapi/get-reject-devs
Data Format Response: Content-Type: application/json

Request Cookies

Parameter Description
mwcloud-sid A string value that is used to uniquely identify user logged-in.
mwcloud-uid Current logged-in username.

Request Example

GET /sc_cloud/scapi/get-reject-devs HTTP/1.1
Accept: application/json, text/plain, */*
Cookie: mwcloud-sid=OCXWUMGEYPGIAWWOETYXPNMVHDZIAZJP; mwcloud-uid=Admin;

Response Parameters

Response Header
Parameter Description
Content-Type Value: 'application/json; charset=UTF-8'
Response Body
Parameter Description
result Result code. The options are as follows:
  • 0: success.
  • Other values. For details about the result codes, please refer to API Status.
reject-devs Rejected device list.
reject-devs
Parameter Description
catalog-id Group id
sn serial number
module Indicates Product family name.
0 indicates all devices.
dev-warning A number greater than 0 indicates the device has warning(s). The value and mask value in Status Mask of Abnormal Device perform binary logic "and" operator. There might be multiple warnings.
For example, if (dev-warning & 0x01)=== 0x01, means the device has no signal.
is-everyone Whether the device is available for all users. 0: no; 1: yes.
users Operators of the current device when the value of "is-everyone" is 0.
apply-date Time of applying to join the cloud.
online-date Device online state. A number greater than 0 indicates the device is online, otherwise it is offline.
is-upload-file Whether the device is uploading the firmware. 1 indicates it is uploading. Otherwise, it is not.
upload-file-pos The upload process in percentage.
status Information of hosted device.
status
Parameter Description
name Device name.
product-id Product model ID in hex.
module-name Product family name.
hardware-ver Product hardware version.
firmware-ver Product firmware version.
up-time Equipment uptime in seconds.
cur-status Current device status mask refers to Status Mask of Abnormal Device.
eth Ethernet IP.
wifi WI-FI IP.
rndis USB RNDIS IP.
upgrade-ret Firmware update status code refers to API Status Code.
Update usage refers to update procedures.
upgrade-step Current process of the firmware update procedure, there are 4 steps in total.
upgrade-percent Update process in percentage.

Response Example

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "result": 0,
  "reject-devs": [
    {
      "catalog-id": 0,
      "sn": "A305200908004",
      "module": 2,
      "dev-status": 1,
      "network": "",
      "is-upgrade": 0,
      "users": null,
      "is-everyone": 1,
      "apply-date": 1635152956,
      "online-date": 1635211116804,
      "offline-date": 1635165703,
      "cpu": [],
      "mem": [],
      "net": [],
      "net2": [],
      "net3": [],
      "sid": "681042eca9234d40455259395c1b608e",
      "is-upload-file": 0,
      "upload-file-pos": 0,
      "dev-warning": 0,
      "status": {
        "name": "Ultra Encode A305200908004",
        "product-id": 773,
        "module-name": "Ultra Encode SDI",
        "hardware-ver": "A",
        "firmware-ver": "1.3.484",
        "conn-ip": "",
        "up-time": 85854,
        "eth": "10.10.8.36",
        "sd-total": 0,
        "cur-status": 64,
        "wifi": "",
        "input": "1920x1080p, 60.00 Hz",
        "output": "",
        "usb-total": 0,
        "usb-free": 0,
        "usb-used": 0,
        "usb-status": 0,
        "usb-usage": 0,
        "sd-free": 0,
        "sd-used": 0,
        "sd-status": 0,
        "sd-usage": 0,
        "rec-codec": "1920x1080, By Input, 16384 Kbps",
        "rec-sec": 0,
        "rec-kbps": 0,
        "live-codec": "1280x720, 30.00, 1024 Kbps",
        "live-sec": 0,
        "live-kbps": 0,
        "ndi-connected": false,
        "ndi-url": "",
        "ndi-enabled": false,
        "rndis": "",
        "ndi-name": "",
        "ndi-video-width": 0,
        "ndi-video-height": 0,
        "ndi-video-scan": "",
        "ndi-video-field-rate": 0,
        "ndi-audio-sample-rate": 0,
        "ndi-audio-channels": 0,
        "ndi-audio-bit-count": 0,
        "upgrade-ret": 27,
        "upgrade-step": 0,
        "upgrade-percent": 0,
        "usb-option": 0,
        "sd-option": 0,
        "CPUStatus": 23,
        "NetStatus": 279440,
        "MemStatus": 37,
        "Net2Status": 0,
        "Net3Status": 0
      }
    }
  ]
}

results matching ""

    No results matching ""

    results matching ""

      No results matching ""