Extend
In order to perform replication management operations that involve remote sites, your session needs to be "extended" with credentials (vCD auth cookie or org user and password) to the related remote site. The supported authentication methods are:
- with vCloud Director credentials:
{ "type": "credentials", "site": "site1", "vcdUsername": "admin1@org2", "vcdPassword": "password" }
- with vCloud Director auth cookie:
{ "type": "cookie", "site": "site1", "cookie": "f12977876fef48a6b032ffdb2cdf22d7" }
Operation ID for correlating logs across multiple services
Identifies the vCD sites we're logging into.
type
OK
{
"authenticatedSites": [
{
"org": "Org1",
"site": "site1"
}
],
"roles": [
"EVERYONE"
],
"user": "admin1@Org1"
}
vCloud Director sites the current session has authenticated with. The site specified in the request should be present here
Roles granted to the session
The currently authenticated user
Returned error codes include (but are not limited to):
- BadUserInput
- BadRequest
{
"args": [
"string"
],
"code": "string",
"msg": "string",
"stacktrace": "string"
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.
Returned error codes include (but are not limited to):
- NotAuthenticated
- RemoteAuthenticationFailure
{
"args": [
"string"
],
"code": "string",
"msg": "string",
"stacktrace": "string"
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.
Returned error codes include (but are not limited to):
- SiteNotFound
{
"args": [
"string"
],
"code": "string",
"msg": "string",
"stacktrace": "string"
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.
Returned error codes include (but are not limited to):
- GeneralServerFailure
{
"args": [
"string"
],
"code": "string",
"msg": "string",
"stacktrace": "string"
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.