编辑水印模板
Example
POST 编辑水印模板
https://global.talk-cloud.net/vod/webapi/watermark/{id}
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| Content-Type | 是 | string | multipart/form-data |
| Accept | 是 | string | application/json |
| version | 是 | string | 版本号:(预设:v2) |
| Tk-authkey | 是 | string | 企业Key |
| Timestamp | 是 | string | token生产时间:(预设:1641600967) |
| Tk-token | 是 | string | 加密token:(预设:59O8J455S192Cw82f5bfxVB052NhsUpK9ToBVw==) |
| 参数名 | 是否必填 | 类型 | 说明 |
|---|---|---|---|
| id | 是 | int | 水印模板id |
| 参数名 | 是否必填 | 类型 | 说明 |
|---|---|---|---|
| _method | 是 | string | PUT (路由名称) |
| title | 是 | string | 水印模板名称 |
| source_w | 是 | int | 片源大小(宽) |
| source_h | 是 | int | 片源大小(高) |
| path | 是 | file | 文件流 |
| position | 是 | int | logo显示位置 1:左上角 2:左下角 3:右上角 4:右下角 |
| x_offset | 是 | int | 水平偏移 0-100 |
| y_offset | 是 | int | 垂直偏移0-100 |
| img_w | 是 | int | 宽度 0-100 |
| img_h | 是 | int | 高度 0-100 |
| 参数名 | 类型 | 说明 |
|---|---|---|
| result | int | 0成功 非0失败 |
| msg | string | 接口消息 |
1 2 3 4 5 | |




