LogoРТА Технологии
OpenAPIUploads

Could Upload

Check if a file could be uploaded

POST
/api/uploads/could_upload

Request Body

application/json

content_type*string

File content type (MIME-Type)

content_length*integer

File content length (in bytes)

Response Body

application/json

application/json

curl -X POST "https://app.otascribe.ru/api/api/uploads/could_upload" \  -H "Content-Type: application/json" \  -d '{    "content_type": "string",    "content_length": 0  }'
null
Empty
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}