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 typeTypeFormatDescription
projectId(required)pathstring-The project identifier found in the project overview screen of the management console.
contentTypeId(required)pathstring-The content type identifier.
versionStatusquerystring-The status of the associated entry, either published or latest. The default is published
linkDepthquerynumberintegerThe depth at which to resolve the full entry data for a linked entry or asset, with a maximum depth value of 10
pageIndexquerynumberintegerThe index of the page.
pageSizequerynumberintegerThe number of results per page. The default is 25.
orderquerystring-A comma-separated list of the field Ids to order the results by. Prefix field Id with - for descending order.
fieldsquerystring-A comma-separated list of field ids to restrict the fields returned for an entry
languagepathstring[...]languageA comma separated list of variations to delete
fieldLinkDepthsqueryobject-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

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

Examples

List of all movie entries

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

List of all movie entries translated to German

HTTP
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
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
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
GET: /api/delivery/projects/movieDb/contentTypes/movies/entries?fieldLinkDepths={"director":1,"actors":2}

List the latest version of all movies

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

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request