Get all available event types, including their categories and their available search parameters.
The event types you get are either for a central or for a local region, and the region you get depends on the scopes you used to access the API.
To learn more about the scopes, see SAP Cloud Management Service - Service Plans.
You have obtained an access token with the $XSAPPNAME.event.read
scope.
URI: https://events-service.<app domain>.<landscape domain>/cloud-management/v1/events/types
HTTP Method: GET
Returns the event types, their descriptions and categories.
**Content Type:**JSON
Code |
Description |
---|---|
200 |
OK |
401 |
Unauthorized Possible reasons:
|
403 |
Forbidden |
404 |
Not Found |
429 |
Rate Limit Exceeded |
500 |
Internal Server Error Possible reasons:
|
A JSON object that contains details about event types.
Parameter Name |
Parameter Type |
Description |
---|---|---|
|
String |
Category to which the event type belongs. Possible values:
|
|
String |
The description of the event type. |
|
Array |
List of all the search parameters for the event type. Provided inline.
|
|
String |
The type of the event that was triggered. There are two groups of event types: Local Events and Central Events group. Only event types that belong to one of the groups are returned as the result of a single API call. The event types group you get depends on the scope you used to access the API. The examples of some of the events for both groups:
|
{
"SubaccountAppSubscription_Update": {
"searchParams": [
"saasApplicationId",
"saasApplicationName",
"consumerTenantId"
],
"description": "A subaccount's subscription to a multitenant application, including its dependencies, was updated.",
"category": "LOCAL",
"type": "SubaccountAppSubscription_Update"
},
"SubaccountAppSubscription_Creation": {
"searchParams": [
"saasApplicationId",
"saasApplicationName",
"consumerTenantId"
],
"description": "A subaccount was subscribed to a multitenant application and its dependencies.",
"category": "LOCAL",
"type": "SubaccountAppSubscription_Creation"
},
"AppRegistration_Creation": {
"searchParams": [
"saasApplicationId",
"saasApplicationName"
],
"description": "A multitenant application was registered in the SaaS registry",
"category": "LOCAL",
"type": "AppRegistration_Creation"
},
"SubaccountTenant_Creation": {
"searchParams": [],
"description": "The tenant of a subaccount was created.",
"category": "LOCAL",
"type": "SubaccountTenant_Creation"
},
"EnvironmentInstance_Creation": {
"searchParams": [],
"description": "An environment instance was created. For example, a Cloud Foundry org was enabled for a subaccount.",
"category": "LOCAL",
"type": "EnvironmentInstance_Creation"
},
"AppRegistration_Update": {
"searchParams": [
"saasApplicationId",
"saasApplicationName"
],
"description": "The registration of a multitenant application in the SaaS registry was changed.",
"category": "LOCAL",
"type": "AppRegistration_Update"
},
"AppRegistration_Deletion": {
"searchParams": [
"saasApplicationId",
"saasApplicationName"
],
"description": "A multitenant application was unregistered from the SaaS registry.",
"category": "LOCAL",
"type": "AppRegistration_Deletion"
},
"EnvironmentInstances_Deletion": {
"searchParams": [],
"description": "All environment instances in a subaccount were deleted.",
"category": "LOCAL",
"type": "EnvironmentInstances_Deletion"
},
"SubaccountAppSubscription_Deletion": {
"searchParams": [
"saasApplicationId",
"saasApplicationName",
"consumerTenantId"
],
"description": "The subscription of a subaccount to a multitenant application including its dependencies was cancelled.",
"category": "LOCAL",
"type": "SubaccountAppSubscription_Deletion"
},
"SubaccountTenant_Deletion": {
"searchParams": [],
"description": "The tenant of a subaccount was deleted.",
"category": "LOCAL",
"type": "SubaccountTenant_Deletion"
},
"SubaccountTenant_Update": {
"searchParams": [],
"description": "The tenant of a subaccount was changed.",
"category": "LOCAL",
"type": "SubaccountTenant_Update"
},
"EnvironmentInstance_Deletion": {
"searchParams": [
"environmentType",
"tenantId",
"subaccountGuid",
"platformId"
],
"description": "An environment instance was deleted. For example, a Cloud Foundry org, including its contents, was removed from a subaccount.",
"category": "LOCAL",
"type": "EnvironmentInstance_Deletion"
}
}
Related Information
Getting an Access Token for SAP Cloud Management Service APIs