AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station Media → Run Files Rename

AI-generated

Summary

Rename media files in a station

Inputs

  • path__poststationfilesrename__station_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.
  • body_required__poststationfilesrename__file (required) — Current file path to rename | Required body field: file
  • body_required__poststationfilesrename__newpath (required) — New file path | Required body field: newPath
  • sendAdditionalHeaders — Whether to include extra HTTP headers in this request
  • additionalHeaders — Provide additional HTTP headers as a JSON object, for example {"X-Trace-ID":"abc123"}
  • bodyModeOverride — Auto uses the built-in fields for this action. Override only when you need to send the request body manually.
  • manualJsonBody — Manual request body as JSON. Used only when Body Mode Override is set to JSON.
  • manualRawBody — Manual request body as plain 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 n8n should parse the response returned by AzuraCast
  • binaryOutputProperty — Binary output property name used when Response Format is set to Binary
  • returnFullResponse — Whether to return the full HTTP response, including headers and status code
  • wrapResponseData — Whether to keep the response body in a single output item. Disable to split array responses into multiple items.

Output shape

a single record representing the renamed file

The response contains the updated file object; optional fields may be omitted; errors are handled by n8n and not part of the normal response payload.

Examples

Example 1: Rename a single media file

Station Name or ID set to '123', File set to '/music/track.mp3', New Path set to '/music/track_renamed.mp3', leave other defaults.

Example 2: Batch rename multiple files

Provide an array of file paths via expression, set Body Mode Override to 'binary' and specify Manual Multipart File Field Name as 'file' for each item.

Links

Discussion