Updated on 2026-01-13 GMT+08:00

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

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

project_id

Request Parameters

Table 2 Request body 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

Table 3 Response body parameters

Parameter

Type

Description

exceptions

Array of ExceptionEventInfo objects

Abnormal event list.

total

Integer

Total number of abnormal events.

Table 4 ExceptionEventInfo

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.