Get Site By Id V3

Get Site By Id V3
Retrieve a specific site by the site id.

Retrieve a specific site by the site id.

Request
URI
GET
https://{api_host}/v3/sites/{site-id}
COPY
Path Parameters
string
site-id
Required

site id description


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns SiteV3 of type(s) application/json
{
    "0": "M",
    "1": "a",
    "2": "n",
    "3": "a",
    "4": "g",
    "5": "e",
    "6": "d",
    "7": "R",
    "8": "e",
    "9": "s",
    "10": "o",
    "11": "u",
    "12": "r",
    "13": "c",
    "14": "e",
    "15": " ",
    "16": "O",
    "17": "b",
    "18": "j",
    "19": "e",
    "20": "c",
    "21": "t",
    "site_type": "string",
    "desired_state": "string",
    "site_discovery_info": {
        "discovery_hostname": "string",
        "username": "string",
        "password": "string",
        "certificate": "string"
    },
    "site_name": "string",
    "virtual_ip": "string",
    "manager_hostname": "string",
    "cluster_manager_ips": [
        "string"
    ],
    "status": {
        "connection_status": "string",
        "infrastructure_sync_agent_status": {
            "status": "string",
            "last_transition_time": "string"
        },
        "inventory_sync_agent_status": {
            "status": "string",
            "last_transition_time": "string"
        },
        "cluster_status": "string",
        "nsx_cluster_id": "string",
        "nsx_version": "string",
        "configuration_status": {
            "site_precheck_status": "string",
            "site_precheck_message": "string",
            "current_status": "string"
        },
        "conditions": [
            {
                "name": "string",
                "message": "string",
                "last_transition_time": "string",
                "state": "string"
            }
        ]
    }
}

default

unexpected error

Returns Error of type(s) application/json
"Error Object"

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/v3/sites/{site-id}