POST / Content-Type: multipart/form-data form-data: - file: [文件对象]2. JSON API 上传:
POST /api/upload
Content-Type: application/json
{
"fileName": "example.jpg",
"fileContent": "base64编码的文件内容"
}
3. 响应格式:
{
"success": true,
"url": "https://s3.20250131.xyz/gh/user/repo/2025/7/filename.ext"
}