Summary
restQuery Task
Description
Interface to make rest queries to NSO
Route
POST /nso_manager/restQuery/:adapterId
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
adapterId |
string |
yes |
Name of the adapter instance. |
params |
object |
yes |
Parameters such as path and content-type |
Copied to Clipboard
{
"params": {
"path": "/restconf/data/tailf-ncs:devices/commit-queue",
"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. |
Copied to Clipboard
{
"instance_data": {
"A": "cupidatat est reprehenderit",
"dXbUSSX": "officia ad Duis mollit",
"bHNuswQ": "id qui",
"AZcfuxOiCzI": "nulla",
"cZyyzN": "Excepteur dolor id"
}
}