GET public/v3/AlbumMiniPrg/GetPhoto?photoID={photoID}&topPraise={topPraise}
获取单张相片详细信息
Request
URI Params
| 字段名 | 字段说明 | 字段类型 | 附加信息 |
|---|---|---|---|
| photoID |
相片ID |
integer |
Required |
| topPraise |
top n条点赞 |
integer |
Default value is 0 |
Body Params
None.
Api Parameter Descriptions
| 参数描述 | 参数说明 | 参数源 |
|---|---|---|
| photoID |
相片ID |
FromUri |
| topPraise |
top n条点赞 |
FromUri |
Response
APITResultOfAlbumPhotoMiniPrgModel| 字段名 | 字段说明 | 字段类型 | 附加信息 |
|---|---|---|---|
| Data | AlbumPhotoMiniPrgModel |
None. |
|
| Ret |
返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效 |
integer |
None. |
| ErrCode |
错误代码,因功能而异 |
integer |
None. |
| Msg |
返回信息 |
string |
None. |
| SeqId |
请求序列 |
integer |
None. |
| InfoMsg |
API附加信息 |
string |
None. |
application/json, text/json
Sample:
{
"Data": {
"Name": "sample string 1",
"UID": "2",
"UName": "sample string 3",
"UPic": "sample string 4",
"FID": "5",
"Praises": [
{
"UID": "1",
"UName": "sample string 2",
"UPic": "sample string 3",
"Date": "2025-11-05T01:08:54.183Z"
},
{
"UID": "1",
"UName": "sample string 2",
"UPic": "sample string 3",
"Date": "2025-11-05T01:08:54.183Z"
}
],
"PhotoID": "6",
"AlbumID": "7",
"AlbumName": "sample string 8",
"Url": "sample string 9",
"Desc": "sample string 10",
"Date": "2025-11-05T01:08:54.183Z",
"ExifDate": "2025-11-05T01:08:54.183Z",
"CommentCnt": 13,
"IsPraise": true,
"PraiseCnt": 15,
"Height": 16,
"Width": 17
},
"Ret": 1,
"ErrCode": 2,
"Msg": "sample string 3",
"SeqId": 4,
"InfoMsg": "sample string 5"
}