action anchore_add_subscription { label: "Add a subscription of a specific type" description: "Create a new subscription to watch a tag and get notifications of changes" provider: anchore method: POST path: "/subscriptions" encoding: json input: { type: "object" properties: { subscription_key: { type: "string" } subscription_type: { type: "string" } subscription_value: { type: "string" } "x-anchore-account": { type: "string" } } additionalProperties: false } output: { type: "array" description: "List of subscriptions" items: { type: "object" description: "Subscription entry" properties: { active: { type: "boolean" description: "Is the subscription currently active" } subscription_id: { type: "string" description: "the unique id for this subscription record" } subscription_key: { type: "string" description: "The key value that the subscription references. E.g. a tag value or a repo name." } subscription_type: { type: "string" description: "The type of the subscription" } subscription_value: { type: "string" description: "The value of the subscription target" } userId: { type: "string" description: "The userId of the subscribed user" } } } } }