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
Request
Endpoint used by Wifi Motion App to report user location and, if enabled, auto update network scene settings.
Security
Authorization
Example: [{"networkId":28,"timestamp":1598910716.216094,"is_arriving":false}]
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/bulk_user_presences
- https://docs.cognitivesystems.com/api/v1/bulk_user_presences
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/bulk_user_presences \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"presence_events": [
{
"networkId": 28,
"timestamp": 1598910716.216094,
"is_arriving": false
}
],
"network_id": 28
}'Response
application/json
{ "failures": [ { … } ] }
Request
Endpoint used by Wifi Motion App to report user location and, if enabled, auto update network scene settings. Only sends one location update instead of multiple.
Security
Authorization
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/user_presences
- https://docs.cognitivesystems.com/api/v1/user_presences
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/user_presences \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"network_id": 0,
"is_arriving": true,
"timestamp": 0
}'Response
application/json
{ "failures": [ { … } ] }