Calagopus icon

Calagopus

Interact with the Calagopus API

Actions343

Admin Assets → Upload

AI-generated

Summary

Uploads an asset by sending a PUT request to the Calagopus admin assets endpoint. Choose JSON, raw text, or no body, and optionally add query parameters or configure response and timeout handling.

Inputs

  • Query Parameters JSON — Optional JSON object of query parameters; defaults to {}.
  • Body Mode — Choose JSON (default), Raw Text, or None. For JSON mode, provide Body JSON; for Raw Text, provide Raw Body.
  • Body JSON — Request body as a JSON object when Body Mode is JSON; defaults to {}.
  • Raw Body — Request body as plain text when Body Mode is Raw Text; defaults to an empty string.
  • Additional Options — Optionally return HTTP error responses instead of failing the item, include status and headers with the response, or set a timeout in milliseconds (0 uses n8n defaults).

Output shape

A single item per input item, containing the response body as JSON.

Array responses are wrapped in {"data": [...]}; primitive responses in {"data": value}; an empty response becomes {"success": true}. With Return Full Response enabled, the returned response may include status, headers, and body. With Continue On Fail enabled, request errors are returned in an {"error": "..."} object.

Links

Discussion