取得单个水印模板

取得单个水印模板url

/template/watermark/get

取得单个水印模板参数

{
    "templateId": "10001"
}

取得单个水印模板返回值

{
    /***
     * 本次请求的结果码。
     * 0: 创建任务成功。
     * 400: 传入参数错误。
     * 500: 系统发生错误。
     */
    "code": 0,
    /***
     * 错误文本信息,创建成功时,为空字符串。
     */
    "message": "",
    /***
     * 执行结果数据
     */
    "data": {
        "templateId": "10000001",
        "name": "水印LOGO1",
        "favorite": "true",
        "storage": {
            /**
             * 上传之后 s3 的地址,如果当前 Bucket 为私有,则此地址应为具有签名的地址。
             */
            "url": "http://to.picture.url"
        },
        "position": {
            "top": "10%",
            "bottom": "10px",
            "left": "10%",
            "right": "10%",
            "height": "10%",
            "width": "10%"
        },
        "createTime":"2021-08-20 12:31:09",
        "remark":"测试转码模板1"
    }
}