Fetching networks for the staged director.

Fetching networks for the staged director.
Fetching networks for the staged director.

Fetches the collection of networks and subnets.

Request
URI
GET
https://{opsmanager-installation}/api/v0/staged/director/networks
COPY
Responses
200

OK

Returns Networks of type(s) application/json
{
    "icmp_checks_enabled": false,
    "networks": [
        {
            "guid": "string",
            "name": "string",
            "subnets": [
                {
                    "guid": "string",
                    "iaas_identifier": "string",
                    "cidr": "string",
                    "dns": "string",
                    "gateway": "string",
                    "reserved_ip_ranges": "string"
                }
            ]
        }
    ]
}
boolean
icmp_checks_enabled
Optional

icmp_checks_enabled

array of networks
networks
Optional

networks


400

Setup is not completed

Returns RequireSetupCompleted of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}
object
errors
Optional

errors


401

Unauthorized

Returns UnauthorizedResponse of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}
object
errors
Optional

errors


403

Forbidden

Returns ForbiddenResponse of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}
object
errors
Optional

errors


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v0/staged/director/networks