Summary
Query an NSO Xpath
Description
Queries NSO for an Xpath and returns result.
Route
No Northbound API Available
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
path |
string |
yes |
The service path of the target service model. |
key |
string |
yes |
The leaf name you want to filter by. |
value |
string |
yes |
Substring to filter the key with. |
Copied to Clipboard
{
"path": "ipsum cillum dolor",
"key": "consectetur dolore dolor",
"value": "in deserunt sint"
}
Copied to Clipboard
{
"type": "object",
"properties": {
"path": {
"type": "string",
"title": "path",
"required": [
"path"
],
"example": "/devices/device"
},
"key": {
"type": "string",
"title": "key",
"required": [
"key"
],
"example": "name"
},
"value": {
"type": "string",
"title": "value",
"example": "-east-"
}
},
"required": [
"path",
"key",
"value"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
array |
- |
Copied to Clipboard
{
"type": "array",
"title": "result",
"example": [
{
"name": "firewall-east-1"
},
{
"name": "firewall-east-2"
},
{
"name": "router-east-1"
},
{
"name": "bridge-east-2"
}
]
}