Upgrade Get Repo Config
This request retrieves the current upgrade repository configuration.
Request
URI
GET
https://{api_host}/upgrade/repository-url
COPY
Header Parameters
string
operationID
Optional
Operation ID for correlating logs across multiple services
Responses
200
OK
Returns RepositoryConfig of type(s) application/json;charset=UTF-8
{
"type": "CDROM",
"url": "cdrom://"
}
string
url
Optional
The repository URL. When value of field 'type' is 'ONLINE' leave field 'url' empty.
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.
Upgrades Operations
GET
Upgrade Check
POST
Upgrade Do
GET
Upgrade Get Repo Config
POST
Upgrade Set Repo Config