获取指定缩略图、水印版本信息


请求地址

https://api.upyun.com/buckets/thumbs/info/

HTTP请求方法

GET

是否需要登陆授权

是,关于登录授权,参见授权机制

请求参数

必选 数据类型及范围 说明
bucket_name true string 空间名
thumb_name true string 版本名称

返回结果

gaussblurdiable 时,gaussblur_radiogaussblur_deviation属性不存在

{
    data: {
        "thumb_name": "webp", 
        "producer": "thumb", 
        "options": {
            "type": "fix_min", 
            "value": 10, 
            "unsharp": true, 
            "quality": 85, 
            "gifto": "jpg", 
            "format": "jpg", 
            "webp": false, 
            "watermark": {
                "enable": "gifto", 
                "align": "right,bottom", 
                "margin": "0x0", 
                "opacity": 20
            },
            "progressive": "disable",
            "compress": "enable",
            "rotate": "disable",
            "gaussblur": "enable", 
            "gaussblur_radio": 1,
            "gaussblur_deviation": 30
        }
    }
}
错误返回值与错误代码,参见错误代码说明
Last edited by hubiao, 2015-09-28 10:46:18