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

# Get all files

`GET /api/files/{DirName}`

Returns a list of files in the specified media directory.

## Query parameters

- `nameOnly` boolean

## Response `200`

Listing of files

- object

## Changes

- **2026-05-14** `5ae08fa1c880` — 1 info
  - added the new optional `query` request parameter `nameOnly`
- **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/2d744b175449/schema)
