-
Notifications
You must be signed in to change notification settings - Fork 8
/
openapi.yaml
92 lines (92 loc) · 2.54 KB
/
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
openapi: 3.0.0
info:
description: ChemInformatics EDU API
version: v0.8
title: ChemInformatics EDU API
contact:
email: thorsten.gressling@hu-berlin.com
license:
name: MIT
url: https://opensource.org/licenses/MIT
servers:
- description: Test
url: http://gressling.net/v2
security:
- ApiKeyAuth: []
tags:
- name: production (PROD)
description: Deployed API
- name: development (DEV)
description: Operations available to developers
paths:
/api.php:
get:
tags:
- development (DEV)
summary: api.php - Retrieves secured data
operationId: getSecuredData
description: Retrieves secured data available in the system, requires API key for access.
security:
- ApiKeyAuth: []
responses:
'200':
description: Successfully retrieved data
content:
application/json:
schema:
type: object
properties:
message:
type: string
data:
type: object
properties:
info:
type: string
'401':
description: Unauthorized access
/A1/A1.php:
get:
tags:
- production (PROD)
- development (DEV)
summary: api/chemicals - Retrieves chemical data
operationId: getChemicalData
description: Retrieves chemical data available in the system, requires API key for access.
security:
- ApiKeyAuth: []
responses:
'200':
description: Successfully retrieved chemical data
content:
application/json:
schema:
type: object
properties:
message:
type: string
data:
type: array
items:
type: object
properties:
Number:
type: string
Workflow_ID:
type: string
CreateDate:
type: string
Cost:
type: string
Purpose:
type: string
FKEY_USER:
type: string
'401':
description: Unauthorized access
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: query
name: apiKey