The App Cloud APIs expose the Core API endpoints, but with the addition of adding per user authentication and authorization. For example, you may choose to build with App Cloud APIs when developing for a mobile platform.
Cognitive Systems App Cloud API
Download OpenAPI description
Languages
Servers
Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/
https://docs.cognitivesystems.com/api/v1/
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/scenes
- https://docs.cognitivesystems.com/api/v1/scenes
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/scenes \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"scene_id": 1
}'- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/networks
- https://docs.cognitivesystems.com/api/v1/networks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/networks?page=1&expand=string' \
-H 'Authorization: YOUR_API_KEY_HERE'Bodyapplication/json
Example: [{"id":19,"name":"Test Network 1","created_at":"2020-11-17T18:40:34.936Z","updated_at":"2020-11-17T18:42:16.096Z","external_id":21,"user_count":1,"latitude":"0.0000000","longitude":"0.0000000","address":"","timezone":"Etc/GMT","pet_size":"none","building_type":"bungalow","building_size":"small","live_enabled":true,"scene_id":4,"owner_email":"cb549858-e70e-4359-81bf-3003f32ca071@wifimotion.ca","present_count":1,"claimed":true,"network_scene_config":19}]
Response
application/json
{ "data": [ { … } ] }
Bodyapplication/json
The term Friendly Name, also known as friendly_name, refers to a name that is easy for the end user to understand. For example, if referring to a location, it is easier for an end user to refer to a location as "Bedroom" rather than the mac address of the device that is located in the bedroom.
Set as empty string to specify mobile device. Can also use 'mobile' boolean field to do this.
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/leaf
- https://docs.cognitivesystems.com/api/v1/leaf
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/leaf \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"friendly_name": "string",
"location": "string",
"mac_address": "string",
"network_id": 0,
"auto": "1",
"mobile": true
}'