> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blobhub.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List Files

List every file of an app blob revision with its size and checksum. `blobhub app push` compares the list with the
build to upload only what changed.

## **POST** `/revisions/:id/data/query` (Command: `list_files`)

### Request Body

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `command` | string | Yes | Must be `list_files`. |

### Response

| Parameter | Type | Description |
| :- | :- | :- |
| `files` | array | One entry per file, sorted by `path`, each with `path`, `size` (bytes) and `sha256` (hex). |

### Errors

| Status | Error | Cause |
| :- | :- | :- |
| 403 | `forbidden` | The app blob is not public and the caller is not a member of it or of its organization. |

### Example

```json Request theme={null}
{
  "command": "list_files"
}
```

```json Response theme={null}
{
  "status": "success",
  "files": [
    {
      "path": "app.yaml",
      "size": 412,
      "sha256": "4b1d0c6e8a3f27d95e1a0b7c4d62f8e39a5c1b0d7e4f6a28c3b95d1e07f4a6b2"
    },
    {
      "path": "blobs/flows/blob.yaml",
      "size": 34,
      "sha256": "9f2c1f7a0b6d4e83a51c27d9e04b8f66c3a1d5e7b290448f1c6a3d7e5b8209ac"
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.