Update details of a single mount point.

PUT
https://demo.azuracast.com/api/station/{station_id}/mount/{id}

Body

application/json
namestring
Example
/radio.mp3
display_namestring
Example
128kbps MP3
is_visible_on_public_pagesboolean
Example
true
is_defaultboolean
Example
false
is_publicboolean
Example
false
fallback_mountstring | null
Example
/error.mp3
relay_urlstring | null
Example
https://radio.example.com:8000/radio.mp3
authhashstring | null
Example
max_listener_durationinteger
Example
43200
enable_autodjboolean
Example
true
autodj_formatStreamFormats | null
Show child attributes
One of
StreamFormatsmp3oggaacopusflac
Example
mp3
autodj_bitrateinteger | null
Example
128
custom_listen_urlstring | null
Example
https://custom-listen-url.example.com/stream.mp3
frontend_configstring | null
listeners_uniqueinteger

The most recent number of unique listeners.

Example
10
listeners_totalinteger

The most recent number of total (non-unique) listeners.

Example
12

Parameters

station_idinteger | stringrequiredpath
idinteger<int64>requiredpath

Mount Point ID

Response

Success

Response fields application/json
successbooleanrequired
Example
true
messagestringrequired
Example
Changes saved successfully.
formatted_messagestringrequired
Example
<b>Changes saved successfully.</b>
403ForbiddenApi_Error

Access denied.

Response fields application/json
codeintegerrequired

The numeric code of the error.

Example
500
typestringrequired

The programmatic class of error.

Example
NotLoggedInException
messagestringrequired

The text description of the error.

Example
Error description.
formatted_messagestring | nullrequired

The HTML-formatted text description of the error.

Example
<b>Error description.</b><br>Detailed error text.
extra_dataArray<any>required

Stack traces and other supplemental data.

successbooleanrequired

Used for API calls that expect an \Entity\Api\Status type response.

Example
false
404Not FoundApi_Error

Record not found.

Response fields application/json
codeintegerrequired

The numeric code of the error.

Example
500
typestringrequired

The programmatic class of error.

Example
NotLoggedInException
messagestringrequired

The text description of the error.

Example
Error description.
formatted_messagestring | nullrequired

The HTML-formatted text description of the error.

Example
<b>Error description.</b><br>Detailed error text.
extra_dataArray<any>required

Stack traces and other supplemental data.

successbooleanrequired

Used for API calls that expect an \Entity\Api\Status type response.

Example
false
500Internal Server ErrorApi_Error

A generic exception has occurred.

Response fields application/json
codeintegerrequired

The numeric code of the error.

Example
500
typestringrequired

The programmatic class of error.

Example
NotLoggedInException
messagestringrequired

The text description of the error.

Example
Error description.
formatted_messagestring | nullrequired

The HTML-formatted text description of the error.

Example
<b>Error description.</b><br>Detailed error text.
extra_dataArray<any>required

Stack traces and other supplemental data.

successbooleanrequired

Used for API calls that expect an \Entity\Api\Status type response.

Example
false

Authorization

ApiKeyapiKey in header