Get Discovery Results

get

/api/app/discovery/{zoneid}/v2/devices/discoveryResults/

Gets the result of a discovery request.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : DiscoveryResultResponse
Type: object
The discovery request results.
Show Source
Example:
{
    "DiscoveryContexts":[
        {
            "DiscoveryContextID":"disco-01f107bd-655f-42e0-ae1c-ac4740e734e7",
            "TimestampInitiated":1702214858,
            "TimeValidS":1216,
            "TimestampExpiration":1702214858,
            "InventoryHandler":"inventory-engine-name",
            "Request":{
                "Configuration":{
                    "ForcedProtocolDiscovery":true,
                    "ContextExpiryTimeM":60,
                    "ICMPConfiguration":[
                        {
                            "Mode":1,
                            "Timeouts":10,
                            "Count":5,
                            "CascadeMs":5
                        }
                    ],
                    "SNMPConfiguration":[
                        {
                            "Method":"BULK",
                            "IsTCP":false,
                            "NetworkOptions":{
                                "Timeout":"5s",
                                "ExponentialTimeout":false,
                                "Retries":3,
                                "MaxOids":100,
                                "MaxRepetitions":50,
                                "NonRepeaters":1
                            },
                            "CustomSNMPAccessProfiles":[
                                {
                                    "Version":2,
                                    "ProfileID":1,
                                    "UUID":"df29b366-c3a4-4a89-8ec8-2f1527276c75",
                                    "Priority":1,
                                    "Port":161,
                                    "MTU":1456,
                                    "Auth":{
                                        "Community":"public",
                                        "Username":"user",
                                        "AuthType":"AUTHPRIV",
                                        "AuthPassphrase":"QXV0aFBhc3N3b3Jk",
                                        "AuthProtocol":"SHA256",
                                        "PrivPassphrase":"UHJpdlBhc3N3b3Jk",
                                        "PrivProtocol":"AES",
                                        "AuthEngineID":"80001adc802417e202b8613f5400000000"
                                    }
                                }
                            ]
                        }
                    ],
                    "RESTConfiguration":[
                        {
                            "Url":"192.0.2.0",
                            "Protocol":"https",
                            "Port":8080,
                            "APIAccessID":"dGVzdA==",
                            "APIAccessKey":"dGVzdA==",
                            "APIType":"vmware"
                        }
                    ]
                },
                "IPranges":[
                    "192.0.2.0/24",
                    "198.51.100.0-198.51.100.5"
                ],
                "IPList":[
                    "203.0.113.0",
                    "203.0.113.1"
                ],
                "Level":[
                    [
                        1,
                        2,
                        3
                    ]
                ],
                "InventoryEngine":"inventory-engine-name"
            },
            "ExecutionConfiguration":{
                "ForcedProtocolDiscovery":true,
                "ContextExpiryTimeM":60,
                "ICMPConfiguration":[
                    {
                        "Mode":1,
                        "Timeouts":10,
                        "Count":5,
                        "CascadeMs":5
                    }
                ],
                "SNMPConfiguration":[
                    {
                        "Method":"BULK",
                        "IsTCP":false,
                        "NetworkOptions":{
                            "Timeout":"5s",
                            "ExponentialTimeout":false,
                            "Retries":3,
                            "MaxOids":100,
                            "MaxRepetitions":50,
                            "NonRepeaters":1
                        },
                        "CustomSNMPAccessProfiles":[
                            {
                                "Version":2,
                                "ProfileID":1,
                                "UUID":"df29b366-c3a4-4a89-8ec8-2f1527276c75",
                                "Priority":1,
                                "Port":161,
                                "MTU":1456,
                                "Auth":{
                                    "Community":"public",
                                    "Username":"user",
                                    "AuthType":"AUTHPRIV",
                                    "AuthPassphrase":"QXV0aFBhc3N3b3Jk",
                                    "AuthProtocol":"SHA256",
                                    "PrivPassphrase":"UHJpdlBhc3N3b3Jk",
                                    "PrivProtocol":"AES",
                                    "AuthEngineID":"80001adc802417e202b8613f5400000000"
                                }
                            }
                        ]
                    }
                ],
                "RESTConfiguration":[
                    {
                        "Url":"192.0.2.0",
                        "Protocol":"https",
                        "Port":8080,
                        "APIAccessID":"dGVzdA==",
                        "APIAccessKey":"dGVzdA==",
                        "APIType":"vmware"
                    }
                ]
            }
        },
        {
            "DiscoveryContextID":"disco-9794ffd7-0cb3-4f90-a17f-be527c46753d",
            "TimestampInitiated":1702214858,
            "TimeValidS":3587,
            "TimestampExpiration":1702214858,
            "InventoryHandler":"inventory-engine-name",
            "Request":{
                "Configuration":{
                    "ForcedProtocolDiscovery":true,
                    "ContextExpiryTimeM":60,
                    "ICMPConfiguration":[
                        {
                            "Mode":0,
                            "Timeouts":3,
                            "Count":10,
                            "CascadeMs":10
                        }
                    ],
                    "SNMPConfiguration":[
                        {
                            "Method":"BULK",
                            "IsTCP":false,
                            "NetworkOptions":{
                                "Timeout":"10s",
                                "ExponentialTimeout":false,
                                "Retries":3,
                                "MaxOids":100,
                                "MaxRepetitions":50,
                                "NonRepeaters":1
                            },
                            "CustomSNMPAccessProfiles":[
                                {
                                    "Version":2,
                                    "ProfileID":1,
                                    "UUID":"ef29b365-d3a3-5a88-9ec7-3f1527276c74",
                                    "Priority":1,
                                    "Port":161,
                                    "MTU":1456,
                                    "Auth":{
                                        "Community":"public",
                                        "Username":"user",
                                        "AuthType":"AUTHPRIV",
                                        "AuthPassphrase":"QXV0aFBhc3N3b3Jk",
                                        "AuthProtocol":"SHA256",
                                        "PrivPassphrase":"UHJpdlBhc3N3b3Jk",
                                        "PrivProtocol":"AES",
                                        "AuthEngineID":"80002adc802417e202b8613f5400000000"
                                    }
                                }
                            ]
                        }
                    ],
                    "RESTConfiguration":[
                        {
                            "Url":"192.0.2.0",
                            "Protocol":"https",
                            "Port":8081,
                            "APIAccessID":"dGVzdA==",
                            "APIAccessKey":"dGVzdA==",
                            "APIType":"vmware"
                        }
                    ]
                },
                "IPranges":[
                    "192.0.2.0/24",
                    "198.51.100.0-198.51.100.5"
                ],
                "IPList":[
                    "203.0.113.0",
                    "203.0.113.1"
                ],
                "Level":[
                    [
                        1,
                        2,
                        3
                    ]
                ],
                "InventoryEngine":"inventory-engine-name"
            },
            "ExecutionConfiguration":{
                "ForcedProtocolDiscovery":true,
                "ContextExpiryTimeM":60,
                "ICMPConfiguration":[
                    {
                        "Mode":1,
                        "Timeouts":10,
                        "Count":5,
                        "CascadeMs":5
                    }
                ],
                "SNMPConfiguration":[
                    {
                        "Method":"BULK",
                        "IsTCP":false,
                        "NetworkOptions":{
                            "Timeout":"10s",
                            "ExponentialTimeout":false,
                            "Retries":3,
                            "MaxOids":100,
                            "MaxRepetitions":50,
                            "NonRepeaters":1
                        },
                        "CustomSNMPAccessProfiles":[
                            {
                                "Version":2,
                                "ProfileID":1,
                                "UUID":"ef29b365-d3a3-5a88-9ec7-3f1527276c74",
                                "Priority":1,
                                "Port":161,
                                "MTU":1456,
                                "Auth":{
                                    "Community":"public",
                                    "Username":"user",
                                    "AuthType":"AUTHPRIV",
                                    "AuthPassphrase":"QXV0aFBhc3N3b3Jk",
                                    "AuthProtocol":"SHA256",
                                    "PrivPassphrase":"UHJpdlBhc3N3b3Jk",
                                    "PrivProtocol":"AES",
                                    "AuthEngineID":"80002adc802417e202b8613f5400000000"
                                }
                            }
                        ]
                    }
                ],
                "RESTConfiguration":[
                    {
                        "Url":"192.0.2.0",
                        "Protocol":"https",
                        "Port":8081,
                        "APIAccessID":"dGVzdA==",
                        "APIAccessKey":"dGVzdA==",
                        "APIType":"vmware"
                    }
                ]
            }
        }
    ]
}
Nested Schema : DiscoveryContexts
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : ExecutionConfiguration
Type: object
The configuration for running discovery.
Show Source
Nested Schema : Request
Type: object
The configuration provided for discovery.
Show Source
Nested Schema : ICMPConfiguration
Type: array
The ICMP configuration for discovery.
Show Source
Nested Schema : RESTConfiguration
Type: array
The REST configuration for discovery.
Show Source
Nested Schema : SNMPConfiguration
Type: array
The SNMP configuration for discovery.
Show Source
Nested Schema : ICMPConfiguration
Type: object
The ICMP payload configuration.
Show Source
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of milliseconds between two successful pings.
    Example: 5
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of ping requests to send.
    Example: 5
  • Allowed Values: [ 0, 1 ]
    The ICMP mode. Possible values are 0 for synchronous and 1 for asynchronous.
    Example: 1
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of milliseconds to wait for the ping message corresponding to a given ping message.
    Example: 10
