/internal/relays

GET
https://demo.azuracast.com/api/internal/relays

Returns all necessary information to relay all ‘relayable’ stations.

Response

Success

Response fields application/json
Show child attributes
idinteger

Station ID

Example
1
namestring | null

Station name

Example
AzuraTest Radio
shortcodestring | null

Station “short code”, used for URL and folder paths

Example
azuratest_radio
descriptionstring | null

Station description

Example
An AzuraCast station!
urlstring | null

Station homepage URL

Example
https://www.azuracast.com/
genrestring | null

The genre of the station

Example
Variety
typestring | null

Which broadcasting software (frontend) the station uses

Example
shoutcast2
portinteger | null

The port used by this station to serve its broadcasts.

Example
8000
relay_pwstring

The relay password for the frontend (if applicable).

Example
p4ssw0rd
admin_pwstring

The administrator password for the frontend (if applicable).

Example
p4ssw0rd
Show child attributes
idintegerrequired

Mount/Remote ID number.

Example
1
namestringrequired

Mount point name/URL

Example
/radio.mp3
urlstringrequired

Full listening URL specific to this mount

Example
http://localhost:8000/radio.mp3
bitrateinteger | nullrequired

Bitrate (kbps) of the broadcasted audio (if known)

Example
128
formatstring | nullrequired

Audio encoding format of broadcasted audio (if known)

Example
mp3
listenersApi_NowPlaying_Listenersrequired
Show child attributes
totalintegerrequired

Total non-unique current listeners

Example
20
uniqueintegerrequired

Total unique current listeners

Example
15
currentintegerrequired

Total non-unique current listeners (Legacy field, may be retired in the future.)

Example
20
pathstringrequired

The relative path that corresponds to this mount point

Example
/radio.mp3
is_defaultbooleanrequired

If the mount is the default mount for the parent station

Example
true

Authorization

ApiKeyapiKey in header