AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station Media → Get Play File

AI-generated

Summary

Retrieve a media file from an AzuraCast station

Inputs

  • path__getplayfile__media_id (required) — Media identifier or name; path parameter {media_id}. Choose from list or provide ID via expression.
  • path__getplayfile__station_id (required) — Station identifier or name; path parameter {station_id}. Choose from list or provide ID via expression.
  • sendAdditionalHeaders — Toggle inclusion of extra HTTP headers.
  • additionalHeaders — JSON object of extra HTTP headers, e.g., {"X-Trace-ID":"abc123"}.
  • bodyModeOverride — Override default request body mode; options include Auto, Binary, JSON, Multipart Form-Data, None, Raw.
  • manualJsonBody — Manual JSON request body; used only when Body Mode Override is set to JSON.
  • manualRawBody — Manual raw request body text; used only when Body Mode Override is set to Raw.
  • manualBinaryBodyProperty — Input binary property name to read when sending binary or multipart payloads manually.
  • manualMultipartFileFieldName — Multipart file field name expected by the endpoint when using manual multipart mode.
  • manualMultipartFields — Additional multipart form fields as JSON when using manual multipart mode.
  • responseFormat — Choose how the response is parsed; options Auto, Binary, JSON, Text.
  • binaryOutputProperty — Binary output property name used when Response Format is Binary.
  • returnFullResponse — If true, the full HTTP response including headers and status code is returned.
  • wrapResponseData — If true, response body is wrapped in a single output item; disabling splits array responses.

Output shape

binary file (media stream)

When Response Format is set to Binary, the operation returns the media file as a binary blob; otherwise it may return JSON metadata. The response can be optionally wrapped or returned in full.

Examples

Example 1: Download a media file using default list selection

Select media from list, set station ID, leave headers disabled, use default response format, do not return full response.

Example 2: Send custom headers with the request

Enable Send Additional Headers, set Additional Headers to {"X-Custom":"value"}, keep other defaults.

Example 3: Manually override request body to JSON

Set Body Mode Override to JSON and provide a Manual JSON Body; keep default response format.

Links

Discussion