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
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 | |
nodeId | path | string | uuid | The node identifier as a 128 bit GUID | true | |
language | query | string | language | The specified language for the node. If no value is provided then the project primary language is used | false | |
versionStatus | query | string | The status of the associated entry, either published or latest. The default is published | false | ||
entryFields | query | string | A comma separated list of entry fields to include in the entry response. Specify * to include all entry fields | false | ||
entryLinkDepth | query | number | The depth at which to resolve the full entry data for a linked entry or asset, with a maximum depth value of 10 | false |
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 code | Reason | Model |
---|---|---|
200 | Success | Node [...] |
404 | Project not found | Error |
404 | Node not found | Error |
500 | Internal server error | Error |