v1

latestOpenAPI 3.0.02026-07-26131819.4 KB
Files

Upload File (Base64)

Upload a base64 encoded file 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/base64

Request body

base64string
filenamestring
metadatastring
pathstring
retentionExemptboolean

Response

OK

statusstring

Example response

{
  "data": {
    "id": "7F9pGhN8qwErT1vx5aZk",
    "originalUrl": "https://r2.fivemanage.com/23492kdx23121/7F9pGhN8qwErT1vx5aZk.jpg",
    "url": "https://r2.fivemanage.com/23492kdx23121/7F9pGhN8qwErT1vx5aZk.jpg"
  },
  "status": "ok"
}