...
POST /dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description Get a node given an anchor for the given dataspace (return just one level with just xpath references to its children) | |||||||||||||||
Request Body { "xpath" : "/dataspace/anchors/nodes//module[@xmlns="urn:ietf:params:xml:ns:yang:yin:1"]/container[@name="bookstore"]@name" } | |||||||||||||||
Request Parameters:
| |||||||||||||||
200 – OK – Everything is working | |||||||||||||||
Example Response
|
POST /dataspaces/{dataspace-id}/nodes | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Description Get a node (under any anchor) given a Xpath expression for the given dataspace Get all the relevant nodes given a schema node identifier for the given dataspace | ||||||||||
Request Body { "xpath" : "/dataspace/anchor/nodes/module[@xmlns="urn:ietf:params:xml:ns:yang:yin:1"]/container[@name="bookstore"]@name" } | ||||||||||
Request Parameters:
| ||||||||||
200 – OK – Everything is working | ||||||||||
Example Response
|
Payload Data Structures
Schema definitions
...