GetInstanceEvents
Retrieves the system events of a DSW instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paidsw:GetInstanceEvents |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v2/instances/{InstanceId}/events HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
dsw-730xxxxxxxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MaxEventsNum |
integer |
No |
The maximum number of events to retrieve. Default value: 2000. |
2000 |
| StartTime |
string |
No |
The start time of the query. |
2020-11-08T15:00:00Z |
| EndTime |
string |
No |
The end time of the query. |
2020-11-08T15:00:00Z |
| Token |
string |
No |
The token used to share the URL. |
eyJhbGci...... |
| EventLevel |
string |
No |
The event level. Valid values:
|
Warning, Normal |
| Offset |
integer |
No |
The pagination offset. Default value: 0. |
1000 |
| Reverse |
boolean |
No |
Specifies whether to sort the results in descending order. Default value: false. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The event list of the DSW instance. |
||
| RequestId |
string |
The ID of the request. |
E7D55162-4489-1619-AAF5-3F97D5FCA948 |
| Success |
boolean |
The success flag. Valid values:
|
true |
| Message |
string |
The description of the returned result. |
The query for instance events is complete |
| Code |
string |
The status code. Valid values:
|
None |
| HttpStatusCode |
integer |
The HTTP status code. Valid values:
|
200 |
| InstanceId |
string |
The instance ID. |
dsw-730xxxxxxxxxx |
| Events |
array |
The list of instance events. |
|
|
string |
The event information. |
You are using pip version 9.0.1, however version 20.2.4 is available. |
|
| TotalCount |
integer |
The total number of logs. |
1500 |
Examples
Success response
JSON format
{
"RequestId": "E7D55162-4489-1619-AAF5-3F97D5FCA948",
"Success": true,
"Message": "XXX\n",
"Code": "None",
"HttpStatusCode": 200,
"InstanceId": "dsw-730xxxxxxxxxx",
"Events": [
"You are using pip version 9.0.1, however version 20.2.4 is available. "
],
"TotalCount": 1500
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.