11. 我的照片
联调中
POST
/fd2024/my-photos
最后修改时间:2024-08-12 03:11:37
请求参数
Authorization
在 header 添加参数
authorization
示例:
authorization: ********************
Body 参数application/json
page
integer
必需
limit
integer
必需
示例
{
"country": "US",
"page": 1,
"limit": 20
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/fd2024/my-photos' \
--header 'Content-Type: application/json' \
--header 'authorization;' \
--data-raw '{
"country": "US",
"page": 1,
"limit": 20
}'
返回响应
🟢200成功
application/json
Body
data
object
必需
page
object (PageData)
页码
results
object
必需
示例
{
"data": {
"page": {
"current": 1,
"limit": 20,
"total": 4
},
"results": {
"albums": {
"CA": 0,
"CN": 0,
"JP": 0,
"KR": 0,
"NZ": 0,
"SG": 0,
"UK": 0,
"US": 2
},
"photos": [
{
"id": 14,
"country": "US",
"url": "https://gzxz2021-76330.picgzc.qpic.cn/fd2024/6/a/6a339b5ac3843bfade4f9b2535ceb829.png",
"desc": "hahahaha",
"chnName": "吴康瑞",
"createdTime": 1723296190000
},
{
"id": 13,
"country": "US",
"url": "https://gzxz2021-76330.picgzc.qpic.cn/fd2024/6/a/6a339b5ac3843bfade4f9b2535ceb829.png",
"desc": "hahahaha",
"chnName": "吴康瑞",
"createdTime": 1723296076000
}
]
},
"errmsg": "success",
"ret": 0
}
修改于 2024-08-12 03:11:37