List entries by content type
Log in to add to favouritesPage last updated 11 January 2024
GET/api/delivery/projects/{projectId}/contenttypes/{contentTypeId}/entries
Parameters
| Name | Parameter type | Type | Format | Description |
|---|---|---|---|---|
| projectId(required) | path | string | - | The project identifier found in the project overview screen of the management console. |
| contentTypeId(required) | path | string | - | The content type identifier. |
| versionStatus | query | string | - | The status of the associated entry, either published or latest. The default is published |
| linkDepth | query | number | integer | The depth at which to resolve the full entry data for a linked entry or asset, with a maximum depth value of 10 |
| pageIndex | query | number | integer | The index of the page. |
| pageSize | query | number | integer | The number of results per page. The default is 25. |
| order | query | string | - | A comma-separated list of the field Ids to order the results by. Prefix field Id with - for descending order. |
| fields | query | string | - | A comma-separated list of field ids to restrict the fields returned for an entry |
| language | path | string[...] | language | A comma separated list of variations to delete |
| fieldLinkDepths | query | object | - | Link depths for specific field paths to resolve the full entry data for a linked entry or asset, with a maximum depth value of 10 (version 16+ only) |
Responses
Examples
GET: /api/delivery/projects/movieDb/contentTypes/movies/entries/GET: /api/delivery/projects/movieDb/contentTypes/movies/entries?language=deGET: /api/delivery/projects/movieDb/contentTypes/movies/entries?language=de&order=-releaseDateGET: /api/delivery/projects/movieDb/contentTypes/movies/entries?linkDepth=1GET: /api/delivery/projects/movieDb/contentTypes/movies/entries?fieldLinkDepths={"director":1,"actors":2}GET: /api/delivery/projects/movieDb/contentTypes/movies/entries?versionStatus=latest