Obtain the no-signal images

1.API Description

This API is used to obtain the information of no signal images.

  • id is unique and is a preset constant value, which cannot be modified. For example, if there are 3 no-signal images in the device, the id can be defined as no_signal_1, no_signal_2, and no_signal_3.
  • type is reserved for extension. For no-signal images, the type is "simple".

Request mode: GET/POST [ip]/api/resource/image/get

Administrator Rights Logged-in
No Yes

2. Input Parameters

Name Type Description
id String Image ID
type String Reserved.

3. Output Parameters

Name Type Description
status Integer Status code
code String Status description.
data struct Refer to the image information.

Image Information

Name Type Description
id String Image ID
type String Type, optional, reserved for future extension.
path String Image path.
is_default Boolean Whether it is the default image, valid values: true/false.

4. Example

Obtaining the information of the no-signal screen image.

Input Example
{
    "id": "no_signal_1",
    "type": "simple"
}
Output Example
{
    "status": 0,
    "code": "Success",
    "data": {
        "id": "no_signal_1",
        "type": "simple",
        "path": "/static/img/no_signal.png",
        "is_default": true
    }
}

5. Error Code

No error code related to the API business logic. For other error codes, see Common Error Codes.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""