Repository Credentials
Add repository to watch
post/repositories
Query parameters
repositorystring required
full repository to add e.g. docker.io/library/alpine
autosubscribeboolean
flag to enable/disable auto tag_update activation when new images from a repo are added
dryrunboolean
flag to return tags in the repository without actually watching the repository, default is false
Headers
x-anchore-accountstring
An account name to change the resource scope of the request to that account, if permissions allow (admin only)
Response
Repository and discovered tags added
Example response
[
{
"subscription_id": "subscription_id",
"subscription_value": "subscription_value",
"active": true,
"subscription_key": "subscription_key",
"subscription_type": "subscription_type",
"userId": "userId"
}
]