HTTP - Delivery
Removed from your favourites
List entries
Created by Contensis product team on 15 Jun 2020
GET/api/delivery/projects/{projectId}/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 | |
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 | query | string | language | The specified language for the node. If no value is provided then the project primary language is used | false |
Examples
List all entries - actors, movies, directors, etc.
HTTP
GET: /api/delivery/projects/movieDb/entries/
List all entries translated to German
HTTP
GET: /api/delivery/projects/movieDb/entries/?language=de
List all entries translated to German and ordered by published date descending
HTTP
GET: /api/delivery/projects/movieDb/entries/?language=de&order=-sys.published
List all entries with their direct child entries, assets and images resolved
HTTP
GET: /api/delivery/projects/movieDb/entries/?linkDepth=1
List the latest version of all entries
HTTP
GET: /api/delivery/projects/movieDb/entries/?versionStatus=latest
Responses
HTTP status code | Reason | Model |
---|---|---|
200 | Success | PagedList<Entry> |
401 | Unauthorized | Error |
404 | Project not found | Error |
404 | Content type not found | Error |
500 | Internal server error | Error |