List Registries Harbor
If vSphere APIs begin with /rest (vs /api), any maps are consumed/returned instead as arrays of objects, each containing a key and a value property field.
Returns basic information of all Harbor registries.
Request
URLURL
https://{api_host}/rest/vcenter/content/registries/harbor
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Example: b00db39f948d13ea1e59b4d6fce56389
Response
Response
Response BodyResponse Body
200 OK returns
ContentRegistriesHarborListResponseBody
of type application/json
The list of basic information of all Harbor registries.
{
"value": [
{
"cluster": "string",
"registry": "string",
"ui_access_url": "string",
"version": "string"
}
]
}
array of
ContentRegistriesHarborSummary
value
Optional
The list of basic information of all Harbor registries.
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/rest/vcenter/content/registries/harbor
Errors
401
com.vmware.vapi.std.errors.unauthenticated : if the user can not be authenticated. | com.vmware.vapi.std.errors.unauthorized : if the user does not have System.Read privilege.
404
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request.
On This Page
Registries Harbor Operations
delete