Get Database Alerts History

Get Database Alerts History

Endpoint to get alerts for the database
Authorized Roles : PROVIDER or ORG_ADMIN or ORG_USER

Request
URI
GET
https://{api_host}/provider/databases/{dbUUID}/alerts
COPY
Path Parameters
string
dbUUID
Required

ID of the database

Query Parameters
string
alertTypeEnum
Optional

Alert type optional

Possible values are : CONNECTIVITY_ALERT, DATA_DISK_HEALTH_ALERT, SYSTEM_DISK_HEALTH_ALERT, CPU_HEALTH_ALERT, MAX_CONNECTIONS_ALERT, METRICS_ALERT, NTP_SYNC_ALERT, TELEGRAF_SERVICE_ALERT, DATABASE_SERVICE_ALERT, DATABASE_BIN_LOG_CLOUD_SYNC_ALERT, DATABASE_BIN_LOG_ALERT,
integer
page
Optional
Constraints: minimum: 0 default: 0

Zero-based page index (0..N)

integer
size
Optional
Constraints: minimum: 1 default: 20

The size of the page to be returned

string of array
sort
Optional

Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Operation doesn't return any data structure

400

Bad Request

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/provider/databases/{dbUUID}/alerts