tencent cloud

Video on Demand

Agreements
Service Level Agreement
Kebijakan VOD
Kebijakan Privasi
Perjanjian Pemrosesan dan Keamanan Data
DokumentasiVideo on Demand

Video Retrieval Completion

Mode fokus
Ukuran font
Terakhir diperbarui: 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"
}
}


Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan