v1
latestOpenAPI 3.1.02026-07-245531,0212.1 MBList Events
This API returns a list of events based on pageToken or filters. <br>You can query using the pageToken or filters; you cannot provide both simultaneously. <br>When using the pageToken parameter, the initial request should not include any pageToken value. The response will contain a list of events and a nextPageToken. For subsequent API calls, include the pageToken parameter with the value of nextPageToken received from the previous API response. This ensures that you retrieve the next page of events. <br>For example <br> /events?pageToken=qwwzsx1qwer0efjdvfhuvuvvuvu <br> /events?pageSize=150&productID=12289&syslogSeverity=5
Path parameters
Version of report. In v1, the details field of the response provides a string. In v2 and v3 it provides a json object. In v1 and v2, feature and type fields are in camel case. In v3 they are title case.
Query parameters
Specify the token to access the next page of results. Keep this field blank in the first request. Use the token value received in the previous response's parameter 'nextPageToken'.
Specify the maximum number of records that should returned in a response. Maximum limit is 500 records. Default pageSize is 500.
Provide productID. Use 12289 for Enterprise Workloads.
Provide category. Use EVENT.
Provide the type of action/incident that occurred on a particular entity. For example, Login, Logout, LicenseExpired, etc.
Provide the feature for which you want to retrieve events. For example, Job, Admin, Customer, Client etc.
Specify the severity code as follows: <br>For Emergency use 0 <br>For Alert (action must be taken immediately) use 1 <br>For Critical (critical conditions) use 2 <br>For Error (error conditions) use 3 <br>For Warning (warning conditions) use 4 <br>For Notice (normal but significant condition) use 5 <br>For Informational (informational messages) use 6 <br>For Debug (debug-level messages) use 7
Response
Success
Example response
{
"events": [
{
"id": 20,
"area": "Platform",
"category": "Admin Event",
"type": "Admin Login",
"occurenceTime": 1610707530,
"syslogSeverity": 6,
"syslogFacility": 23,
"details": {
"location": "Pune, India",
"adminName": "Druva Cloud Admin",
"adminEmail": "cloud.admin@druva.com",
"loginResult": "Success",
"adminActivity": "Admin Login Event",
"adminIPAddress": "192.168.0.100",
"adminLoginTime": "2021-07-27T05:46:55Z"
}
}
],
"nextPageToken": "eyJpZCI6NTY1NX0="
}