App Cloud APIs are used by mobile applications.
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/
https://docs.cognitivesystems.com/api/v1/
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/node
https://docs.cognitivesystems.com/api/v1/node
curl -i -X PUT \
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/node \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"friendly_name": "string",
"location": "string",
"network_id": 0,
"node_id": 0
}'
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/networks/{id}
https://docs.cognitivesystems.com/api/v1/networks/{id}
curl -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/networks/{id}?expand=network_scene_config' \
-H 'Authorization: YOUR_API_KEY_HERE'
To update the timezone, only pass timezone
in the request body:
{ "timezone": "Europe/Warsaw" }
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/networks/{id}
https://docs.cognitivesystems.com/api/v1/networks/{id}
curl -i -X PUT \
'https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/networks/{id}?expand=string' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"address": "string",
"latitude": 0,
"longitude": 0,
"timezone": "string",
"pet_size": "string",
"scene_id": 0,
"building_type": "string",
"building_size": "string",
"live_enabled": true,
"id": 0
}'
{ "id": 0, "address": "string", "building_size": "string", "building_type": "string", "latitude": "string", "longitude": "string", "live_enabled": true, "name": "string", "pet_size": "string", "timezone": "string", "user_count": 0, "created_at": "string", "updated_at": "string", "external_id": 0, "scene_id": 0, "present_count": 0, "claimed": true, "network_scene_config": {}, "owner_email": "string", "subscription_id": "string" }