younifyd
Menu

Getallmetadata

Get All Metadata

GET/v3/metadata/

Use it in a workflow

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

Request

Query parameters

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.

include_multi_stackstring

Set this to 'true' to fetch data from multiple stacks.

include_multi_branchstring

Set this to 'true' to fetch data from multiple branches.

include_title[]string

You can request multiple titles in a single response. For example:Set to ‘content_type’ to fetch the name of the content type.Set to ‘stack’ to fetch the name of the stack.Set to ‘entity’ to fetch the title of the entity. An entity could be either an entry or an asset.

limitstring

Set the limit in between ‘0-100’ to limit the number of items returned as response.

skipstring

Set this as ‘0’ to skip the number of items from the response body.

querystring

Set this to {{{key}}:{{value}}}. This key allows you to fetch the data that matches the query value.

ascstring

Set this to {{key}}. This key will fetch the data in the ascending order as per the defined value.

descstring

Set this to {{key}}. This key will fetch the data in the descending order as per the defined value.

only[BASE][]string

Set this to {{key}}. This key will only return the data defined in the value field.

except[BASE][]string

Set this to {{key}}. This key will not return the data defined in the value field.

Headers

branchstring

Enter your branch unique ID.

Response

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

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

Was this page helpful?