younifyd
Menu

Getallassets

Get all assets

GET/v3/assets

Use it in a workflow

  1. Add a step and choose the Contentstack Delivery connector.
  2. Pick the Getallassets action (under Assets).
  3. Fill in the fields below, then reference the result from later steps as {{getallassets.response.data}}.

Request

Query parameters

include_fallbackstring

Enter 'true' to include the published asset details from the fallback locale when the specified locale does not contain published content.

include_dimensionstring

Enter 'true' to include the dimensions (height and width) of the image in the response. Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, SVG, and PSD.

include_branchstring

Set this to true to include the _branch top-level key in the response. This key states the unique ID of the branch where the concerned Contentstack module resides.

asset_fields[]string

Pass the asset_fields[] query parameter to fetch additional field groups for each asset. Set the value to visual_markups to return the hotspot and bounding-box annotations of the asset under the visual_markups key. If the asset has no markups, an empty array is returned. This parameter is repeatable and currently supports two values: visual_markups and user_defined_fields. For example, asset_fields[]=visual_markups&asset_fields[]=user_defined_fields. This parameter works only with assets managed in New Assets.

Headers

branchstring
Content-Typestringrequired

Response

Returns 200 with a any. Read it in later steps with {{getallassets.response.data.<field>}}.

Need more? See the Contentstack Delivery guide for connection setup and behaviour shared by every action.

Was this page helpful?