AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station General → Get Quota Of Type

AI-generated

Summary

Retrieves quota of a specified storage type for an AzuraCast station.

Inputs

  • station_id (required) — Identifies the station for this action. Path parameter: {station_id}. Choose a name from the list (From List mode) or specify an ID using an expression (By ID mode).
  • type (required) — The storage location type (i.e. station_media, station_recordings, station_podcasts). Path parameter: {type}.
  • sendAdditionalHeaders — Whether to include extra HTTP headers in this request. Default false.
  • additionalHeaders — Provide additional HTTP headers as a JSON object, for example {X-Trace-ID:abc123}. Shown only when sendAdditionalHeaders is true.
  • bodyModeOverride — Override the default request body mode. Options: Auto, Binary, JSON, Multipart Form-Data, None, Raw. Default Auto.
  • manualJsonBody — Manual request body as JSON. Used only when bodyModeOverride is set to JSON.
  • manualRawBody — Manual request body as plain text. Used only when bodyModeOverride is set to Raw.
  • manualBinaryBodyProperty — Input binary property name to read when sending binary or multipart payloads manually. Default data.
  • manualMultipartFileFieldName — Multipart file field name expected by the endpoint when using manual multipart mode. Default file.
  • manualMultipartFields — Additional multipart form fields as JSON when using manual multipart mode.
  • responseFormat — Choose how n8n should parse the response returned by AzuraCast. Options: Auto, Binary, JSON, Text. Default Auto.
  • binaryOutputProperty — Binary output property name used when responseFormat is set to Binary. Default data.
  • returnFullResponse — Whether to return the full HTTP response, including headers and status code. Default false. When true, wrapResponseData is hidden.
  • wrapResponseData — Whether to keep the response body in a single output item. Disable to split array responses into multiple items. Default true. Hidden when returnFullResponse is true.

Output shape

Main connector

The operation makes a GET request to the AzuraCast Web API endpoint /api/v1/stations/{station_id}/quota/{type}. Returned data shape depends on responseFormat setting.

Examples

Example 1: Get media quota for station ID 42

station_id: 42, type: station_media

Links

Discussion