For the complete documentation index, see llms.txt. This page is also available as Markdown.

Upload Media

How to upload a media

POST https://mburger.cloud/api/media

curl https://mburger.cloud/api/media
-H "Accept: application/json" 
-H "X-MBurger-Token: <token>" 
-H "X-MBurger-Version: 3"

Parameters

Name

Type

Required

Description

media

array

Yes

An array of media to upload to the project.

When successful, a HTTP 200 and JSON like this is returned:

{
  "status_code": 0,
  0 => {
      "id": 2
      "uuid": "uuid-of-the-media"
      "url": "http://example.test/storage/1/image.jpeg"
      "size": 695
      "file_name": "image.jpeg"
      "mime_type": "image/jpeg"
    }
}

Last updated