Create a new station.
Body
namestringThe full display name of the station.
AzuraTest Radioshort_namestringThe URL-friendly name for the station, typically auto-generated from the full station name.
azuratest_radiois_enabledbooleanIf set to ‘false’, prevents the station from broadcasting but leaves it in the database.
truefrontend_typeFrontendAdaptersicecastshoutcast2rsasremotefrontend_configStationFrontendConfigurationbackend_typeBackendAdaptersliquidsoapnonebackend_configStationBackendConfigurationdescriptionstring | nullA sample radio station.urlstring | nullhttps://demo.azuracast.com/genrestring | nullVariousradio_base_dirstring/var/azuracast/stations/azuratest_radioenable_requestsbooleanWhether listeners can request songs to play on this station.
truerequest_delayinteger | null5request_thresholdinteger | null15requests_only_via_playlistsbooleanfalsedisconnect_deactivate_streamerinteger | null0enable_streamersbooleanWhether streamers are allowed to broadcast to this station at all.
falseis_streamer_livebooleanWhether a streamer is currently active on the station.
falseenable_public_pagebooleanWhether this station’s public pages (player, on-demand streaming, etc.) are visible to non-authenticated users.
trueenable_public_apibooleanWhether the public-facing API endpoints (now playing, art, etc.) are visible to non-authenticated users. Automatically enabled if ‘enable_public_page’ is true.
trueenable_on_demandbooleanWhether this station has a public ‘on-demand’ streaming and download page.
trueenable_on_demand_downloadbooleanWhether the ‘on-demand’ page offers download capability.
trueenable_hlsbooleanWhether HLS streaming is enabled.
trueapi_history_itemsintegerThe number of ‘last played’ history items to show for a station in API responses.
5timezonestringThe time zone that station operations should take place in.
UTCmax_bitrateintegerThe maximum bitrate at which a station may broadcast, in Kbps. 0 for unlimited
128max_mountsintegerThe maximum number of mount points the station can have, 0 for unlimited
3max_hls_streamsintegerThe maximum number of HLS streams the station can have, 0 for unlimited
3branding_configStationBrandingConfigurationResponse
Success
Access denied.
A generic exception has occurred.
Authorization
ApiKeyapiKey in header