Cognitive Systems WiFi Motion App-Cloud API (v1-5-x)

App Cloud APIs are used by mobile applications.

Download OpenAPI description
Languages
Servers
Mock server

https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/

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

Overview

Operations

Out of Box

Operations

Logging In

Operations

Geofencing

Operations

Geofencing Event (iOS)

Request

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

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/app-cloud/v1-5-x/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": [ { … } ] }

Geofencing Event (Android)

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.

Bodyapplication/json
network_idinteger>= 0
is_arrivingbooleanrequired
timestampnumberrequired
curl -i -X POST \
  https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/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": [ { … } ] }

Account Management

Operations

Network Settings

Operations

Sounding v2

Operations

Events, History, and Visualizations

Operations

Household Insights [BETA]

Operations

Zone Priority [BETA]

Operations

Universal Alerting

Operations

Meta

Operations

Administration

Operations