Cognitive Systems WiFi Motion AppCloud API (v1-5-x)
The AppCloud APIs are used by mobile applications to communicate with the Cognitive Systems Infrastructure.
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/
https://docs.cognitivesystems.com/api/v1/
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/internal/search/{search_key}
https://docs.cognitivesystems.com/api/v1/internal/search/{search_key}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/internal/search/{search_key}'
[ { "first_name": "Jane", "last_name": "Doe", "email": "jane@gmail.com", "network_id": 185, "network_name": "3e362f", "user_count": 2, "external_id": 156, "token_timestamps": [], "online_status": true } ]
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/internal/users/search/{name}
https://docs.cognitivesystems.com/api/v1/internal/users/search/{name}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/internal/users/search/{name}?owner=true' \
-H 'Authorization: YOUR_API_KEY_HERE'
[ { "user_id": 3, "email": "cogcodeqa@mail.com", "first_name": "Dhruvin", "last_name": "V", "external_id": 156, "network_id": 3, "role": "owner" } ]
Request
This endpoint returns all network model stored in the app-cloud. Network models are stored in cache which can be made on-demand by setting ensure field to true. Default radius is 5km, if latitude and longitude is supplied with the request. Haversine Distance is used as distance metric to find networks.
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/internal/network_map
https://docs.cognitivesystems.com/api/v1/internal/network_map
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/internal/network_map?ensure=true&radius=0&latitude=0&longitude=0' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "id": 0, "name": "string", "created_at": "string", "updated_at": "string", "external_id": 0, "user_count": 0, "latitude": "string", "longitude": "string", "address": "string", "timezone": "string", "pet_size": "string", "building_type": "string", "building_size": "string", "live_enabled": true, "scene_id": 0 }