post
https://gss-dev.aylanetworks.com/groupsceneservice/v1/collections//devices_collections.json
Use this API to add devices or child collections to already exiting collection.
A collection is a group of things. In smart home concept, a collection can represent a Household, Home, Room, or an Apartment.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
{
"devices": [
{
"dsn": "TESTDSN_876581_000"
},
{
"dsn": "TESTDSN_292527_000"
}
],
"child_collections": [
{
"collection_uuid": "3378223c-b1b8-4ce7-916a-158602901869"
}
]
}{
"devices": [
{
"dsn": "TESTDSN_763168_004",
"states": [
{
"property_name": "integer_output_tp1",
"base_type": "integer",
"property_value": 1008
},
{
"property_name": "string_input_tp1",
"base_type": "string",
"property_value": "OK"
}
]
},
{
"dsn": "TESTDSN_177487_002",
"states": [
{
"property_name": "integer_input_tp",
"base_type": "integer",
"property_value": 1008
},
{
"property_name": "decimal_input_tp",
"base_type": "decimal",
"property_value": 1008.1008
}
]
}
],
"child_collections": [
{
"collection_uuid": "e12553f2-2280-4340-938f-fd813bd3d49d",
"states": [
{
"property_name": "integer_output_tp1",
"base_type": "integer",
"property_value": 1008
},
{
"property_name": "string_input_tp1",
"base_type": "string",
"property_value": "OK"
}
]
}
]
} 400Bad Request
401Unauthorized
404Not Found
422Unprocessable Entity

