Skip to content

Cognitive Systems App Cloud API

The AppCloud APIs are used by mobile applications to communicate with the Cognitive Systems Infrastructure.

Download OpenAPI description
Languages
Servers
Mock server

https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/

https://docs.cognitivesystems.com/api/v1/

Operations
Operations
Operations
Operations

Request

Endpoint used by Wifi Motion App to report user location and, if enabled, auto update network scene settings.

Security
Authorization
Bodyapplication/json
presence_eventsArray of objects
Example: [{"networkId":28,"timestamp":1598910716.216094,"is_arriving":false}]
network_idinteger
Example: 28
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
  }'

Responses

Bodyapplication/json
failuresArray of strings
Example: [{"timestamp":1603895421.6,"is_arriving":false,"network_id":2}]
Response
application/json
{ "failures": [ { … } ] }

Request

Endpoint used by Wifi Motion App to report user location and, if enabled, auto update network scene settings. Similiar to #endpoint:nm5iMgP7mKxZPTRE5 but only sends one location update instead of multiple.

Security
Authorization
Bodyapplication/json
network_idinteger>= 0
is_arrivingbooleanrequired
timestampnumberrequired
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
  }'

Responses

Bodyapplication/json
failuresArray of objects
Response
application/json
{ "failures": [ { … } ] }
Operations
Operations
Operations

Events, History, and Visualizations

Operations
Operations
Operations
Operations
Operations
Operations