All Products
Search
Document Center

UpdateVodTemplate

Last Updated: Jul 11, 2019

Description

You can call this operation to modify a snapshot template.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set this parameter to UpdateVodTemplate.
VodTemplateId String Yes The ID of the snapshot template.
Name String No The name of the snapshot template.
  • Length constraint: Maximum length of 128 bytes.
  • Encoding: UTF-8.
TemplateConfig SnapshotTemplateConfig No The configuration of the snapshot template.

Response parameters

Parameter Type Description
RequestId String The ID of the request.

API examples

Sample request

https://vod.cn-shanghai.aliyuncs.com?Action=UpdateVodTemplate&Name=test&TemplateConfig={"SnapshotConfig":{"Count":10,"SpecifiedOffsetTime":0,"Interval":1}&TemplateType=Snapshot&VodTemplateId=ddddddddddddd

Sample response

JSON format

{
    "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58"
 }

SDK examples

We recommend that you use a server SDK to call this operation. For more information about the sample code used to call this operation in various languages, see the following topics: