younifyd
Menu

List Assets

List assets

GET/spaces/{space_id}/environments/{environment_id}/assets

Use it in a workflow

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

Request

Path parameters

space_idstringrequired

Space ID.

environment_idstringrequired

Environment ID, e.g. master.

Query parameters

selectstring

Comma-separated fields to return, e.g. sys,fields.title.

localestring

Locale code, or * for all locales.

limitinteger

Maximum number of items (default 100, max 1000).

skipinteger

Number of items to skip.

orderstring

Field(s) to order by; prefix with - for descending, e.g. -sys.createdAt.

querystring

Full-text search. Full-text search across entries. Field filters such as fields.<name>[match|ne|in|nin|exists|lt|gte|...]=value, sys.id, sys.createdAt[gte], metadata.tags.sys.id[in] are passed as additional query parameters by the caller.

mimetype_groupstring

Filter by group: image, video, audio, attachment, etc.

fields.file.contentTypestring

Filter by exact MIME type.

fields.title[match]string

Match asset title text.

Response

Returns 200 with an object. Read it in later steps with {{listAssets.response.data.<field>}}.

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

Was this page helpful?
List Assets — Contentful Delivery — Documentation