List entries by content type
Log in to add to favouritesGET/api/delivery/projects/{projectId}/contenttypes/{contentTypeId}/entries
Parameters
Name | Parameter type | Type | Format | Description | Example | Required |
---|---|---|---|---|---|---|
projectId | path | string | The project identifier found in the project overview screen of the management console | movieDb | true | |
contentTypeId | path | string | The content type identifier. | true | ||
versionStatus | query | string | The status of the associated entry, either published or latest. The default is published | false | ||
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 | false | |
pageIndex | query | number | integer | The index of the page | false | |
pageSize | query | number | integer | The number of results per page. The default is 25. | false | |
order | query | string | A comma-separated list of the field Ids to order the results by. Prefix field Id with - for descending order. | -version.modified | false | |
fields | query | string | A comma-separated list of field ids to restrict the fields returned for an entry | false | ||
language | path | string[...] | language | A comma separated list of variations to delete | fr,de | false |
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) | {"field1":2,"composer":1,"composer.component.field":2} | false |
Responses
Examples
List of all movie entries
1
GET: /api/delivery/projects/movieDb/contentTypes/movies/entries/
List of all movie entries translated to German
1
GET: /api/delivery/projects/movieDb/contentTypes/movies/entries?language=de
List of all movie entries translated to German and ordered by release date descending
1
GET: /api/delivery/projects/movieDb/contentTypes/movies/entries?language=de&order=-releaseDate
List of all movie entries with their direct child entries, assets and images resolved
1
GET: /api/delivery/projects/movieDb/contentTypes/movies/entries?linkDepth=1
List of all movie entries with direct child entries, assets and images resolved for only two fields (version 16+ only)
1
GET: /api/delivery/projects/movieDb/contentTypes/movies/entries?fieldLinkDepths={"director":1,"actors":2}
List the latest version of all movies
1
GET: /api/delivery/projects/movieDb/contentTypes/movies/entries?versionStatus=latest