Nested Schema : RESTConfiguration
Type: object
REST configurations for Cisco Meraki, Juniper MIST and VMWare connections.
Show Source
Nested Schema : SNMPConfiguration
Type: object
The SNMP payload configuration.
Show Source
Nested Schema : CustomSNMPAccessProfiles
Type: array
The list of custom SNMP access profiles.
Show Source
Nested Schema : NetworkOptions
Type: object
Network options for SNMP communication.
Show Source
  • Allowed Values: [ true, false ]
    The status is enabled to timeout exponentially if the request fails.
    Example: false
  • Minimum Value: 0
    Maximum Value: 128
    The maximum SNMP OID value.
    Example: 100
  • Minimum Value: 0
    Maximum Value: 2147483647
    The maximum number of repetitions.
    Example: 50
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of non repeaters.
    Example: 1
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of times to retry the request.
    Example: 3
  • Allowed Values: [ "1s", "2m", "3h", "4d" ]
    The number of seconds, minutes, hours, or days before the request times out.
    Example: 5s
Nested Schema : CustomSNMPAccessProfile
Type: object
A custom SNMP access profile.
Show Source
Nested Schema : CustomSNMPAccessProfileAuth
Type: object
Custom SNMP access profile authentication information.
Show Source
Nested Schema : Configuration
Type: object
The ICMP, SNMP and REST configurations for discovery.
Show Source
Nested Schema : IPList
Type: array
The list of IP addresses to perform discovery on.
Show Source
Example:
[
    "203.0.113.0",
    "203.0.113.1"
]
Nested Schema : IPranges
Type: array
The list of IP ranges to perform discovery on. Supports CIDR ranges.
Show Source
Example:
[
    "192.0.2.0/24",
    "198.51.100.0-198.51.100.5"
]
Nested Schema : Level
Type: array
The types of polling enabled for discovery. Possible values are 1 for ping, 2 for SNMP, and 3 for REST.
Show Source
Nested Schema : ICMPConfiguration
Type: array
The ICMP configuration for discovery.
Show Source
Nested Schema : RESTConfiguration
Type: array
The REST configuration for discovery.
Show Source
Nested Schema : SNMPConfiguration
Type: array
The SNMP configuration for discovery.
Show Source

401 Response

Unauthorized operation

500 Response

Internal server error
Back to Top