Media
This section describes the endpoints for uploading media.
Endpoints
* /media/upload [POST]
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.
Return Example
200 OK
{
"url": "https://cdn.example.com/uploads/1678886400_uuid.png",
"filename": "my-image.png",
"stored_as": "uploads/1678886400_uuid.png"
}Last updated