Device Manufacturers (devices/manufacturers)
Device types are represented as objects with the following fields
Name |
Type |
Read Only |
Comment |
id |
integer |
yes |
The unique ID for this device manufacture |
manufacturer_name |
string |
yes |
Name of the device manufacturer |
Get all device types
URL |
https://api.icetv.com.au/devices/manufacturers |
Method |
GET |
Query String |
|
Returns |
200 OK & Document (XML or JSON) |
|
404 Not Found |
|
503 Service Unavailable |
NOTE: As this information is required to be able to create a device during login, this node is not authenticated.
Request - URL
GET https://api.icetv.com.au/devices/manufacturers?api_key=API_KEY&application_version=APPLICATION_VERSION
XML - Example of response
<?xml version=
"1.0"
encoding=
"UTF-8"
standalone=
"no"
?>
<!DOCTYPE devices SYSTEM
"http://iceguide.icetv.com.au/iceguide/devices.dtd"
>
<devices>
<manufacturer id=
"2"
name=
"Elgato"
url=
""
/>
<manufacturer id=
"4"
name=
"Microsoft"
url=
""
/>
--- truncated ---
<manufacturer id=
"10"
name=
"Humax"
url=
""
/>
<manufacturer id=
"11"
name=
"Reycom"
url=
""
/>
</devices>
JSON - Example of response
{
"manufacturers"
: [
{
"id"
:
"2"
,
"name"
:
"Elgato"
,
"url"
:
""
},
{
"id"
:
"4"
,
"name"
:
"Microsoft"
,
"url"
:
""
},
--- truncated ---
{
"id"
:
"10"
,
"name"
:
"Humax"
,
"url"
:
""
},
{
"id"
:
"11"
,
"name"
:
"Reycom"
,
"url"
:
""
}
]
}
Get a specific device manufacturer
URL |
https://api.icetv.com.au/devices/manufacturers/# |
Method |
GET |
Query String |
|
Returns |
200 OK & Document (XML or JSON) |
|
404 Not Found |
|
503 Service Unavailable |
Request - URL
GET https://api.icetv.com.au/devices/manufacturers/19?api_key=API_KEY&application_version=APPLICATION_VERSION
JSON - Example of response
<?xml version=
"1.0"
encoding=
"UTF-8"
standalone=
"no"
?>
<!DOCTYPE devices SYSTEM
"http://iceguide.icetv.com.au/iceguide/devices.dtd"
>
<devices>
<manufacturer id=
"6"
name=
"Beyonwiz"
url=
""
></manufacturer>
</devices>
JSON - Example of response
{
"manufacturers"
: [
{
"id"
:
"6"
,
"name"
:
"Beyonwiz"
,
"url"
:
""
}
]
}