v1

latestSwagger 2.0Apache 2.02026-07-13112149159.3 KB
Registries

Add a new registry

Adds a new registry to the system

post/registries

Query parameters

validateboolean

flag to determine whether or not to validate registry/credential at registry add time

Headers

x-anchore-accountstring

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

Request body

registry_userstring

Username portion of credential to use for this registry

registry_passstring

Password portion of credential to use for this registry

registry_typestring

Type of registry

registrystring

hostname:port string for accessing the registry, as would be used in a docker pull operation. May include some or all of a repository and wildcards (e.g. docker.io/library/* or gcr.io/myproject/myrepository)

registry_namestring

human readable name associated with registry record

registry_verifyboolean

Use TLS/SSL verification for the registry URL

Response

Saved registry configuration

created_atstring date-time
last_upatedstring date-time
registry_userstring

Username portion of credential to use for this registry

registry_typestring

Type of registry

userIdstring

Engine user that owns this registry entry

registrystring

hostname:port string for accessing the registry, as would be used in a docker pull operation

registry_namestring

human readable name associated with registry record

registry_verifyboolean

Use TLS/SSL verification for the registry URL