Actions17
Asset → Update Metadata
AI-generatedSummary
Updates custom metadata for a FileSpin asset.
Inputs
- assetId (required) — The 32‑character ID of the asset whose metadata should be updated.
- mode — Whether to append/update only the supplied fields or replace all custom metadata. Options: Append (recommended) (APPEND) or Replace All (REPLACE). Default: APPEND.
- metadataFields — A list of key‑value pairs to set as metadata. Each entry has a Key and a Value (both strings).
- customJson — Additional metadata as a JSON object (e.g., {@
Output shape
{ status: number, message: any, assetId: string }
The node returns an object where status is the HTTP response code (normally 200), message contains the raw response from the FileSpin API, and assetId echoes the supplied ID.