MediaCockpit DAM icon

MediaCockpit DAM

Interact with MediaCockpit DAM REST API

List Assets by Ancestor

AI-generated

Summary

List assets that belong to a specific ancestor (parent folder or collection) by filtering assets according to the ancestor's ID.

Inputs

  • Ancestor (Parent/collection) ID (required) — Key or ID of the ancestor (parent/collection) to filter assets by.
  • Return All Results — Boolean flag to return all matching assets or limit the number of results.
  • Limit — Maximum number of assets to return when 'Return All Results' is false.

Output shape

a list of asset objects matching the ancestor filter

Returns all matched assets when 'Return All Results' is true; otherwise limits the output to the specified 'Limit'. If no assets are found, returns an empty list in the first item's JSON under the pluralized asset key.

Links

Discussion