H Series OpenAPI Instructions
Home
ChineseVersion
Home
ChineseVersion
  1. Layers
  • Instructions
  • Error Codes
  • Change History
  • Devices
    • Read Device Detailed Information
      POST
    • Read Device Card Information
      POST
    • Read Device IP
      POST
  • Homepage
    • Read System Initialization Status
      POST
    • Read Video Server Address
      POST
  • Screen
    • Set Screen Gamma
      POST
    • Display Screen ID
      POST
    • Set Screen Brightness
      POST
    • Save Screen Brightness
      POST
    • Add Screens
      POST
    • Delete Screens
      POST
    • Read Screen Detailed Information
      POST
    • Query Screen List
      POST
    • Screen FTB
      POST
    • Set BKG
      POST
    • Set Freezing
      POST
    • Read Screen Not in Live Mode
      POST
    • Set 3D Effect
      POST
    • Set Screen Layout Information
      POST
    • Set Image OSD
      POST
    • Set Text OSD
      POST
    • Delete Multiple Screens
      POST
    • Rename Screens
      POST
  • Inputs
    • Read Input List
    • Read Detailed Information of Specified Inputs
    • Set Cropping
    • Delete
    • Edit Cropping
    • Set Resolutions
    • Set Timing
    • Create Input Groups
    • Sort Input Groups
    • Edit Groups
    • Delete Groups
    • Delete Input Sources by Groups
    • Import EDID
    • Rename
    • Create Signal Source Playlists
    • Read Signal Source Playlists
    • Edit Signal Source Playlist Information
    • Enable Signal Source Playlists
    • Delete Signal Source Playlists
  • Outputs
    • Set Image Quality
    • Set Gamma
    • Set Output Locating
    • Rename
    • Set Timing for 4K Output Card
    • Read Detailed Information
    • Read Output List
    • Se Output Timing
    • Set Output Resolutions
    • Set Areas Loaded by All-in-One Cards
  • Layers
    • Set Stream Pulling Rules for IPC Sources Only
      POST
    • Add Layers
      POST
    • Delete Layers
      POST
    • Read Layer List
      POST
    • Read Layer Details
      POST
    • Set Layer Basic Information
      POST
    • Read Layer Z-order
      POST
    • Set Layer Information
      POST
    • Clear Layers
      POST
    • Set Layer Z-order
      POST
    • Lock Layers
      POST
    • Change Layer Source Information
      POST
    • Freeze Layers
      POST
    • Open Layer Layouts
      POST
  • Presets
    • Create Presets
    • Delete Presets
    • Set Basic Information of Specified Presets
    • Load Presets
    • Read Detailed Information of Specified Presets
    • Clear Presets
    • Get Preset Group List
    • Create Preset Groups
    • Delete Preset Groups
    • Get Preset Group Enumeration
    • Play Preset Playlist
    • Read All Presets
    • Read Preset Playlist
    • Read Current Played Preset
    • Edit Preset Groups
    • Overwrite Presets
  • BKG
    • Create BKG
    • Delete BKG
    • Get BKG Detailed Information
    • Comprehensive Query
  • IPC
    • IPC Source List
    • Read Specified Data in IPC Source List
    • IP Camera List
    • Obtain IPC Source Channel List
    • Obtain Details of IPC Source Channel List
    • Details of IPC Mosaic Source Channel Data
    • Add IPC Sources
    • Delete IPC Sources
    • Rename IPC Sources
    • Change IPC Source Channels
    • Add IPC Source Channels
    • Delete IPC Source Channels
    • IPC Source Slot List
    • IPC Sources and Channels
    • Check IPC Source Names
    • IPC Source Group List
    • Create IPC Source Groups
    • Delete IPC Source Groups
    • Change IPC Groups
    • Delete IPC Source Group Nodes
    • IPC Mosaic Source List
    • Create IPC Mosaic Source Templates
    • Update IPC Mosaic Source Templates
    • Delete IPC Mosaic Source Templates
    • Apply IPC Mosaic Source Templates
    • Rename IPC Mosaic Sources
  1. Layers

Read Layer List

POST
/open/api/layer/detailList
Returned Data Field Description
"audioStatus": 
    "isAvailable": Whether the layer audio is available.
    "isOpen": When the layer audio is played.

"general": 
  "name": Layer name
  "zorder": Layer z-order
  "isFreeze": Freeze or not
  "flipType": Flip type (0: Normal, 1: Flip horizontally, 2: Flip vertically, 3: Flip horizontally and vertically)
  "isBackground": Whether the layer is set as the screen background.
  "sizeType": 0: SL, 1: DL, 2: 4K
  "type" Layer type (0: mix, 1: SL, 2: remapping)
  "lock": Lock or not

