Skip to main content
Browse Documentation
HTTP - Delivery

Get the root node

Created by Contensis product team, last updated 22 Jun 2020

Gets the root node for a project.

GET/api/delivery/projects/{projectId}/nodes/root

Parameters

NameParameter typeTypeFormatDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management consolemovieDbtrue
languagequerystringlanguageThe specified language for the node. If no value is provided then the project primary language is usedfalse
depthquerynumberThe depth of descendants to include for the node. The default is 0. This parameter only has an effect if canonicalOnly has a value of truefalse
versionStatusquerystringThe status of the associated entry, either published or latest. The default is publishedfalse
entryFieldsquerystringA comma separated list of entry fields to include in the entry response. Specify * to include all entry fieldsfalse
entryLinkDepthquerynumberThe depth at which to resolve the full entry data for a linked entry or asset, with a maximum depth value of 10false

Example

GET: /api/delivery/projects/movieDb/nodes/root/?language=de&depth=1&versionStatus=published

Responses

HTTP status codeReasonModel
200SuccessNode
404Project not foundError
404Node not foundError
500Internal server errorError