Summary
Make REST Query to NSO
Description
Task to do rest queries to NSO
Route
No Northbound API Available
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
params |
object |
yes |
Parameters such as path and content-type |
Copied to Clipboard
{
"params": {
"path": "/api/operational/devices/commit-queue?deep",
"accept": "application/yang-data+json"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"params": {
"properties": {
"path": {
"type": "string",
"examples": [
"/api/operational/devices/commit-queue?deep",
"/restconf/data/tailf-ncs:devices/commit-queue"
]
},
"accept": {
"type": "string",
"examples": [
"application/vnd.yang.data+json",
"application/yang-data+json"
]
}
},
"required": [
"path",
"accept"
]
}
},
"required": [
"params"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
array |
Array of results from rest Query |
Copied to Clipboard
{
"description": "Array of results from rest Query",
"type": "array"
}