上传照片
开发中
POST
http://localhost:8080/photos/upload
albumId:Long 类型。用户输入的相册 ID,用于指定文件上传到哪个相册。
请求参数
Header 参数
Authorization
string
可选
默认值:
{{token}}
Body 参数multipart/form-data
file
file
必需
示例值:
file://C:\Users\83876\Pictures\Screenshots\屏幕截图 2024-12-27 144113.png
albumId
integer <int64>
必需
示例值:
123
title
string
可选
示例值:
开车
location
string
可选
示例值:
sustech
capturedAt
string
可选
示例值:
2025-03-12T10:30:00
isFavorite
boolean
可选
示例值:
true
tag
string
必需
示例值:
12333