Queries snapshot templates.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TemplateType | string | Yes | The type of the template. Set the value to Snapshot. | Snapshot |
AppId | string | No | The ID of the application. Set the value to app-1000000. For more information, see Overview . | app-**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "2A56B75B-B7E6-48*****27-A9BEAA3E50A8",
"VodTemplateInfoList": [
{
"CreationTime": "2018-11-30T08:05:59:57Z",
"IsDefault": "NotDefault",
"AppId": "app-****",
"TemplateType": "Snapshot",
"VodTemplateId": "7c49f2f42b1c*****0969fcd446690",
"TemplateConfig": "{\\\"SnapshotConfig\\\":{\\\"Count\\\":10,\\\"SpecifiedOffsetTime\\\":0,\\\"Interval\\\":1},\\\"SnapshotType\\\":\\\"NormalSnapshot\\\"}",
"Name": "test",
"ModifyTime": "2018-11-30T09:05:59:97Z"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.