Event | Description | Example |
---|
subscription.create | This event is triggered when a new subscription has been created. In contrast to the approval requests events this event is also triggered if no approval request is needed for this event. | Code Block |
---|
{
"type" : "subscription.create",
"data" : {
"subscription" : {
"application" : 1,
"apiProduct" : 1,
"plan" : 1,
"environments" : [ 1, 2, 3 ],
"approvalStatus" : "PENDING",
"approvalRequest" : null,
"deploymentStatus" : "DEPLOYMENT_REQUIRED",
"apiProductDisplayName" : "ProductX",
"id" : 42
}
},
"timestamp" : "2024-02-29T08:51:10.862979Z"
}
|
|
subscription.delete | This event is triggered when a subscription is removed. This can be done by one of the administrators, but also by the consumers themselves within the developer portal. | Code Block |
---|
{
"type" : "subscription.delete",
"data" : {
"subscription" : {
"application" : 1,
"apiProduct" : 1,
"plan" : 1,
"environments" : [ 1, 2, 3 ],
"approvalStatus" : "PENDING",
"approvalRequest" : null,
"deploymentStatus" : "DEPLOYMENT_REQUIRED",
"apiProductDisplayName" : "ProductX",
"id" : 42
}
},
"timestamp" : "2024-02-29T08:51:10.864166Z"
} |
|
More events will be added soon.