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"
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 3 years ago