AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station Media → Get Waveform

AI-generated

Summary

Retrieve the waveform audio file for a station media resource

Inputs

  • id (required) — Media ID (path parameter) identifying the waveform resource
  • station_id (required) — Station identifier (name from list or ID) for which to get the waveform
  • sendAdditionalHeaders — Include extra HTTP headers in the request
  • additionalHeaders — JSON object of additional HTTP headers to send
  • bodyModeOverride — Override default request body mode (auto, binary, json, multipart, none, raw)
  • manualJsonBody — Manual JSON request body (used when bodyModeOverride is json)
  • manualRawBody — Manual raw text request body (used when bodyModeOverride is raw)
  • manualBinaryBodyProperty — Input property name holding binary data for manual multipart/binary payloads
  • manualMultipartFileFieldName — Multipart file field name expected by the endpoint
  • manualMultipartFields — Additional multipart form fields as JSON
  • responseFormat — Define how the response should be parsed (auto, binary, json, text)
  • binaryOutputProperty — Property name to store binary output when responseFormat is binary
  • returnFullResponse — Return full HTTP response including headers and status code
  • wrapResponseData — Wrap response body in a single item or split into multiple items

Output shape

binary waveform file

Returns a binary payload; when returnFullResponse is true the full HTTP response (headers, status) is emitted, otherwise only the parsed body is returned. The output is a single binary item.

Examples

Example 1: Fetch waveform for a station selected from the list

station_id set to a station name (e.g., "MyStation"), responseFormat set to binary, returnFullResponse false

Example 2: Request waveform using a station ID and custom headers

station_id = 123, additionalHeaders = {"X-Trace-ID":"abc"}, responseFormat = binary

Example 3: Manually send binary payload with custom multipart fields

bodyModeOverride = multipart, manualMultipartFileFieldName = "file", manualMultipartFields = {"extra":"value"}, responseFormat = binary

Links

Discussion