Authorization: ********************curl --location 'https://openapi-cn01.tange365.com/ai/aigcrtc/device/plugins' \
--header 'X-Tg-App-Id;' \
--header 'X-Tg-App-Id: {{app-id}}' \
--header 'X-Tg-Platform: {{platform}}' \
--header 'X-Tg-Platform: {{platform}}' \
--header 'X-Tg-Date: {{currentUTCTime}}' \
--header 'X-Tg-Date: {{currentUTCTime}}' \
--header 'X-Tg-Content-Sha256;' \
--header 'X-Tg-Content-Sha256;' \
--header 'Accept-Language: {{language}}' \
--header 'Accept-Language: {{language}}' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json'{
"code": 200,
"msg": "string",
"data": {
"items": [
{
"id": "plugin-001",
"app_id": "app-demo-001",
"name": "开灯",
"description": "string",
"action": "turn_on_light",
"input_params": [
{
"name": "brightness",
"type": "string",
"description": "亮度值,范围 0-100",
"default_value": "80",
"required": false,
"enum": [
"low",
"medium",
"high"
]
}
],
"return_params": [
{
"name": "brightness",
"type": "string",
"description": "亮度值,范围 0-100",
"default_value": "80",
"required": false,
"enum": [
"low",
"medium",
"high"
]
}
],
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}
]
}
}