tencent cloud

Feedback

Video Retrieval Completion

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

    Event Name

    RestoreMediaComplete

    Event Description

    If you have configured event notifications for your application, after a media file is retrieved from ARCHIVE or DEEP ARCHIVE, your application backend will be notified either by a “normal callback” or a “reliable callback”. For the content of the callback, see RestoreMediaTask.

    Example

    Normal callback

    In the normal callback mode, your callback URL will receive an HTTP request in the following format.
    {
    "EventType":"RestoreMediaComplete",
    "RestoreMediaCompleteEvent":{
    "FileId":"24961954183381008",
    "OriginalStorageClass":"ARCHIVE",
    "TargetStorageClass":"STANDARD",
    "RestoreTier":"Standard",
    "RestoreDay":0,
    "Status":0,
    "Message":"Restore success!"
    }
    }

    Reliable callback

    In the reliable callback mode, after calling the PullEvents API, you will receive an HTTP response in the following format:
    {
    "Response":{
    "EventSet":[
    {
    "EventHandle":"EventHandle.N",
    "EventType":"RestoreMediaComplete",
    "RestoreMediaCompleteEvent":{
    "FileId":"24961954183381008",
    "OriginalStorageClass":"ARCHIVE",
    "TargetStorageClass":"STANDARD",
    "RestoreTier":"Standard",
    "RestoreDay":0,
    "Status":0,
    "Message":"Restore success!"
    }
    }
    ],
    "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