Skip to main content
All CollectionsWrk Action LibraryContentful
Retrieve all assets from Contentful
Retrieve all assets from Contentful
Wrk Product avatar
Written by Wrk Product
Updated over 2 months ago

Retrieve all assets from Contentful.

Application

  • Contentful

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Connected Account

The connected account to use for the request

Connected Account

Yes

Source

Pick where your data comes from, delivery or preview API

Predefined Choice List

No

Environment ID

The ID for the Contentful environment (e.g. master, staging, etc.). Depending on your plan, you might not have environments. In that case use "master"

Text (Short)

No

Return all?

Whether to return all results or only up to a given limit

True/False

No

Limit

Max number of results to return

Number

No

Equal

Search for all data that matches the condition: {attribute}={value}. Attribute can use dot notation

Text (Short)

No

Exclude

Search for all data that matches the condition: {attribute}[nin]={value}. Attribute can use dot notation

Text (Short)

No

Exist

Search for all data that matches the condition: {attribute}[exists]={value}. Attribute can use dot notation

Text (Short)

No

Fields

The select operator allows you to choose what fields to return from an entity. You can choose multiple values by combining comma-separated operators

Text (Long)

No

Include

Search for all data that matches the condition: {attribute}[in]={value}. Attribute can use dot notation

Text (Short)

No

Not equal

Search for all data that matches the condition: {attribute}[ne]={value}. Attribute can use dot notation

Text (Short)

No

Order

You can order items in the response by specifying the order search parameter. You can use sys properties (such as sys.createdAt) or field values (such as fields.myCustomDateField) for ordering

Text (Short)

No

Query

Full-text search is case insensitive and might return more results than expected. A query will only take values with more than 1 character

Text (Long)

No

RAW data?

Whether the data should be returned RAW instead of parsed

True/False

No

Outputs (what you get)

Name

Description

Data Type

Required?

Example

JSON Output

JSON output returned by the API

Text (Long)

No

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

Unsuccessful

This status is selected if the job has completed unsuccessfully.

Requirements

  • N/A

Did this answer your question?