Configure Get Endpoints
This request retrieves the current management endpoint configuration.
Request
URI
GET
https://{api_host}/config/endpoints
COPY
Header Parameters
string
operationID
Optional
Operation ID for correlating logs across multiple services
Responses
200
OK
Returns EndpointsInfo of type(s) application/json;charset=UTF-8
{
"configured": {
"mgmtAddress": "",
"mgmtPort": 8046,
"mgmtPublicAddress": "tn-3b0f0539-869d-4e37-8005-e1c6f01a2ef3.tnexus.io",
"mgmtPublicPort": 8048,
"apiAddress": "",
"apiPort": 8443,
"apiPublicAddress": "10.71.249.18",
"apiPublicPort": 8048
},
"effective": {
"mgmtAddress": "10.71.249.18",
"mgmtPort": 8046,
"mgmtPublicAddress": "tn-3b0f0539-869d-4e37-8005-e1c6f01a2ef3.tnexus.io",
"mgmtPublicPort": 8048,
"apiAddress": "s2-vcav-v1248-249-018.eng.vmware.com",
"apiPort": 8443,
"apiPublicAddress": "10.71.249.18",
"apiPublicPort": 8048
}
}
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.