Get Sites

Get Sites

This request lists paired sites.

Request
URI
GET
https://{api_host}/sites
COPY
Header Parameters
string
operationID
Optional

Operation ID for correlating logs across multiple services


Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "id": "5fd06dbd-ccab-4db8-9067-39575137028c",
        "site": "site1-7z",
        "description": "",
        "apiUrl": "https://tn-de843b57-5958-4b5a-b7bd-47f971ee4853.tnexus.io:8048/",
        "apiPublicUrl": "https://10.71.248.18:8048/",
        "apiThumbprint": "SHA-256:43:1D:24:8E:A8:C7:67:0F:9F:A9:54:3D:4C:98:7B:3E:61:3F:E8:AD:D8:A5:59:98:00:FA:5D:55:AF:55:A2:92",
        "isLocal": false,
        "state": {
            "incomingCommError": {
                "code": "Forbidden",
                "msg": "Permission denied.",
                "args": [],
                "stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
            },
            "outgoingCommError": {
                "code": "Forbidden",
                "msg": "Permission denied.",
                "args": [],
                "stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
            }
        },
        "apiVersion": "4.6",
        "isProviderDeployment": false,
        "peerTunnelCert": "MIIDbTCCAlWgAwIBAgIJAOMdOGGfk8EYMA0GCSqGSIb3DQEBCwUAMDgxEDAOBgNVBAoTB1Vua25vd24xEDAOBgNVBAsTB1Vua25vd24xEjAQBgNVBAMTCXR1bm5lbC52bTAeFw0yMzA1MDkwODU4MDNaFw0yNDA1MDgwODU4MDNaMDgxEDAOBgNVBAoTB1Vua25vd24xEDAOBgNVBAsTB1Vua25vd24xEjAQBgNVBAMTCXR1bm5lbC52bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK2kRvGMRnVzbYnsb7BCuNuHWMiDo7bFpCetZ23weEXzCvGXYiIqqqNl47X1ZCDzlKYKLSFpjoiGI4ITV1fXFTL4I3kFxwmPvQu4Xin2UgvhUadrlqxMcnVp5cr6oISrJwtuzfidE12U8HerUNg3upk9ct0XOoMoZWSxRz6sYSEMynQoKmQFPY2G9ZxblzMF13Ipwl1v1j8f6D0tiVi1pjDjimC5P8mFfkqIC5tuyRmDzwUILoCe4OKiYe6s84TiQi9x0lTACEv/AhelrGFyzUfkYLwLyFdxgxID/kWJcj61nhVYBe6VvHQv/VmoYgSz5ECOQMPRWs7yiRUUWdNdQikCAwEAAaN6MHgwHQYDVR0OBBYEFMz6clOUFGo9wdFUPyfXTSwycrrdMEIGA1UdEQQ7MDmCMXRuLWFiZjZmOWY3LWFiMDMtNGM0OC1iZjgzLWIyMTZhMzdlZGVhZS50bmV4dXMuaW+HBApH+wEwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDQYJKoZIhvcNAQELBQADggEBAJUdvOEMH5bZ5NZVA09hh0NTtlRIOpa6fCPJWUW8liSbigF4NjpQPwepU58uwwZBnIpX/rUqN2OAKN9bzsg93jt+nkHxJT2FFxTr6mzOTzLQUagmlvLTuhEXbUiZRrwP+9PI/lNuwLjxpyNSGl6c1SxYF6SgW1WdsmL6hBxv4U2LNSFJ72eMNc79rdFyArQtVt9PvwR4zDPNFracN5LarXihM9xdGIo0uxNXD9rZv8xRS48l8ctW2yDX/L8lQRy8EfdYgKNBCeaNZOORNx5PY6S6qr4KSsi17upDA9zkqPfG+cSaeh/ayEZ78n96attiVNX2fGMXkOYQxpZxwW3XmxM="
    }
]

401

The returned error codes include (but are not limited to): NotAuthenticated

Returns ApiError of type(s) application/vnd.vmware.h4-v4.7+json;charset=UTF-8
{
    "args": [],
    "code": "Forbidden",
    "msg": "Permission denied.",
    "stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
array of string
args
Optional

Positional arguments.

string
code
Optional

Specific error code.

string
msg
Optional

Detailed error message.

string
stacktrace
Optional

Exception stacktrace.


500

The returned error codes include (but are not limited to): GeneralServerFailure

Returns ApiError of type(s) application/vnd.vmware.h4-v4.7+json;charset=UTF-8
{
    "args": [],
    "code": "Forbidden",
    "msg": "Permission denied.",
    "stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
array of string
args
Optional

Positional arguments.

string
code
Optional

Specific error code.

string
msg
Optional

Detailed error message.

string
stacktrace
Optional

Exception stacktrace.