Skip to main content

List entries by content type

Log in to add to favourites
GET/api/delivery/projects/{projectId}/contenttypes/{contentTypeId}/entries

Parameters

NameParameter typeTypeFormatDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management consolemovieDbtrue
contentTypeIdpathstringThe content type identifier.true
versionStatusquerystringThe status of the associated entry, either published or latest. The default is publishedfalse
linkDepthquerynumberintegerThe depth at which to resolve the full entry data for a linked entry or asset, with a maximum depth value of 10false
pageIndexquerynumberintegerThe index of the pagefalse
pageSizequerynumberintegerThe number of results per page. The default is 25.false
orderquerystringA comma-separated list of the field Ids to order the results by. Prefix field Id with - for descending order.-version.modifiedfalse
fieldsquerystringA comma-separated list of field ids to restrict the fields returned for an entryfalse
languagepathstring[...]languageA comma separated list of variations to deletefr,defalse
fieldLinkDepthsqueryobjectLink 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

HTTP status codeReasonModel
200SuccessEntry
401UnauthorizedError
404Project not foundError
404Content type not foundError
500Internal server errorError

Examples

List of all movie entries

HTTP
1
GET: /api/delivery/projects/movieDb/contentTypes/movies/entries/

List of all movie entries translated to German

HTTP
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

HTTP
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

HTTP
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)

HTTP
1
GET: /api/delivery/projects/movieDb/contentTypes/movies/entries?fieldLinkDepths={"director":1,"actors":2}

List the latest version of all movies

HTTP
1
GET: /api/delivery/projects/movieDb/contentTypes/movies/entries?versionStatus=latest

Still need help?

New support request