post https://external-api.xtremepush.com/api/external/list/device
Used to get a list of the devices using your application. All devices may be returned or a list of devices matching supplied criteria are returned.
Examples
List all device that were first registered on the platform on or after 00:00 GMT 1 Jan 2015 (using Unix time 1420070400):
curl --request POST \
--url https://external-api.xtremepush.com/api/external/list/device \
--header 'content-type: application/json' \
--data '{
"apptoken": "YOUR_APPTOKEN",
"condition": [
["create_time", ">=", "1420070400"]
]
}'
Use pagination to get the most recently created device. Achieved by setting order to be descending (defaults to create time) and grabbing the top device using offset and limit:
curl --request POST \
--url https://external-api.xtremepush.com/api/external/list/device \
--header 'content-type: application/json' \
--data '{
"apptoken": "YOUR_APPTOKEN",
"order": "id DESC",
"offset": 0,
"limit": 1
}'