Get Registries Harbor Projects
Returns detailed information about the specified Harbor project.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.
Identifier of the Harbor project. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
Detailed information about the specified Harbor project.
{
"access_url": "string",
"config_status": "PENDING",
"creation_time": "string",
"message": {
"args": [
"string"
],
"default_message": "string",
"id": "string",
"localized": "string",
"params": {
"key": {
"d": 0,
"dt": "string",
"format": "SHORT_DATE",
"i": 0,
"l": {
"id": "string",
"params": "StdLocalizationParam Object"
},
"precision": 0,
"s": "string"
}
}
},
"name": "string",
"scope": "PUBLIC",
"update_time": "string"
}
The Projects.ConfigStatus enumerated type describes the status of reaching the desired configuration state for the Harbor project.
PENDING : Harbor project is being created or the configuration is being applied to the project.
REMOVING : The configuration is being removed and Harbor project is being deleted.
ERROR : Failed to create Harbor project or apply the configuration to the project, user intervention needed.
READY : Harbor project is created or configured correctly.
Possible values are: PENDING , REMOVING , ERROR , READY
The date and time when the harbor project creation API was triggered and project identifier generated.
Name of the Harbor project. Should be between 1-63 characters long alphanumeric string and may contain the following characters: a-z,0-9, and ‘-’. Must be starting with characters or numbers, with the ‘-’ character allowed anywhere except the first or last character.
The Projects.Scope enumerated type in a project defines access levels of the project.
PUBLIC : A Harbor project can be accessed by everyone.
PRIVATE : A Harbor project can only be accessed by assigned users.
Possible values are: PUBLIC , PRIVATE
URL to access the harbor project through docker client. This field is optional and it is only relevant when the value of Projects.Info.config-status is READY.
Details about the ERROR project status. This field is optional and it is only relevant when the value of Projects.Info.config-status is ERROR.
The date and time when the harbor project purge API was triggered. In case no purge was triggered, Projects.Info.update-time is same as Projects.Info.creation-time. This field is optional and it is only relevant when the value of Projects.Info.config-status is READY.
Errors
com.vmware.vapi.std.errors.unauthorized : if the user does not have System.Read privilege.
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: get
x-vmw-doc-deprecated-path: /rest/vcenter/content/registries/harbor/{registry}/projects/{project}
x-vmw-doc-operation: get