# ファイルの取得 (インライン表示)

`GET /api/file/{hash}`

URL: https://repsona.com/ja/api/get-file-hash

ファイルをその場で表示できる形で返します。Range リクエストに対応しています。

## パラメーター

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `hash` | path | string | 必須 | ファイルのハッシュ (UUID) です。アップロード時のレスポンスの hash に入っています。 |

## リクエスト

```sh
curl -X GET "https://<space>.repsona.com/api/file/{hash}" \
  -H "Authorization: Bearer $REPSONA_API_KEY"
```

## レスポンス

- 200: File stream
- 206: Partial content (Range)
- 401: Authentication is required
- 403: Not a member of the file's project
- 404: File not found
