registry

Create a registry

Create a registry

post/registries

Headers

X-Request-Idstring

An unique ID for the request

Request body

idinteger

The registry ID.

urlstring

The registry URL string.

namestring

The registry name.

typestring

Type of the registry, e.g. 'harbor'.

insecureboolean

Whether or not the certificate will be verified when Harbor tries to access the server.

ca_certificatestring nullable

The PEM-encoded CA certificate for this registry endpoint. If provided, this CA will be used to verify the registry's certificate instead of the system CA pool.

descriptionstring

Description of the registry.

statusstring

Health status of the registry.

creation_timestring date-time

The create time of the policy.

update_timestring date-time

The update time of the policy.

Response

Created

Changes