Resource: Devices (preliminary)

Topics:

Actions

  • - (Object) index

Url:

  • [GET] /rest/v1/report/devices[arguments]
Note:

This action requires admin access.

Note:

The maximum date range (from/to) is limited to one year.

Returns the total number of authorized devices based on device model.

Arguments:

  • (String) from

    Begin date in iso8601 format.

  • (String) to

    End date in iso8601 format.

Example Request:

https://service_name.synctv.com/rest/v1/report/devices?from=2011-11-07T00:00:00Z&to=2011-12-07T00:00:00Z

Example Response:

<ssap>
  <response>
    <code>1</code>
    <message>Successfully completed.</message>
    <count>1</count>
  </response>
  <version>0.5</version>
  <devices>
    <xbox>14</xbox>
    <iphone>44</iphone>
  </devices>
</ssap>

Response Fields:

  • (Array) devices

    List of total authorized devices specified by device model.