获取缩略图、水印版本信息
请求地址
https://api.upyun.com/buckets/thumbs/
HTTP请求方法
GET
是否需要登陆授权
是,关于登录授权,参见授权机制
请求参数
必选 | 数据类型及范围 | 说明 | |
---|---|---|---|
bucket_name | true | string | 空间名 |
返回结果
gaussblur
为 diable
时,gaussblur_radio
和gaussblur_deviation
属性不存在
{
"data": [
{
"thumb_name": "webp",
"producer": "thumb",
"options": {
"type": "fix_min",
"value": 10,
"unsharp": true,
"quality": 85,
"gifto": "jpg",
"animate":false,
"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