# Get Screen Brightness

This API can be used to get the brightness of a specified screen.

# API Path

{CLTPlatform-ip}:8086/processor/getBrightness

  • Replace {CLTPlatform-ip} with the corresponding IP address.
  • The request port is 8086.

# Protocol

HTTP

# Method

POST

# Request Parameters

  • Set the Content-Type of the request body to application/json.
Parameter Name Description Required Type Data Dictionary Restriction Example
command Command type Yes [string] processor/getBrightness
data Data Yes [object]
data>>index Sender index (starts from 0) Yes [int]
data>>groupIndex Screen group index (0~screenGroupCount-1) Yes [int]

# Request Example

{
    "command": "processor/getBrightness",
    "data": {
        "index": 0,
        "groupIndex": 0
    }
}

# Response

Parameter Name Description Required Type Data Dictionary Restriction Example
command Command type Yes [string] processor/getBrightness
code Status code Yes [int] 20000
message Message Yes [string] Common_Success
data Data Yes [object]
data>>brightness Brightness (0~100) Yes [int] 100

# Response Example

{
    "command": "processor/getBrightness",
    "code": 20000,
    "message": "Common_Success",
    "data": {
        "brightness": 100
    }
}

# Detailed Description