Relays

get

Returns all necessary information to relay all 'relayable' stations.

Responses
200

Success

application/json
get
GET /api/internal/relays HTTP/1.1
Host: listen.dovafm.xyz
Accept: */*
200

Success

[
  {
    "id": 1,
    "name": "AzuraTest Radio",
    "shortcode": "azuratest_radio",
    "description": "An AzuraCast station!",
    "url": "https://www.azuracast.com/",
    "genre": "Variety",
    "type": "shoutcast2",
    "port": 8000,
    "relay_pw": "p4ssw0rd",
    "admin_pw": "p4ssw0rd",
    "mounts": [
      {
        "id": 1,
        "name": "/radio.mp3",
        "url": "http://localhost:8000/radio.mp3",
        "bitrate": 128,
        "format": "mp3",
        "listeners": {
          "total": 20,
          "unique": 15,
          "current": 20
        },
        "path": "/radio.mp3",
        "is_default": true
      }
    ]
  }
]

Last updated