App Cloud APIs are used by mobile applications.
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/
https://docs.cognitivesystems.com/api/v1/
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 -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 } ]
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 -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" } ]
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.
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 -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/internal/network_map?ensure=true&latitude=0&longitude=0&radius=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 }