- README
- Update Record
- token
- customer
- device
- fence
- push
- video
- alarm
- audio
- gallery
- fleet
- gps
- Protocol AnalysisPOST
expandInfoByDeviceId
Singapore
Singapore
POST
/v2/openapi/device/expand/info
Request
Header Params
Authorization
string
required
Body Params application/json
deviceId
string | null
required
Example
{
"deviceId": "string"
}
Request 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 'https://mettahub.mettaxiot.com/gps/v2/openapi/device/expand/info' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceId": "string"
}'
Responses
🟢200Success
application/json
Body
code
integer | null
optional
data
object (ApiDeviceExpandConfigVO)
optional
id
string | null
optional
channelName
string | null
optional
"[{"id":1,"name":"CH1"},{"id":2,"name":"CH2"},{"id":3,"name":"CH3"},{"id":4,"name":"CH4"}]"
Channel 1, channel 2, channel 3, channel 4 are denoted respectively
msg
string | null
optional
Example
{
"code": 0,
"data": {
"id": "",
"channelName": ""
},
"msg": ""
}
Modified at 2024-11-27 03:18:03