/Devices/{serial}/
GET
Return the specified device information (specified by serial number)
Parameters
The device serial number[string]
serial:
Response Body
Returns the Player Entity
PUT
Update a device, specified by serial number, on a network.
Parameters
The device serial number[string]
serial:
Request Body
The Player Entity
Response Body
On success this method returns a status code 2XX, on failure it returns a status code of 5XX.
/Devices/{deviceId:int}/Beacons/{beaconId:int?}/
GET
Returns a list of Apple, EddystoneUrl, or Eddystone Uid device beacons associated with a specified device.
Parameters
[int] deviceId:
The unique identifier for the device instance[int] beaconId:
The unique identifier of the device beacon
Response Body
Returns the Player Beacon Entity
/Devices/{serial}/Beacons/{beaconId:int?}/
GET
Returns a list of Apple, EddystoneUrl, or Eddystone Uid device beacons associated with a specified device.
Parameters
[string] serial:
The serial number for the device instance[int] beaconId:
The unique identifier of the device beacon
Response Body
Returns the Player Beacon Entity
/Devices/{id:int}/Beacons/
POST
Create a device beacon.
Parameters
A unique identifier for the device instance[int] id
:
Request Body
The Player Beacon Entity
Response Body
Returns a 201 status code and the new resource created and referenced by the Uri (given by the location header field) in the response. The response includes the Player Beacon Entity.
/Devices/{serial}/Beacons/
POST
Create a device beacon.
Parameters
The serial number of the device instance[string] serial
:
Request Body
The Player Beacon Entity
Response Body
Returns a 201 status code and the new resource created and referenced by the Uri (given by the location header field) in the response. The response includes the Player Beacon Entity.
/Devices/{deviceId:int}/Beacons/{beaconId:int}/
DELETE
Delete a specified device beacon from a specified device.
Parameters
A unique identifier for the device instance[int]
deviceId:
The unique identifier of the device beacon[int] beaconId
:
Response Body
On success this method returns a status code 2XX, on failure it returns a status code of 5XX.
/Devices/{serial}/Beacons/{beaconId:int}/
DELETE
Delete a specified device beacon from a specified device.
Parameters
The serial number of the device instance[string]
serial:
The unique identifier of the device beacon[int] beaconId
:
Response Body
On success this method returns a status code 2XX, on failure it returns a status code of 5XX.
/Devices/{id:int}/Errors/
GET
Returns a list of errors associated with the specified device.
Parameters
A unique identifier for the device that is reporting the errors[int] id:
: A value specifying which page to retrieve. This value is useful if the
marker[string]
isTruncated
entry in the response body of the previous GET call indicates that the number of error instances exceeds thepageSize
.
: The maximum number of error instances that can be contained in the response body
pageSize[int]
Response Body
Returns the Player Error Entity
/Devices/{serial}/Errors/
GET
Returns a list of errors associated with a device (specified by serial number).
Parameters
The serial number of the device that is reporting the errors[string]
serial:
: A value specifying which page to retrieve. This value is useful if the
marker[string]
isTruncated
entry in the response body of the previous GET call indicates that the number of Error instances exceeds thepageSize
.
: The maximum number of Error instances that can be contained in the response body
pageSize[int]
Response Body
Returns the Player Error Entity
/Devices/{id:int}/Downloads/
GET
Returns the downloads associated with a device (specified by device id).
Parameters
[int] id:
The unique identifier for the device that has the download instances
: A value specifying which page to retrieve. This value is useful if the
marker[string]
isTruncated
entry in the response body of the previous GET call indicates that the number of download instances exceeds thepageSize
.
: The maximum number of download instances that can be contained in the response body
pageSize[int]
Response Body
Returns the Player Download Entity
/Devices/{serial}/Downloads/
GET
Returns a list of downloads carried out by a device (specified by serial number).
Parameters
The serial number of the device that has the download instances[string]
serial:
: A value specifying which page to retrieve. This value is useful if the
marker[string]
isTruncated
entry in the response body of the previous GET call indicates that the number of download instances exceeds thepageSize
.
: The maximum number of download instances that can be contained in the response body
pageSize[int]
Response Body
Returns the Player Download Entity
/Devices/{id:int}/ScreenShots/
GET
Returns a list of screenshots uploaded by a device (specified by device id)
Parameters
A unique identifier for the device instance[int]
id:
: A value specifying which page to retrieve. This value is useful if the
marker[string]
isTruncated
entry in the response body of the previous GET call indicates that the number of Screenshot instances exceeds thepageSize
.
: The maximum number of Screenshot instances that can be contained in the response body
pageSize[int]
Response Body
Returns the ScreenShot Entity
/Devices/{serial}/ScreenShots/
GET
Returns a list of screenshots uploaded by a device (specified by device serial number).
Parameters
The device serial number[string] serial
:
: A value specifying which page to retrieve. This value is useful if the
marker[string]
isTruncated
entry in the response body of the previous GET call indicates that the number of Screenshot instances exceeds thepageSize
.
: The maximum number of Screenshot instances that can be contained in the response body
pageSize[int]
Response Body
Returns the ScreenShot Entity
/Devices/Operations/
GET
Returns Business Operations for devices.
Response Body
/Devices/{device_id||serial}/Tags/
GET
Returns an object that represents tags assigned to the specified device.
Response Body
Each tag is formatted as follows: "<value_type>::<tag_type>.<tag_key>":"<value>"
.
value_type
: "string" or "number"tag_type
: "[Device]" (a user-defined key/value) or "[sys].[Device]" (a system-defined key/value)tag_key
: The tag keyvalue
: The tag value
POST
Adds one or more tags to the specified device.
Request Body
The request body is an object conatining tag key/value pairs. Each tag must be formatted as follows: "<value_type>::<tag_type>.<tag_key>":"<value>"
.
value_type
: "string" or "number"tag_type
: "[Device]" (a user-defined key/value) or "[sys].[Device]" (a system-defined key/value)tag_key
: The tag keyvalue
: The tag value
Response Body
The server returns code 204 upon success.
DELETE
Removes one or more tags from the specified device.
Request Body
The request body is an array of tag keys. Each tag key must be formatted as follows: "<value_type>::<tag_type>.<tag_key>"
.
value_type
: "string" or "number"tag_type
: "[Device]" (a user-defined key/value) or "[sys].[Device]" (a system-defined key/value)tag_key
: The tag key
Response Body
The server returns code 204 upon success.
/Devices/Models/
GET
Returns a list of player models that are supported by BSN.
Response Body
The response body is an array of strings specifying supported player models.
/Devices/Models/{model}
GET
Returns the model number of the specified model.
Response Body
If the specified model is supported, the server returns a string containing the model number (e.g. "XT1143").
/Devices/Models/{model}/Connectors/
GET
Returns a list of video connectors supported by the specified model.
Response Body
The response body is an array of strings specifying video connectors supported by the model. The following are valid values:
"HDMI"
"VGA"
"Component"
/Devices/Models/{model}/Connectors/{connector?}/
GET
Returns the specified video connector if it's supported by the specified player model.
Parameters
[string]
model
[string]
connector
Response Body
If the specified video connector is supported, the response body will contain the connector name as a string. Otherwise, it will return code 404.
/Devices/Models/{model}/Connectors/{connector}/VideoModes/
GET
Returns a list of video modes supported by the specified connector on the specified model.
Response Body
The response body is an array of strings listing video modes supported by the specified connector on the specified model.