---
title: "List an Advanced Local Video(s) banner's video files"
type: reference
method: GET
path: /rest-api/banner/{bannerId}/vast/media-files.do
tag: "VAST"
---

# List an Advanced Local Video(s) banner's video files

`GET https://YOUR-NETWORK-DOMAIN/rest-api/banner/{bannerId}/vast/media-files.do`

The video files (renditions) the banner's VAST offers, as the console's Video files grid lists them. 'mediaAssetId' is set on a file picked from the media library. Needs the Advanced Local Video(s) permission and view rights on the banner's advertiser.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `bannerId` | integer | yes | `5001` | Advanced Local Video(s) banner id |

## Responses

- `200` — {bannerId, total, mediaFiles:[{id, fileName, width, height, bitrate, duration, contentType, mediaAssetId, url}]}
- `400` — The banner is not an Advanced Local Video(s) banner
- `401` — Authentication error
- `403` — The Advanced Local Video(s) permission is off, or no view rights on the banner
- `404` — The banner does not exist or is deleted

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/banner/5001/vast/media-files.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/vast/get-banner-vast-media-files