Viewing the OBS Audit Log List
Function
dsc:common:list
Calling Method
For details, see Calling APIs.
URI
POST /v1/{project_id}/sdg/exception/list-events
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
project_id |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
end_time |
No |
Long |
End time of the query. |
|
limit |
No |
Integer |
Maximum number of returned results. |
|
offset |
No |
Integer |
Offset of the returned result. |
|
start_time |
No |
Long |
Start time of the query. |
|
status |
No |
String |
Status of the abnormal event. |
|
type |
No |
String |
Type of the abnormal event. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
exceptions |
Array of ExceptionEventInfo objects |
Abnormal event list. |
|
total |
Integer |
Total number of abnormal events. |
|
Parameter |
Type |
Description |
|---|---|---|
|
alarm_time |
Long |
Alarm time of the abnormal event. |
|
confirmed |
Boolean |
Whether the abnormal event has been confirmed. |
|
event_name |
String |
Name of the abnormal event. |
|
expired |
Boolean |
Whether the abnormal event has expired. |
|
id |
String |
Unique ID of the abnormal event. |
|
owner_id |
String |
Owner ID of the abnormal event. |
|
requester_id |
String |
Requester ID of the abnormal event. |
|
status |
String |
Status of the abnormal event. |
|
type |
String |
Type of the abnormal event. |
Status code: 201
Created
Example Requests
POST /v1/{project_id}/sdg/exception/list-events
{
"end_time" : 0,
"limit" : 0,
"offset" : 0,
"start_time" : 0,
"status" : "string",
"type" : "string"
}
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
|
201 |
Created |
|
401 |
Unauthorized. The user is not logged in or the token is invalid. |
|
403 |
Unauthorized to access the resource. |
|
404 |
The specified project does not exist. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot