This section describes the endpoints for uploading media.
Upload a media file. The maximum file size is 500 MiB.
Request Example
This endpoint expects a multipart/form-data request with a file field.
multipart/form-data
file
Return Example
{ "url": "https://cdn.example.com/uploads/1678886400_uuid.png", "filename": "my-image.png", "stored_as": "uploads/1678886400_uuid.png" }
Last updated 1 month ago