-
Notifications
You must be signed in to change notification settings - Fork 0
/
datapipeline-openapi.yaml
57 lines (56 loc) · 1.44 KB
/
datapipeline-openapi.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
openapi: 3.0.0
info:
description: "This is the initial API for data pipeline plugin"
version: "1.0.0"
title: "RADON data pipeline plugin"
contact:
email: "[email protected]"
license:
name: "Apache 2.0"
url: "http://www.apache.org/licenses/LICENSE-2.0.html"
tags:
- name: "convert"
description: "Check the validity of data pipeline and convert it into a working version if needed"
servers:
- url: /RadonDataPipeline
paths:
/convert:
post:
tags:
- "convert"
summary: "Submit a data pipeline for validation and converting"
description: ""
operationId: "submit_datapipeline"
requestBody:
$ref: "#/components/requestBodies/DataPipeline"
responses:
405:
description: "Invalid input"
201:
description: "Successful operation"
content:
application/octet-stream:
schema:
type: string
format: binary
200:
description: "Successful operation"
content:
application/octet-stream:
schema:
type: string
format: binary
components:
requestBodies:
DataPipeline:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/DataPipeline'
schemas:
DataPipeline:
properties:
file:
type: string
format: binary
type: object