AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station Media → Get Files

AI-generated

Summary

Fetch files from a station's Media library

Inputs

  • Station Name or ID (required) — Identifies the station for this action. Path parameter: {station_id} Choose a name from the list, or specify an ID using an expression.
  • Send Additional Headers — Whether to include extra HTTP headers in this request.
  • Additional Headers (JSON) — Provide additional HTTP headers as a JSON object, for example {"X-Trace-ID":"abc123"}.
  • Body Mode Override — Auto uses the built-in fields for this action. Override only when you need to send the request body manually.
  • Manual JSON Body — Manual request body as JSON. Used only when Body Mode Override is set to JSON.
  • Manual Raw Body — Manual request body as plain text. Used only when Body Mode Override is set to Raw.
  • Manual Input Data Field Name — Input binary property name to read when sending binary or multipart payloads manually.
  • Manual Multipart File Field Name — Multipart file field name expected by the endpoint when using manual multipart mode.
  • Manual Multipart Fields (JSON) — Additional multipart form fields as JSON when using manual multipart mode.
  • Response Format — Choose how n8n should parse the response returned by AzuraCast.
  • Binary Output Property Name — Binary output property name used when Response Format is set to Binary.
  • Return Full Response — Whether to return the full HTTP response, including headers and status code.
  • Wrap Response Data — Whether to keep the response body in a single output item. Disable to split array responses into multiple items.

Output shape

an array of file objects representing media assets in the station

Each file object typically includes fields such as id, name, size, and URL; the result may be paginated; enabling Return Full Response returns the complete HTTP response object.

Examples

Example 1: Retrieve a list of media files as JSON

Set Station Name or ID to a station, leave Response Format as JSON, keep Return Full Response false, and set Wrap Response Data true.

Example 2: Upload a binary file to a station

Select Body Mode Override = Binary, provide Manual Input Data Field Name if needed, and set Station Name or ID to the target station.

Example 3: Add custom headers and receive the full HTTP response

Enable Send Additional Headers, add Additional Headers (JSON) with {"X-Custom":"value"}, and set Return Full Response true.

Links

Discussion