v1
latestOpenAPI 3.0.02026-07-26131819.4 KBFiles
Upload File (Multipart)
Upload a file using multipart/form-data with optional metadata and path. Supports images, videos, and audio. If a custom CDN domain is configured and enabled, the response url will use the custom domain and originalUrl will contain the default storage URL.
post/v3/file
Response
OK
Example response
{
"data": {
"id": "7F9pGhN8qwErT1vx5aZk",
"originalUrl": "https://r2.fivemanage.com/23492kdx23121/7F9pGhN8qwErT1vx5aZk.jpg",
"url": "https://r2.fivemanage.com/23492kdx23121/7F9pGhN8qwErT1vx5aZk.jpg"
},
"status": "ok"
}