---
title: "Register new file"
method: POST
path: "/file-storage/{store_name}"
tags: ["basic"]
---

# Register new file

`POST /file-storage/{store_name}`

## Path parameters

- `store_name` string, required

## Request body

- FileDetailed
  - `detail_type` string, required
  - `store_name` string, required — Name of the file store
  - `uid` integer — Unique file id
  - `name` string, required — Name of the file
  - `link` string
  - `store_data` object, required — Store specific data

## Response `201`

File created

## Other responses

- `400` — General error
- `404` — Store not found

---

[API](https://skmtc.net/amz-racing/apis/rosbag-bazaar-api.md) · [All operations](https://skmtc.net/amz-racing/apis/rosbag-bazaar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/amz-racing/rosbag-bazaar-api/revisions/9167cc5a1f11/schema)
