---
title: "files/{DirName}"
method: GET
path: "/api/files/{DirName}"
tags: ["files"]
---

# files/{DirName}

`GET /api/files/{DirName}`

Returns a list of files in the specified media directory. Supports `?nameOnly=1` to return a flat array of filenames.

## Response `200`

Success

- object

## Changes

- **2026-05-13** `34a577bdabff` — 1 warning
  - deleted the `query` request parameter `nameOnly`

[Change history](https://skmtc.dev/falconchristmas/apis/fpp-api/changes/api/files/:DirName/get.md)

---

[API](https://skmtc.dev/falconchristmas/apis/fpp-api.md) · [All operations](https://skmtc.dev/falconchristmas/apis/fpp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/falconchristmas/fpp-api/revisions/34a577bdabff/schema)
