AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station Report → Run Requests Clear

AI-generated

Summary

Run request clearing on a station

Inputs

  • path__poststationrequestsclear__station_id (required) — Identifies the station for this action; can be selected from a list or specified as an ID.
  • sendAdditionalHeaders — Include extra HTTP headers in the request.
  • additionalHeaders — JSON object of additional HTTP headers, shown when sendAdditionalHeaders is true.
  • bodyModeOverride — Choose how to provide the request body; options include Auto, Binary, JSON, Multipart Form-Data, None, Raw.
  • manualJsonBody — Manual JSON request body, used when bodyModeOverride is set to JSON.
  • manualRawBody — Manual plain‑text request body, used when bodyModeOverride 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 — Select how the response should be parsed; options are Auto, Binary, JSON, Text.
  • 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; disabling splits array responses.

Output shape

JSON object representing the AzuraCast API response

When returnFullResponse is true the entire HTTP response (headers, status, body) is returned; otherwise only the parsed body is returned. WrapResponseData controls if array responses are split into multiple items.

Examples

Example 1: Clear requests for a specific station by ID

Set station_id to 123, leave other fields at defaults.

Example 2: Clear requests with custom headers and JSON body

Enable sendAdditionalHeaders, set additionalHeaders to {"X-Trace-ID":"abc123"}, set bodyModeOverride to json and provide manualJsonBody {"command":"clear"}.

Example 3: Clear requests using multipart with custom field names

Set bodyModeOverride to multipart, define manualMultipartFileFieldName as "file" and manualMultipartFields as {"notes":"clearing"}.

Links

Discussion