This is a migrated thread and some comments may be shown as answers.

Device list - access or export

2 Answers 58 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 23 Apr 2014, 07:13 PM
When a user registers a device for push notifications, their device appears in the "Devices" section of Backend. Is it possible to access that information through the API or by any other means? I'm looking to access all device records from an external server.

Thanks,
David

2 Answers, 1 is accepted

Sort by
0
Accepted
Anton Dobrev
Telerik team
answered on 24 Apr 2014, 08:05 AM
Hi David,

Devices are registered and updated through the endpoints described in the following documentation article.

Please, refer to the following for an overview:
Register devices POST {{ServerHost}}/v1/{{ApiKey}}/Push/Devices
Get devices (GetAll, GetByFilter) GET {{ServerHost}}/v1/{{ApiKey}}/Push/Devices
Get device (GetById) GET {{ServerHost}}/v1/{{ApiKey}}/Push/Devices/device_id
Update device (ById) PUT {{ServerHost}}/v1/{{ApiKey}}/Push/Devices/device_id
Update device (ByHardwareId) PUT {{ServerHost}}/v1/{{ApiKey}}/Push/Devices/HardwareId/device_hardware_id
Delete device(ById) DELETE {{ServerHost}}/v1/{{ApiKey}}/Push/Devices/device_id
Delete device(ByHardwareId) DELETE {{ServerHost}}/v1/{{ApiKey}}/Push/Devices/HardwareId/hardware-Id-here

All of these endpoints require Master Key authentication.

You can also make use of the wrapper methods in the .NET and JavaScript client SDKs as well. Here is a sample from the .NET SDK.
EverliveApp myApp = new EverliveApp("Api-Key");
var devicesFacade = myApp.WorkWith().Push().Devices();

Please, let us know if further questions arise.

Regards,
Anton Dobrev
Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
0
David
Top achievements
Rank 1
answered on 25 Apr 2014, 02:24 AM
Perfect. I thought I may have missed something, but that info is event better than I expected.

Thanks,
David
Tags
General Discussion
Asked by
David
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
David
Top achievements
Rank 1
Share this question
or