Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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.

{
 "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.

{
 "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.

  • No labels