Platform O&M/Cloud Monitoring/Monitoring and Alarm/SNS/ZWatch Operations/Event Operations
GETEvent OperationsSince 4.1.0SynchronousAuth Required
QueryEventRecord
QueryEventRecord
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
This API requires no request parameters.
Responses
Endpoint
GET/zstack/v1/zwatch/event-records
/zstack/v1/zwatch/event-records
Request Example
curl -X GET 'http://{host}/zstack/v1/zwatch/event-records' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "inventories": [ { "id": 1.0, "createTime": 1.510669257141E12, "namespace": "ZStack/PrimaryStorage", "name": "PrimaryStorageDisconnected", "emergencyLevel": "Emergent", "resourceId": "ff1d1d9429da35cfb3d4dfad772d0f3a", "dataUuid": "64f3d04e7144348db07585dfc9293582", "accountUuid": "1f2c621ce02d37268da28bb368f6b265", "subscriptionUuid": "e30c7668d9c13585915da7e6442f6749", "readStatus": true, "labels": "{\"Error\":\"No Host state is Enabled, Please check the availability of the host\"}" } ] }Change History
This API has no change history records yet.
