GET List: Get Router Output List
Get the list of outputs for the specified router.
HTTP Request and Response
Request URL
GET http://<Conductor IP address>/routers/<ID of router>/outputs
Call Header
-
Accept: Set to
application/xml
If you are implementing user authentication, you must also include three authorization headers; see Header Content for User Authentication.
Response
The response contains XML content consisting of one outputs
element with the following.
-
An HREF attribute that specifies the product and version installed on the Conductor Live node.
-
Zero or more
output
elements, one for each input found. Eachoutput
element contains several elements.
Element | Value | Description |
---|---|---|
id | Integer | The ID for this output, unique for this router and assigned by the system when the output is created. |
output_number | Integer | The ID of the router output that is connected to the SDI card identified by device_id (below). This ID is the ID assigned by the router (not as assigned by AWS Elemental Live). |
router_id | Integer | The router that this output belongs to-- a unique ID assigned by AWS Elemental Live. |
device_id | String | The ID the SDI input that is connected to the router output identified by output_number. This ID is assigned by AWS Elemental Live when the SDI card is auto-detected. Each port on the entire node is assigned a unique ID (for example, IDs 1-4 on the first card, 5-8 on the second). |
device_type | String | A string which always specifies “Device.” |
Example
This request is for the outputs associated with the router with the ID 2. The response specifies that there are two outputs in this router with IDs 3 and 4.
GET http://198.51.100.0/routers/2/outputs ---------------------------- Content-type:application/vnd.elemental+xml;version=3.3.0 ------------------------------------------ <?xml version="1.0" encoding="UTF-8"?> <outputs href="/routers/2/outputs" product="AWS Elemental Conductor Live" version="3.3.nnnnn"> <output> <id>3</id> <output_number>5</output_number> <router_id>2</router_id> <device_id>1</device_id> </output> <output> <id>4</id> <output_number>2</output_number> <router_id>2</router_id> <device_id>7</device_id> </output> </outputs>