Cyan Web API - Version 1


GET api/nodes/{nodeId}/tree

            Gets a Node resource.
            

Request Information

Parameters

NameDescriptionAdditional information
nodeId

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "tenantId": "a29586ed-7df3-443c-95e0-4fcb8061cb06",
    "nodeId": "c1c64742-1021-4ba5-ae6c-e058da3a2d99",
    "type": "sample string 3",
    "id": "sample string 4",
    "parentType": "sample string 5",
    "parentId": "sample string 6",
    "title": "sample string 7",
    "props": {
      "sample string 1": {},
      "sample string 3": {},
      "sample string 5": {}
    },
    "refs": {
      "sample string 1": {
        "type": "sample string 1",
        "id": "sample string 2"
      },
      "sample string 2": {
        "type": "sample string 1",
        "id": "sample string 2"
      },
      "sample string 3": {
        "type": "sample string 1",
        "id": "sample string 2"
      }
    },
    "cyanId": 8,
    "subjectToCleanup": true,
    "createdDateUtc": "2025-04-21T01:00:59.7300871+00:00",
    "updatedDateUtc": "2025-04-21T01:00:59.7300871+00:00"
  },
  {
    "tenantId": "a29586ed-7df3-443c-95e0-4fcb8061cb06",
    "nodeId": "c1c64742-1021-4ba5-ae6c-e058da3a2d99",
    "type": "sample string 3",
    "id": "sample string 4",
    "parentType": "sample string 5",
    "parentId": "sample string 6",
    "title": "sample string 7",
    "props": {
      "sample string 1": {},
      "sample string 3": {},
      "sample string 5": {}
    },
    "refs": {
      "sample string 1": {
        "type": "sample string 1",
        "id": "sample string 2"
      },
      "sample string 2": {
        "type": "sample string 1",
        "id": "sample string 2"
      },
      "sample string 3": {
        "type": "sample string 1",
        "id": "sample string 2"
      }
    },
    "cyanId": 8,
    "subjectToCleanup": true,
    "createdDateUtc": "2025-04-21T01:00:59.7300871+00:00",
    "updatedDateUtc": "2025-04-21T01:00:59.7300871+00:00"
  },
  {
    "tenantId": "a29586ed-7df3-443c-95e0-4fcb8061cb06",
    "nodeId": "c1c64742-1021-4ba5-ae6c-e058da3a2d99",
    "type": "sample string 3",
    "id": "sample string 4",
    "parentType": "sample string 5",
    "parentId": "sample string 6",
    "title": "sample string 7",
    "props": {
      "sample string 1": {},
      "sample string 3": {},
      "sample string 5": {}
    },
    "refs": {
      "sample string 1": {
        "type": "sample string 1",
        "id": "sample string 2"
      },
      "sample string 2": {
        "type": "sample string 1",
        "id": "sample string 2"
      },
      "sample string 3": {
        "type": "sample string 1",
        "id": "sample string 2"
      }
    },
    "cyanId": 8,
    "subjectToCleanup": true,
    "createdDateUtc": "2025-04-21T01:00:59.7300871+00:00",
    "updatedDateUtc": "2025-04-21T01:00:59.7300871+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNodeRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
  <NodeRepresentation>
    <CreatedDateUtc>2025-04-21T01:00:59.7300871+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-04-21T01:00:59.7300871+00:00</UpdatedDateUtc>
    <CyanId>8</CyanId>
    <Id>sample string 4</Id>
    <NodeId>c1c64742-1021-4ba5-ae6c-e058da3a2d99</NodeId>
    <ParentId>sample string 6</ParentId>
    <ParentType>sample string 5</ParentType>
    <Props xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 5</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
    </Props>
    <Refs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>
          <Id>sample string 2</Id>
          <Type>sample string 1</Type>
        </d3p1:Value>
      </d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
      <d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d3p1:Key>sample string 2</d3p1:Key>
        <d3p1:Value>
          <Id>sample string 2</Id>
          <Type>sample string 1</Type>
        </d3p1:Value>
      </d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
      <d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>
          <Id>sample string 2</Id>
          <Type>sample string 1</Type>
        </d3p1:Value>
      </d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
    </Refs>
    <SubjectToCleanup>true</SubjectToCleanup>
    <TenantId>a29586ed-7df3-443c-95e0-4fcb8061cb06</TenantId>
    <Title>sample string 7</Title>
    <Type>sample string 3</Type>
  </NodeRepresentation>
  <NodeRepresentation>
    <CreatedDateUtc>2025-04-21T01:00:59.7300871+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-04-21T01:00:59.7300871+00:00</UpdatedDateUtc>
    <CyanId>8</CyanId>
    <Id>sample string 4</Id>
    <NodeId>c1c64742-1021-4ba5-ae6c-e058da3a2d99</NodeId>
    <ParentId>sample string 6</ParentId>
    <ParentType>sample string 5</ParentType>
    <Props xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 5</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
    </Props>
    <Refs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>
          <Id>sample string 2</Id>
          <Type>sample string 1</Type>
        </d3p1:Value>
      </d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
      <d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d3p1:Key>sample string 2</d3p1:Key>
        <d3p1:Value>
          <Id>sample string 2</Id>
          <Type>sample string 1</Type>
        </d3p1:Value>
      </d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
      <d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>
          <Id>sample string 2</Id>
          <Type>sample string 1</Type>
        </d3p1:Value>
      </d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
    </Refs>
    <SubjectToCleanup>true</SubjectToCleanup>
    <TenantId>a29586ed-7df3-443c-95e0-4fcb8061cb06</TenantId>
    <Title>sample string 7</Title>
    <Type>sample string 3</Type>
  </NodeRepresentation>
  <NodeRepresentation>
    <CreatedDateUtc>2025-04-21T01:00:59.7300871+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-04-21T01:00:59.7300871+00:00</UpdatedDateUtc>
    <CyanId>8</CyanId>
    <Id>sample string 4</Id>
    <NodeId>c1c64742-1021-4ba5-ae6c-e058da3a2d99</NodeId>
    <ParentId>sample string 6</ParentId>
    <ParentType>sample string 5</ParentType>
    <Props xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 5</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
    </Props>
    <Refs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>
          <Id>sample string 2</Id>
          <Type>sample string 1</Type>
        </d3p1:Value>
      </d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
      <d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d3p1:Key>sample string 2</d3p1:Key>
        <d3p1:Value>
          <Id>sample string 2</Id>
          <Type>sample string 1</Type>
        </d3p1:Value>
      </d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
      <d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>
          <Id>sample string 2</Id>
          <Type>sample string 1</Type>
        </d3p1:Value>
      </d3p1:KeyValueOfstringNodeRefRepresentationPuhFCfmt>
    </Refs>
    <SubjectToCleanup>true</SubjectToCleanup>
    <TenantId>a29586ed-7df3-443c-95e0-4fcb8061cb06</TenantId>
    <Title>sample string 7</Title>
    <Type>sample string 3</Type>
  </NodeRepresentation>
</ArrayOfNodeRepresentation>