-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathswagger.yaml
127 lines (123 loc) · 3.24 KB
/
swagger.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
openapi: 3.0.0
info:
title: API Service for tracking the COVID-19
description: 'This repository provides API Service for tracking the Coronavirus(COVID-19) using Novel Coronavirus (COVID-19) Cases[link](https://github.com/CSSEGISandData/COVID-19), provided by [JHU CSSE](https://systems.jhu.edu/).'
contact:
email: gadise@gmail.com
license:
name: MIT
version: 0.4.4
servers:
- url: https://wuhan-coronavirus-api.laeyoung.endpoint.ainize.ai/
tags:
- name: Johns Hopkins CSSE
description: Data source from Johns Hopkins CSSE
paths:
/jhu-edu/brief:
get:
tags:
- Johns Hopkins CSSE
responses:
'200':
content:
application/json:
schema:
type: string
properties:
result:
type: string
'400':
description: Bad Request Error
default:
description: Unexpected Error
/jhu-edu/latest:
get:
tags:
- Johns Hopkins CSSE
parameters:
- name: iso2
in: query
description: Filter by iso2 country code
schema:
type: string
default: US
required: false
- name: iso3
in: query
description: Filter by iso3 country code
schema:
type: string
required: false
- name: onlyCountries
in: query
description: Make the sum of all the cities or the states in those countries
schema:
type: boolean
required: false
responses:
'200':
content:
application/json:
schema:
type: string
properties:
result:
type: string
'400':
description: Bad Request Error
default:
description: Unexpected Error
/jhu-edu/timeseries:
get:
tags:
- Johns Hopkins CSSE
parameters:
- name: iso2
in: query
description: Filter by iso2 country code
schema:
type: string
default: US
required: false
- name: iso3
in: query
description: Filter by iso3 country code
schema:
type: string
required: false
- name: onlyCountries
in: query
description: Make the sum of all the cities or the states in those countries
schema:
type: boolean
required: false
responses:
'200':
content:
application/json:
schema:
type: string
properties:
result:
type: string
'400':
description: Bad Request Error
default:
description: Unexpected Error
/kcdc/brief:
get:
tags:
- KCDC, South Korea
responses:
'200':
content:
application/json:
schema:
type: string
properties:
result:
type: string
'400':
description: Bad Request Error
default:
description: Unexpected Error