{
  "openapi": "3.0.1",
  "info": {
    "title": "Документация по SelSup API",
    "description": {
      "$ref": "../index.md"
    },
    "contact": {
      "name": "Support Team",
      "email": "admin@selsup.ru"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://selsup.ru/dogovor-offerta/"
    },
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.selsup.ru/",
      "description": "Production server"
    }
  ],
  "tags": [
    {
      "name": "Медиа",
      "description": "Загрузка различных медиа файлов"
    }
  ],
  "paths": {
    "/api/media/order/{orderId}/video": {
      "post": {
        "tags": [
          "Медиа"
        ],
        "summary": "Загрузить видео сборки заказа",
        "description": "Сохраняет записанное видео сборки заказа. В теле запроса передается файл видео",
        "operationId": "uploadOrderCollectVideo",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    }
  }
}