---
title: "List all files on a filesystem"
method: GET
path: "/api/v3/fs/{storage}"
tags: ["v16.7.2"]
---

# List all files on a filesystem

`GET /api/v3/fs/{storage}`

List all files on a filesystem. The listing can be ordered by name, size, or date of last modification in ascending or descending order.

## Path parameters

- `storage` string, required

## Query parameters

- `glob` string
- `sort` string
- `order` string

## Response `200`

OK

- ApiFileInfo[]
  - `last_modified` integer
  - `name` string
  - `size_bytes` integer

## Changes

- **2022-05-13** `d0614126abfa` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/datarhei/apis/datarhei-core-api/changes/api/v3/fs/:storage/get.md)

---

[API](https://skmtc.dev/datarhei/apis/datarhei-core-api.md) · [All operations](https://skmtc.dev/datarhei/apis/datarhei-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datarhei/datarhei-core-api/revisions/0197dcdcdd5a/schema)
