blob: ad5a7dac421c01927c96a51c0d26e7ff5732ca1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
---
tags:
- "Metadata removal cleaning in one request (automated clients)"
summary: 'Upload a single file which will be cleaned from metadata and returned directly'
requestBody:
description: "The file that will be cleaned from metadata and the cleaned file is returned directly"
required: true
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
format: binary
responses:
'200':
description: "The cleaned file"
content:
"*/*":
schema:
type: string
format: binary
400:
description: "Invalid input"
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
415:
description: "Unsupported file type"
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
500:
description: "Unable to clean the file"
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
|