> For the complete documentation index, see [llms.txt](https://docs.mburger.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mburger.cloud/api-docs-1/media/get-all-media.md).

# Get All Media

{% hint style="info" %}
To obtain all media of a project (Media section)
{% endhint %}

{% tabs %}
{% tab title="Request" %}
`GET https://mburger.cloud/api/media`

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

#### &#x20;Parameters

| Name          | Type   | Required | Description                                                                                                                      |
| ------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------- |
| image\_format | string | No       | Specify which image dimension to include in response. Values are *thumb*, *medium*, *large* and *original*. Default is *medium*. |
| {% endtab %}  |        |          |                                                                                                                                  |

{% tab title="Response" %}
When successful, a HTTP 200 and JSON like this is returned:

```bash
{
  "status_code": 0,
  "body": [
    {
      "id": 1,
      "url": "https://cdn.mburger.cloud/storage/1/conversions/image-medium.jpg",
      "size": 12302,
      "mime_type": "image/jpeg"
    }
  ]
}
```

{% endtab %}
{% endtabs %}
