调用GetLiveSnapshotTemplate获取单个实时截图模板。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
TemplateId | string | 是 | 模板ID。 | ****a046-263c-3560-978a-fb287782**** |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"TemplateId": "****a046-263c-3560-978a-fb287782****",
"TemplateName": "模板1",
"Type": "custom",
"OverwriteFormat": "snapshot/{JobId}.jpg",
"SequenceFormat": "snapshot/{JobId}/{UnixTimestamp}.jpg",
"TimeInterval": 5,
"LastModified": "2022-02-02T22:22:22Z",
"CreateTime": "2022-02-02T22:22:22Z"
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | MissingParameter | %s | - |
400 | InvalidParameter | %s | - |
403 | UserDisable | User is disable. | - |
403 | Forbidden | User not authorized to operate on the specified resource. | 无权限执行该操作。(一般是由于账号未获得相应权限,参考 账号授权策略。) |
403 | OperationDenied | Your account has not enabled the ICE service. | 账号未开通智能媒体生产服务。 |
404 | TemplateNotFound | No such template. | - |
500 | InternalError | The request processing has failed due to some unknown error. | 后台发生未知错误,请稍后重试或联系客服解决。 |
访问错误中心查看更多错误码。