Subscriptions
Add a subscription of a specific type
Create a new subscription to watch a tag and get notifications of changes
post/subscriptions
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
{
"subscription_value": "subscription_value",
"subscription_key": "subscription_key",
"subscription_type": "subscription_type"
}Response
Subscription add success
Example response
[
{
"subscription_id": "subscription_id",
"subscription_value": "subscription_value",
"active": true,
"subscription_key": "subscription_key",
"subscription_type": "subscription_type",
"userId": "userId"
}
]