MediaCockpit DAM icon

MediaCockpit DAM

Interact with MediaCockpit DAM REST API

Overview

This node integrates with the MediaCockpit Digital Asset Management (DAM) REST API, enabling users to manage digital assets programmatically within n8n workflows. It supports various operations such as searching assets, listing by ancestor, retrieving asset details by ID, updating single or multiple asset attributes, deleting assets, downloading assets or their derivatives, and uploading new assets.

The Update Multiple Asset Attributes operation allows batch updating of several attributes on a specified asset in one request. This is useful for scenarios where metadata or properties of an asset need to be modified simultaneously, such as updating tags, descriptions, or custom fields after bulk import or automated processing.

Practical examples:

  • Automatically appending new keywords to an asset’s existing tags.
  • Removing deprecated attribute values from multiple fields at once.
  • Creating new enumeration values while updating attributes dynamically.

Properties

Name Meaning
Asset ID The unique identifier of the asset to update.
Multi-Attribute Data A JSON array of objects specifying attribute updates. Each object can include:
- attribute (required): The name of the attribute to update.
- value: The new value for the attribute.
- action: The type of update action; options are "update", "append", or "remove".
- create: Boolean indicating whether to create a new enumeration value if it does not exist.

Output

The node outputs an array of JSON objects corresponding to each input item processed. For the Update Multiple Asset Attributes operation, the output JSON typically contains the updated asset data or confirmation of the update operation. The exact structure depends on the API response but generally includes the asset's current state after modification.

No binary data output is associated with this operation.

Dependencies

  • Requires connection to the MediaCockpit DAM REST API.
  • Needs an API authentication token or API key credential configured in n8n to authorize requests.
  • The node uses HTTP requests internally to communicate with the MediaCockpit API endpoints.

Troubleshooting

  • Missing or invalid Asset ID: Ensure the Asset ID provided is correct and exists in the MediaCockpit system.
  • Malformed Multi-Attribute Data: The JSON array must be well-formed and each object must contain the required attribute field. Invalid JSON or missing required fields will cause errors.
  • Permission issues: The API credentials used must have sufficient permissions to update asset attributes.
  • API errors: Network issues or API downtime may cause request failures. Check connectivity and API status.
  • Invalid action values: Only "update", "append", and "remove" are valid actions. Using other values will result in errors.

If the node throws errors related to these points, verify the input parameters and credentials accordingly.

Links and References

Discussion