"reverseControl": Reverse control information
"ip": Reverse control IP
  "port": Reverse control port number

"source":
  "sourceType": Source type (0: No source, 2: Input, 3: IPC)
  "inputId": Input source ID (When the IPC source is used, 255 is passed in this field.)
  "cropId": Cropping ID (255 means that the original source is used.)
  "interfaceType": Interface type
  "connectCapacity" Connection capacity
"slotId": Slot ID
  "name": Source name

"window":
  "width": Width, unit: pixel
  "height": Height, unit: pixel
  "x": Horizontal initial position, unit: pixel
  "y": Vertical initial position, unit: pixel
  "lockRatio": Lock aspect ratio

Request

Body Params application/json

Example
{
    "body": {
        "screenId": 1,
        "deviceId": 0
    },
    "sign": "MjI0OGYzMGQwMjhlMmI4YTNmMjM2MjE3MjYzYTFkODg=",
    "pId": "1",
    "timeStamp": "1631949094265"
}

Request Code 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 POST '/open/api/layer/detailList' \
--header 'Content-Type: application/json' \
--data-raw '{
    "body": {
        "screenId": 1,
        "deviceId": 0
    },
    "sign": "MjI0OGYzMGQwMjhlMmI4YTNmMjM2MjE3MjYzYTFkODg=",
    "pId": "1",
    "timeStamp": "1631949094265"
}'

Responses

🟢200Successful
application/json
Body

Example
{
    "body": {
        "deviceId": 0,
        "screenId": 0,
        "screenLayers": [
            {
                "audioStatus": {
                    "isAvailable": 0,
                    "isOpen": 0
                },
                "deviceId": 0,
                "general": {
                    "flipType": 0,
                    "isBackground": false,
                    "isFreeze": false,
                    "layerId": 2,
                    "lock": 0,
                    "name": "Layer 3",
                    "sizeType": 0,
                    "type": 1,
                    "zorder": 1
                },
                "isExceedingLimit": false,
                "layerId": 2,
                "reverseControl": {
                    "ip": "",
                    "port": 18986
                },
                "screenId": 0,
                "source": {
                    "channelId": 65535,
                    "channelNum": 1,
                    "connectCapacity": 0,
                    "cropId": 255,
                    "decodeId": 255,
                    "decodeMode": 255,
                    "functionType": 0,
                    "hardwareType": 0,
                    "inputId": 10,
                    "interfaceType": 27,
                    "intfCapacity": 255,
                    "modelId": 31504,
                    "montageId": 0,
                    "name": "input 3-4-1",
                    "originalCropId": 0,
                    "originalInputId": 0,
                    "pullId": 65535,
                    "slotId": 2,
                    "sourceId": 0,
                    "sourceType": 1,
                    "streamId": 65535,
                    "streamIndex": 0,
                    "templateId": 65535,
                    "videoMode": 255
                },
                "window": {
                    "height": 1080,
                    "lockRatio": 0,
                    "width": 960,
                    "x": 3245,
                    "y": 1115
                }
            },
            {
                "audioStatus": {
                    "isAvailable": 0,
                    "isOpen": 0
                },
                "deviceId": 0,
                "general": {
                    "flipType": 0,
                    "isBackground": false,
                    "isFreeze": false,
                    "layerId": 0,
                    "lock": 0,
                    "name": "Layer 1",
                    "sizeType": 0,
                    "type": 1,
                    "zorder": 0
                },
                "isExceedingLimit": false,
                "layerId": 0,
                "reverseControl": {
                    "ip": "",
                    "port": 18986
                },
                "screenId": 0,
                "source": {
                    "channelId": 65535,
                    "channelNum": 1,
                    "connectCapacity": 0,
                    "cropId": 255,
                    "decodeId": 255,
                    "decodeMode": 255,
                    "functionType": 0,
                    "hardwareType": 0,
                    "inputId": 8,
                    "interfaceType": 27,
                    "intfCapacity": 255,
                    "modelId": 31504,
                    "montageId": 0,
                    "name": "input 3-3-1",
                    "originalCropId": 0,
                    "originalInputId": 0,
                    "pullId": 65535,
                    "slotId": 2,
                    "sourceId": 0,
                    "sourceType": 1,
                    "streamId": 65535,
                    "streamIndex": 0,
                    "templateId": 65535,
                    "videoMode": 255
                },
                "window": {
                    "height": 1080,
                    "lockRatio": 0,
                    "width": 960,
                    "x": 2285,
                    "y": 1115
                }
            }
        ]
    },
    "msg": "Success",
    "sign": "",
    "status": 0
}
Modified at 2025-10-23 10:18:23
Previous
Delete Layers
Next
Read Layer Details
Built with