This topic describes the CreateAuditComplete event, its notification content, and a callback example.
Event type
CreateAuditComplete
Event description
The CreateAuditComplete event is generated when the CreateAudit operation is called.
Event content
Parameter Name | Type | Required | Description |
EventType | String | Yes | The event type. This is a required parameter with a fixed value of CreateAuditComplete. |
EventTime | String | Yes | The time when the event was generated, in UTC. The format is yyyy-MM-ddTHH:mm:ssZ. |
Status | String | Yes | Notification status.
|
MediaId | String | Yes | The ID of the media asset. |
SubType | String | Yes | The type of the reviewed media asset. video: audio or video |
AuditStatus | String | Yes | The result of the manual review. Valid values:
|
CreationTime | String | Yes | The time when the manual review was completed, in UTC. The format is yyyy-MM-ddTHH:mm:ssZ. |
Auditor | String | No | The reviewer. |
Reason | String | No | Reason for review. |
Callback example
Example callback:
For an HTTP callback, the following content is the body of the HTTP POST request.
For an MNS callback, the following content is the message body.
{
"EventType": "CreateAuditComplete",
"EventTime": "2017-03-20T07:49:17Z",
"MediaId": "<Example ID>",
"Status": "success",
"CreationTime": "2017-03-20T07:49:17Z",
"SubType": "video",
"AuditStatus": "Blocked",
"Auditor":"author",
"Reason":"Contains vulgar content"
}