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/
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.
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/node
- https://docs.cognitivesystems.com/api/v1/node
- 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/node \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"friendly_name": "string",
"location": "string",
"network_id": 0,
"node_id": 0
}'Path
You can delete a single node from the network by specifying the integer value of the node which can be obtained using the Get Client State endpoint. If you want to delete all nodes within the network, then you can specify the string all.
integer: Attempts to delete a single node from the networkall: Attempts to delete all nodes within the network
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/node/{node_id}
- https://docs.cognitivesystems.com/api/v1/node/{node_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/node/{node_id}'- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/networks/{id}
- https://docs.cognitivesystems.com/api/v1/networks/{id}
- 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/{id}?expand=network_scene_config' \
-H 'Authorization: YOUR_API_KEY_HERE'