Get the list of values referenced by a Leafref field of a service model.
Route
POST /nso_manager/getLeafrefValues
Roles
admin
Parameters
DetailsExampleSchema
Name
Type
Required
Description
servicePath
string
yes
The service path of the target service model.
jsonPointer
string
yes
The json pointer to the target field in the service model.
serviceData
object
yes
A valid service instance of the target service model in JSON format.
Copied to Clipboard
{
"servicePath": "adipisicing labore laborum voluptate",
"jsonPointer": "ex eu ut dolore sit",
"serviceData": null
}
Copied to Clipboard
{
"type": "object",
"properties": {
"servicePath": {
"description": "The service path of the target service model.",
"type": "string"
},
"jsonPointer": {
"description": "The json pointer to the target field in the service model.",
"type": "string"
},
"serviceData": {
"description": "A valid service instance of the target service model in JSON format.",
"type": "object",
"properties": {},
"required": [
"serviceData"
],
"additionalProperties": false
}
},
"required": [
"servicePath",
"jsonPointer",
"serviceData"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name
Type
Description
result
array
Array of results.
Copied to Clipboard
[]
Copied to Clipboard
{
"description": "Array of results.",
"type": "array"
}