Viz Channel Branding User Guide

Version 5.1 | Published October 26, 2023 ©

GET All Machine Addresses under Channel

Returns a list of machine addresses for this Channel.

Syntax

GET /config/channels/{channel}/machineaddresses

Request

GET /config/channels/Test/machineaddresses HTTP/1.1

Response - List of machine addresses

HTTP/1.1 200 OK
Content-Type: application/vizrt.promoserver+xml; type=machineAddressesList
<promoserver:machineAddressesList xmlns:promoserver="http://www.vizrt.com/promoserver">
<promoserver:machineAddress>
<promoserver:refLink rel="self" type="application/vizrt.promoserver+xml; type=machineAddress" href="http://localhost:9980/config/channels/Test/machineaddresses/localhost" />
<promoserver:refLink rel="edit" type="application/vizrt.promoserver+xml; type=machineAddress" href="http://localhost:9980/config/channels/Test/machineaddresses/localhost" />
<promoserver:refLink rel="status" type="application/vizrt.promoserver+xml; type=machineAddressStatus" href="http://localhost:9980/config/channels/Test/machineaddresses/localhost/status" />
<promoserver:name>localhost</promoserver:name>
</promoserver:machineAddress>
<promoserver:machineAddress>
<promoserver:refLink rel="self" type="application/vizrt.promoserver+xml; type=machineAddress" href="http://localhost:9980/config/channels/Test/machineaddresses/backuphost" />
<promoserver:refLink rel="edit" type="application/vizrt.promoserver+xml; type=machineAddress" href="http://localhost:9980/config/channels/Test/machineaddresses/backuphost" />
<promoserver:refLink rel="status" type="application/vizrt.promoserver+xml; type=machineAddressStatus" href="http://localhost:9980/config/channels/Test/machineaddresses/backuphost/status" />
<promoserver:name>backuphost</promoserver:name>
</promoserver:machineAddress>
</promoserver:machineAddressesList>

Error Response - Channel not found

HTTP/1.1 404 Not Found
Content-Type: application/xml; charset=utf-8
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Element Test could not be found</string>

Disallowed Actions

This end-point does not allow PUT or DELETE, and will return a 'HTTP/1.1 405 Method Not Allowed'.