Get All Metadata
GET https://{{base_url}}/v3/metadata/
The Get All Metadata request returns comprehensive information of all the metadata attached to all the entries and assets in your stack.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.
Read more about it in Authentication.
For more information, refer to the Get All Metadata API Reference document
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
include_branch | boolean | 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_stack | boolean | Set this to 'true' to fetch data from multiple stacks. | |
include_multi_branch | boolean | Set this to 'true' to fetch data from multiple branches. | |
include_title[] | string | Set this to ‘stack’ to fetch the name of the stack. | |
include_title[] | string | Set this to ‘entity’ to fetch the title of the entity. Entity could be either entry or asset. | |
include_title[] | string | Set this to ‘content_type’ to fetch the name of the content type. | |
limit | number | Set the limit in between ‘0-100’ to limit the number of items returned as response. | |
skip | number | Set this as ‘0’ to skip the number of items from the response body. | |
query | string | Set this to {{{key}}:{{value}}}. This key allows you to fetch the data that matches the query value. | |
asc | string | Set this to {{key}}. This key will fetch the data in the ascending order as per the defined value. | |
desc | string | 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
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | Enter the API key of the stack. | |
authtoken | string | Enter your authtoken. | |
authorization | string | For this call we recommend you to use management token. | |
Content-Type | string | Enter "application/json" to pass a Request body. | |
branch | string | Enter your branch or alias unique ID. |