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
Example request
{
"registry": "registry",
"registry_user": "registry_user",
"registry_type": "registry_type",
"registry_name": "registry_name",
"registry_pass": "registry_pass",
"registry_verify": true
}Response
Saved registry configuration
Example response
[
{
"registry": "registry",
"last_upated": "2000-01-23T04:56:07.000+00:00",
"registry_user": "registry_user",
"registry_type": "registry_type",
"created_at": "2000-01-23T04:56:07.000+00:00",
"registry_name": "registry_name",
"userId": "userId",
"registry_verify": true
}
]