{
"page": {
"page": 0,
"size": 0,
"orders": [
{
"field": "string",
"sort": 0
}
]
},
"productID": "string",
"deviceName": "string",
"type": 0,
"types": [
0
],
"tag": 0,
"identifiers": [
"string"
],
"name": "string",
"isCanSceneLinkage": 0,
"funcGroup": 0,
"userPerm": 0,
"propertyMode": "string",
"controlMode": 0,
"withProductSchema": true
}
curl --location --request POST '/api/v1/things/device/schema/index' \
--header 'Ithings-Project-Id: {{Ithings-Project-Id}}' \
--header 'Ithings-Token: {{iThings-token}}' \
--header 'app-code: {{appCode}}' \
--header 'device-id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"page": {
"page": 0,
"size": 0,
"orders": [
{
"field": "string",
"sort": 0
}
]
},
"productID": "string",
"deviceName": "string",
"type": 0,
"types": [
0
],
"tag": 0,
"identifiers": [
"string"
],
"name": "string",
"isCanSceneLinkage": 0,
"funcGroup": 0,
"userPerm": 0,
"propertyMode": "string",
"controlMode": 0,
"withProductSchema": true
}'
{
"code": "200",
"msg": "string",
"data": {
"list": [
{
"productID": "string",
"deviceName": "string",
"type": 0,
"tag": 0,
"identifier": "string",
"extendConfig": "string",
"name": "string",
"desc": "string",
"required": 0,
"affordance": "string",
"isCanSceneLinkage": 0,
"funcGroup": 0,
"userPerm": 0,
"isHistory": 0,
"isPassword": 0,
"order": 0,
"controlMode": 0
}
],
"page": 0,
"pageSize": 0,
"total": 0
}
}