Get Alert Integration
Changed onFetches the details of the given alert integration.
In order to access this endpoint, the provided API key must have at least one of the following roles:
- Organization Owner
- Organization Member
- Project Owner
- Project Manager
- Project Viewer
To learn more, see Organization, Project, and Database Access Overview.
Request
- Base URLhttps://cloudapi.cloud.couchbase.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successfully fetched the alert integration based on the alertIntegrationId.
Example response
{
"id": "ffffffff-aaaa-1414-eeee-000000000000",
"name": "test alert 1",
"tenantId": "ffffffff-aaaa-1414-eeee-000000000000",
"projectId": "ffffffff-aaaa-1414-eeee-000000000000",
"kind": "teams",
"configKey": "ffffffff-aaaa-1414-eeee-000000000000-alert-integration",
"status": "healthy",
"config": {
"webhook": {
"method": "POST",
"url": "https://company.servicenow.com",
"exclude": {
"clusters": [
"ffffffff-aaaa-1414-eeee-000000000000",
"..."
],
"appServices": [
"ffffffff-aaaa-1414-eeee-000000000000",
"..."
]
}
},
"slack": {
"channel": "#alerts"
}
},
"audit": {
"createdBy": "ffffffff-aaaa-1414-eeee-000000000000",
"createdAt": "2021-09-01T12:34:56Z",
"modifiedBy": "ffffffff-aaaa-1414-eeee-000000000000",
"modifiedAt": "2021-09-01T12:34:56Z",
"version": 1
}
}Changes
- breaking
the response property
/became optional for the status - breaking
added
subschema #1subschema #2subschema #3to theresponse propertyoneOflist for the response status - warning
added the new
slackenum value to theresponse property for the response status - warning
added the new
teamsenum value to theresponse property for the response status - info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
//to the response with the status
- breaking