Summary
Get Filtered Devices
Description
Get the devices with name matching the given options.
Route
POST /mop/deviceObjects
Roles
admin
engineering
support
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
options |
object |
yes |
Options to filter devices |
Copied to Clipboard
{
"options": {
"start": 0,
"limit": 25,
"entity": "device1",
"filter": "filter",
"sort": [
{
"name": 1
}
]
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"options": {
"title": "options",
"$ref": "mopTemplateDoc#/definitions/options"
}
},
"required": [
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
devices |
array |
Filtered devices |
Copied to Clipboard
[
{
"name": "ASR1K-MOP",
"authgroup": "default",
"address": "127.0.0.1",
"port": "12035",
"device-type": "netconf",
"ned": "nso46",
"admin": true,
"host": "Local Host",
"groups": [
"Group1",
"Group1",
"Group1",
"Group1",
"Group1"
]
},
{
"name": "ASR1K-MOP",
"authgroup": "csr-aws",
"address": "127.0.0.1",
"port": "12035",
"device-type": "netconf",
"ned": "nso46",
"admin": true,
"host": "Local Host",
"groups": [
"Group1",
"Group1",
"Group1"
]
},
{
"name": "ASR1K-MOP",
"authgroup": "csr-aws",
"address": "127.0.0.1",
"port": "12035",
"device-type": "netconf",
"ned": "nso46",
"admin": true,
"host": "Local Host",
"groups": [
"Group1",
"Group1",
"Group1"
]
},
{
"name": "ASR1K-MOP",
"authgroup": "csr-aws",
"address": "127.0.0.1",
"port": "12035",
"device-type": "netconf",
"ned": "nso46",
"admin": true,
"host": "Local Host",
"groups": [
"Group1",
"Group1",
"Group1"
]
},
{
"name": "ASR1K-MOP",
"authgroup": "csr-aws",
"address": "127.0.0.1",
"port": "12035",
"device-type": "netconf",
"ned": "nso46",
"admin": false,
"host": "Local Host",
"groups": [
"Group1",
"Group1",
"Group1",
"Group1",
"Group1"
]
}
]