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 and interact with digital assets stored in MediaCockpit. Specifically, the "List Assets by Ancestor" operation retrieves assets that belong to a specified ancestor entity, such as a parent folder or collection.

Common scenarios for this node include:

  • Fetching all assets within a particular collection or folder to process or analyze them further.
  • Automating asset management workflows by listing assets under specific organizational units.
  • Integrating MediaCockpit DAM asset data into other systems or processes within an n8n workflow.

For example, a user might use this node to list all images inside a marketing campaign folder to generate reports or trigger downstream processing like resizing or tagging.

Properties

Name Meaning
Ancestor (Parent/collection) ID The key or ID of the ancestor entity (such as a parent folder or collection) whose assets you want to list.
Return All Results Boolean option to either return all matching assets or limit the number of results returned. Options: true (return all), false (limit results).
Limit When "Return All Results" is false, this sets the maximum number of assets to return. Minimum value is 1. Default is 50.

Output

The node outputs an array of JSON objects representing the assets retrieved from MediaCockpit. Each item corresponds to one asset and contains its metadata fields as provided by the MediaCockpit API.

  • The output JSON includes all relevant asset information returned by the API.
  • No binary data is output for this operation.
  • Debug information related to the request or response is not included in this operation's output.

Dependencies

  • Requires an API key credential for authenticating with the MediaCockpit DAM REST API.
  • The node expects the MediaCockpit API endpoint URL to be configured via credentials.
  • Network access to the MediaCockpit API server is necessary.

Troubleshooting

  • Empty or no results: Verify that the ancestor ID is correct and that the ancestor actually contains assets.
  • Authentication errors: Ensure the API key credential is valid and has sufficient permissions.
  • Limit ignored or too many results: If "Return All Results" is set to true, the node will fetch all assets which may take longer or hit API rate limits.
  • API connectivity issues: Check network connectivity and that the MediaCockpit API endpoint is reachable.

If errors occur, the node typically throws descriptive error messages indicating the problem, such as invalid parameters or authentication failures.

Links and References

Discussion