---
title: "Get file"
method: GET
path: "/file-storage/{store_name}/{uid}/{file_name}"
tags: ["basic"]
---

# Get file

`GET /file-storage/{store_name}/{uid}/{file_name}`

## Request

- Base URL: `/api/v0` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v0/file-storage/{store_name}/{uid}/{file_name}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/amz-racing/apis/rosbag-bazaar-api/docs/file-storage/:store_name/:uid/:file_name/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `store_name` string, required
- `uid` integer, required
- `file_name` string, required

## Query parameters

- `no_redirect` boolean

## Response `200`

Raw binary data

## Other responses

- `204`: Content is somewhere else, follow the location header (no_redirect=true)
- `302`: Location of raw binary data
- `400`: General error
- `404`: File not found

---

[API](https://skmtc.dev/amz-racing/apis/rosbag-bazaar-api.md) - [All operations](https://skmtc.dev/amz-racing/apis/rosbag-bazaar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/amz-racing/apis/rosbag-bazaar-api/revisions/9167cc5a1f11?raw)
