Add repository to watch
Changed onRequest
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /repositories
- Auth: none declared
Query parameters
full repository to add e.g. docker.io/library/alpine
flag to enable/disable auto tag_update activation when new images from a repo are added
flag to return tags in the repository without actually watching the repository, default is false
Headers
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"
}
]Changes
- warning
deleted the
queryrequest parameterlookuptag - info
added the new optional
queryrequest parameterdryrun - info
removed the
analysis_updateenum value from the/response property for the response status - info
removed the
policy_evalenum value from the/response property for the response status - info
removed the
repo_updateenum value from the/response property for the response status - info
removed the
tag_updateenum value from the/response property for the response status - info
removed the
vuln_updateenum value from the/response property for the response status
- warning
- warning
deleted the
queryrequest parameterdryrun - warning
added the new
analysis_updateenum value to the/response property for the response status - warning
added the new
policy_evalenum value to the/response property for the response status - warning
added the new
repo_updateenum value to the/response property for the response status - warning
added the new
tag_updateenum value to the/response property for the response status - warning
added the new
vuln_updateenum value to the/response property for the response status - info
added the new optional
queryrequest parameterlookuptag
- warning