Skip to main content
Browse Documentation
HTTP - Delivery

Get sibling nodes

Created by Contensis product team, last updated 22 Jun 2020

Gets all nodes that are siblings under the current node's parent.

GET/api/delivery/projects/{projectId}/nodes/{nodeId}/siblings

Parameters

NameParameter typeTypeFormatDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management consolemovieDbtrue
nodeIdpathstringuuidThe node identifier as a 128 bit GUIDtrue
languagequerystringlanguageThe specified language for the node. If no value is provided then the project primary language is usedfalse
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/4058eaf7-de18-4857-ad2b-fdafe52d2f47/siblings?language=en-GB&versionStatus=latest

Remarks

If an order has been set for the sibling nodes then they will be returned in the defined order, otherise they will be returned ordered by the created date ascending.

Responses

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