Skip to main content
Browse Documentation
HTTP - Delivery

List entries by content type

Created by Contensis product team on 15 Jun 2020

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

Examples

List of all movie entries

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

List of all movie entries translated to German

GET: /api/delivery/projects/movieDb/contentTypes/movies/entries?language=de

List of all movie entries translated to German and ordered by release date descending

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

GET: /api/delivery/projects/movieDb/contentTypes/movies/entries?linkDepth=1

List the latest version of all movies

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

Responses

HTTP status codeReasonModel
200SuccessPagedList<Entry>
401UnauthorizedError
404Project not foundError
404Content type not foundError
500Internal server errorError