Get Entries

Built.io Contentstack is a headless content management system by Built.io. This activity lets retrieve the list of all entries of the specified content type. To do this, add this activity to your canvas and configure it. Select the appropriate connection for Built.io Contentstack from the drop-down list. If you haven’t created a connection yet, select ‘Add New’ to create one.

Field data

Stack API Key (mandatory): Enter the API key of your stack in Built.io Contentstack. You can find the stack’s API key in Setting > Stack.

Content Type Unique ID (mandatory): Enter the ID of the content type of which you wish to get the entries. You can get the unique ID by editing the content type.

Include Environment (optional): Enter the name of the environment. Only the entries published to this environment will be returned.

Locale (optional): Enter the code of the language that needs to be included. 

Skip (optional): Enter the number of entries to be skipped. 

Limit (optional): Enter the maximum number of entries to be included. 

Include Count (mandatory): Select true to include the number of entries available for the specified content type. 

Unique ID for Ascending Order (optional): Enter the ID of the field by which you wish to sort the results in ascending order.

Unique ID for Descending Order (optional): Enter the ID of the field by which you wish to sort the results in descending order.

Unique ID of the field to fetch (optional): Enter the IDs of the fields that need to be fetched for the entries. 

Include Schema (mandatory): Select true to include the schema portion of the content type.

Include Owner (mandatory): Select true to get the owner’s details for the returned entries. 

Include Draft (mandatory): Select true to also include unpublished entries of the content type.

Reference Field to Include (optional): This parameter accepts the name of a reference field. By default, no reference field is brought along with the entry; only the uids are. To include any reference, one must use this parameter. Nested references can be brought, with '.' separating the references. This will work for references nested inside groups or references nested inside other references.

Tags to Search Objects (optional): Enter tags to get array of related entries.  

Customized Query (optional): Enter customized query in JSON format. 

get-entries


Once you have entered all the details, click on 'Done' and 'Run' the flow. This will retrieve the list of all entries of the specified content type.

Refer to the API documentation for more details: https://contentstackdocs.built.io/rest/api/content-management-api/#!/Entries/get_content_types_content_type_uid_entries

Output:
  • output-arrow built-contentstack-128 Get Content Type Entries
    • left-triangle array
      • left-triangle updated_at string
      • left-triangle created_at string
      • left-triangle title string
      • left-triangle multi_line string
      • left-triangle _metadata object
      • left-triangle array
      • left-triangle updated_by string
      • left-triangle created_by string
      • left-triangle published boolean
      • left-triangle uid string
      • left-triangle _version string