{
"": {
"id": 0,
"type": 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
}
}
curl --location --request POST '/api/v1/things/schema/common/create' \
--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 '{
"": {
"id": 0,
"type": 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
}
}'
{
"code": "200",
"msg": "string"
}