-
Notifications
You must be signed in to change notification settings - Fork 37
sm.ms api Image
luna edited this page Jul 27, 2020
·
1 revision
字段 | 类型 | 描述 |
---|---|---|
success | Boolean | Request status. |
code | String | Request status code. |
message | String | Message. |
data | Object | data. |
width | Number | Width. |
height | Number | Height. |
filename | String | Filename. |
storename | String | Store name. |
size | Number | Image Size. |
path | String | Image Path. |
hash | String | Image Deletion HASH. |
url | String | Image URL. |
delete | String | Image Deletion Link. |
page | String | Image Page Link. |
RequestId | String | Request ID. |
{
"success": true,
"code": "success",
"message": "Upload success.",
"data": {
"file_id": 0,
"width": 4677,
"height": 3307,
"filename": "luo.jpg",
"storename": "D5VpWCKFElUsPcR.jpg",
"size": 801933,
"path": "/2019/12/16/D5VpWCKFElUsPcR.jpg",
"hash": "Q6vLIbCGZojrMhO2e7BmgFuXRV",
"url": "https://vip1.loli.net/2019/12/16/D5VpWCKFElUsPcR.jpg",
"delete": "https://sm.ms/delete/Q6vLIbCGZojrMhO2e7BmgFuXRV",
"page": "https://sm.ms/image/D5VpWCKFElUsPcR"
},
"RequestId": "8A84DDCA-96B3-4363-B5DF-524E95A5201A"
}
字段 | 类型 | 描述 |
---|---|---|
success | Boolean | Request status. |
code | String | Request status code. |
message | String | Message. |
data | Object[] | data Object. |
width | Number | Width. |
height | Number | Height. |
filename | String | Filename. |
storename | String | Store name. |
size | Number | Image Size. |
path | String | Image Path. |
hash | String | Image Deletion HASH. |
url | String | Image URL. |
delete | String | Image Deletion Link. |
page | String | Image Page Link. |
RequestId | String | Request ID. |
{
"code":"success",
"data":
[
{
"path":"/2020/03/29/***********.png",
"filename":"*******.png",
"size":87493,"file_id":0,
"width":206,
"storename":"***********.png",
"page":"https://sm.ms/image/*********.png",
"delete":"https://sm.ms/delete/**************",
"hash":"********************",
"url":"https://i.loli.net/2020/03/29/************.png",
"height":825}],"RequestId":"********-*****-****-****-*******",
"success":true,
"message":"Get list success."
}
字段 | 类型 | 描述 |
---|---|---|
success | Boolean | Request status. |
code | String | Request status code. |
message | String | Message. |
data | Object[] | data Object. |
width | Number | Width. |
height | Number | Height. |
filename | String | Filename. |
storename | String | Store name. |
size | Number | Image Size. |
path | String | Image Path. |
hash | String | Image Deletion HASH. |
created_at | String | Image upload timestamp. |
url | String | Image URL. |
delete | String | Image Deletion Link. |
page | String | Image Page Link. |
RequestId | String | Request ID. |
{
"success": true,
"code": "success",
"message": "Get list success.",
"data": [
{
"file_id": 0,
"width": 4677,
"height": 3307,
"filename": "luo.jpg",
"storename": "D5VpWCKFElUsPcR.jpg",
"size": 801933,
"path": "/2019/12/16/D5VpWCKFElUsPcR.jpg",
"hash": "Q6vLIbCGZojrMhO2e7BmgFuXRV",
"created_at": 1564844329,
"url": "https://i.loli.net/2019/12/16/D5VpWCKFElUsPcR.jpg",
"delete": "https://sm.ms/delete/Q6vLIbCGZojrMhO2e7BmgFuXRV",
"page": "https://sm.ms/image/D5VpWCKFElUsPcR"
}
],
"RequestId": "8A84DDCA-96B3-4363-B5DF-524E95A5201A"
}