Device list - access or export

3 posts, 1 answers
  1. David
    David avatar
    30 posts
    Member since:
    Sep 2010

    Posted 23 Apr 2014 Link to this post

    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. Answer
    Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 24 Apr 2014 Link to this post

    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.
     
  3. David
    David avatar
    30 posts
    Member since:
    Sep 2010

    Posted 24 Apr 2014 in reply to Anton Dobrev Link to this post

    Perfect. I thought I may have missed something, but that info is event better than I expected.

    Thanks,
    David
Back to Top