---
title: "Upload video file"
method: POST
path: "/api/v1/videos/upload"
tags: ["video"]
---

# Upload video file

`POST /api/v1/videos/upload`

## Request

- The document declares no server URL.
- Auth: none declared

Upload video file

## Request body `multipart/form-data`

- object
  - `file` string, binary, required: video

## Response `200`

Video and Links (HATEOAS)

- ControllersResponse
  - `_links` object
  - `video` JsonVideoJson
    - `createdAt` string
    - `id` string
    - `status` string
    - `title` string
    - `updatedAt` string
    - `uploadedAt` string

## Other responses

- `400`: Bad Request
- `409`: This title already exists
- `415`: Unsupported Media Type
- `500`: Internal Server Error

## Changes

- **2022-07-04** `2ee20bccd1f9`: 2 info
  - api tag `video` added
  - api tag `upload` removed
- **2022-05-04** `b46ddf48167d`: 1 info
  - added the non-success response with the status `409`
- **2022-04-24** `d9fcfa4d194f`: 1 info
  - added the non-success response with the status `415`
- **2022-03-17** `b8ff8571b422`: 4 info
  - api tag `upload` added
  - api tag `video` removed
  - removed the non-success response with the status `409`
  - removed the non-success response with the status `415`

[Operation history](https://skmtc.dev/sogilis/apis/sogilis-cmd-api/changes/api/v1/videos/upload/post.md)

---

[API](https://skmtc.dev/sogilis/apis/sogilis-cmd-api.md) - [All operations](https://skmtc.dev/sogilis/apis/sogilis-cmd-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sogilis/apis/sogilis-cmd-api/revisions/f0a9ebdd3ebf?raw)
