tencent cloud

Feedback

Video Deletion Completion

Last updated: 2023-03-13 11:41:15

    Event Name

    FileDeleted

    Event Description

    If you have configured event notifications for your application, after a video is deleted, your application backend will be notified either by a “normal callback” or a “reliable callback”. For the content of the callback, see FileDeleteTask.

    Example

    Normal callback

    In the normal callback mode, your callback URL will receive an HTTP POST request from VOD. The content of the callback is included in the request body, as shown below (fields with null values are omitted):
    {
    "EventType":"FileDeleted",
    "FileDeleteEvent":{
    "FileIdSet":[
    "24961954183381008"
    ],
    "FileDeleteResultInfo":[
    {
    "FileId":"24961954183381008",
    "DeleteParts":[
    {
    "Type":"TranscodeFiles",
    "Definition":0
    }
    ]
    }
    ]
    }
    }

    Reliable callback

    In the reliable callback mode, after calling the PullEvents API, you will receive an HTTP response in the following format (fields with null values are omitted):
    {
    "Response":{
    "EventSet":[
    {
    "EventHandle":"EventHandle.N",
    "EventType":"FileDeleted",
    "FileDeleteEvent":{
    "FileIdSet":[
    "24961954183381008"
    ],
    "FileDeleteResultInfo":[
    {
    "FileId":"24961954183381008",
    "DeleteParts":[
    {
    "Type":"TranscodeFiles",
    "Definition":0
    }
    ]
    }
    ]
    }
    }
    ],
    "RequestId":"335bdaa3-db0e-46ce-9946-51941d9cb0f5"
    }
    }
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support