For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI ReferenceRelease notes
DocumentationAPI ReferenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Integration API routes
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTCreate a command template
        • POSTCreate an analytic template
        • POSTDelete a command template
        • POSTDelete an analytic template
        • POSTExport template
        • POSTFind the diff of two config strings
        • GETGet a command template by name
        • GETGet all analytic templates
        • GETGet all command templates
        • GETGet an analytic template by name
        • POSTGet filtered devices
        • GETGet filtered devices
        • GETGet filtered devices with detailed query results
        • POSTImport template
        • POSTMOP diff array
        • POSTMOP get boot flash
        • POSTMOP passthrough
        • POSTRetry a task automatically
        • POSTRun a command against a device
        • POSTRun a command against devices
        • POSTRun an analytics template
        • POSTRun an analytics template for devices
        • POSTRun command template
        • POSTRun single command from template
        • POSTUpdate a command template
        • POSTUpdate an analytic template
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceMop

Get filtered devices

POST
http://localhost:3000/mop/deviceObjects
POST
/mop/deviceObjects
$curl -X POST http://localhost:3000/mop/deviceObjects \
> -H "Content-Type: application/json" \
> -u "<username>:<password>" \
> -d '{}'
1[
2 {
3 "name": "ASR1K-MOP",
4 "authgroup": "csr-aws",
5 "address": "127.0.0.1",
6 "port": "12035",
7 "device-type": "netconf",
8 "ned": "nso46",
9 "admin": true,
10 "host": "Local Host",
11 "groups": [
12 "Cisco"
13 ]
14 }
15]
Get the devices with name matching the given options.
Was this page helpful?
Previous

Get filtered devices

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Request

request body
optionsobjectOptional

Response

Filtered devices
namestring
authgroupstring
addressstring
portstring
device-typestring
nedstring
adminboolean
hoststring
groupslist of strings

Errors

500
Internal Server Error