GetInstanceEvents
Retrieves system events for 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 return. The default value is 2000. |
2000 |
| StartTime |
string |
No |
The start time of the query range. |
2020-11-08T15:00:00Z |
| EndTime |
string |
No |
The end time of the query range. |
2020-11-08T15:00:00Z |
| Token |
string |
No |
A token for URL sharing. |
|
| EventLevel |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The list of events for the DSW instance. |
||
| RequestId |
string |
The request ID. |
E7D55162-4489-1619-AAF5-3F97D5FCA948 |
| Success |
boolean |
Indicates whether the request succeeded. Valid values:
|
true |
| Message |
string |
The response message. |
XXX |
| 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 message. |
You are using pip version 9.0.1, however version 20.2.4 is available. |
|
| TotalCount |
integer |
The total number of entries returned. |
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": 0
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.