forked from endoflife-date/endoflife.date
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openapi.yml
326 lines (326 loc) · 10.5 KB
/
openapi.yml
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
openapi: 3.1.0
info:
title: endoflife.date
version: 0.0.1
summary: endoflife.date API
description: 'Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki)'
license:
name: MIT
url: 'https://github.com/endoflife-date/endoflife.date/blob/master/LICENSE'
contact:
url: 'https://github.com/endoflife-date/endoflife.date/issues/new/choose'
name: Team endoflife.date
servers:
- url: 'https://endoflife.date'
description: Production API
paths:
'/api/{product}.json':
get:
summary: Get All Details
tags: []
responses:
'200':
description: OK
headers: {}
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/cycle'
examples:
/api/ubuntu.json:
value:
- cycle: '21.04'
lts: false
releaseDate: '2021-04-22'
support: '2022-01-01'
eol: '2022-01-01'
latest: '21.04'
link: 'https://wiki.ubuntu.com/HirsuteHippo/ReleaseNotes/'
- cycle: '20.10'
lts: false
releaseDate: '2020-10-22'
support: '2021-07-07'
eol: '2021-07-07'
latest: '20.10'
link: 'https://wiki.ubuntu.com/GroovyGorilla/ReleaseNotes/'
/api/python.json:
value:
- cycle: 3.9
releaseDate: '2020-10-05'
eol: '2025-10-05'
latest: 3.9.5
link: 'https://www.python.org/downloads/release/python-395/'
- cycle: 3.8
releaseDate: '2019-10-14'
eol: '2024-10-14'
latest: 3.8.10
link: 'https://www.python.org/downloads/release/python-3810/'
operationId: 'get-api-:product.json'
description: Get EoL dates of all cycles of a given product.
parameters:
- schema:
type: string
name: product
in: path
required: true
description: Product URL as per the canonical URL on the endofife.date website
'/api/{product}/{cycle}.json':
get:
summary: Single cycle details
tags: []
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/cycle'
examples:
/api/python/3.9.json:
value:
releaseDate: '2020-10-05'
eol: '2025-10-05'
latest: 3.9.5
link: 'https://www.python.org/downloads/release/python-395/'
/api/ubuntu/21.04.json:
value:
lts: false
releaseDate: '2021-04-22'
support: '2022-01-01'
eol: '2022-01-01'
latest: '21.04'
link: 'https://wiki.ubuntu.com/HirsuteHippo/ReleaseNotes/'
operationId: 'get-api-:product-:cycle.json'
description: Gets details of a single cycle
parameters:
- schema:
type: string
name: product
in: path
required: true
description: Product URL as per the canonical URL on the endofife.date website
- schema:
type: string
name: cycle
in: path
required: true
description: Release Cycle for which the details must be fetched
/api/all.json:
get:
summary: All Products
tags: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
description: List of all products.
items:
type: string
examples:
all-products:
value:
- alpine
- amazon-linux
- android
- bootstrap
- centos
- debian
- django
- dotnet
- dotnetcore
- dotnetfx
- drupal
- elasticsearch
- elixir
- fedora
- filemaker
- freebsd
- go
- godot
- iphone
- java
- kindle
- kubernetes
- laravel
- macos
- magento
- mariadb
- mongodb
- mssqlserver
- mysql
- nodejs
- office
- opensuse
- perl
- php
- pixel
- postgresql
- powershell
- python
- qt
- rabbitmq
- rails
- redis
- rhel
- ros
- ruby
- sles
- spring-framework
- surface
- symfony
- ubuntu
- vue
- wagtail
- windows
- windowsembedded
- windowsserver
operationId: get-api-all.json
description: Return a list of all products. Each of these can be used for the other API endpoints.
components:
schemas:
cycle:
x-examples:
python:
- cycle: 3.9
releaseDate: '2020-10-05'
eol: '2025-10-05'
latest: 3.9.5
link: 'https://www.python.org/downloads/release/python-395/'
- cycle: 3.8
releaseDate: '2019-10-14'
eol: '2024-10-14'
latest: 3.8.10
link: 'https://www.python.org/downloads/release/python-3810/'
- cycle: 3.7
releaseDate: '2018-06-27'
eol: '2023-06-27'
latest: 3.7.10
link: 'https://www.python.org/downloads/release/python-3710/'
- cycle: 3.6
releaseDate: '2016-12-23'
eol: '2021-12-23'
latest: 3.6.13
link: 'https://www.python.org/downloads/release/python-3613/'
- cycle: 3.5
releaseDate: '2015-09-30'
eol: '2020-09-13'
latest: 3.5.10
link: 'https://www.python.org/downloads/release/python-3510/'
- cycle: 3.4
releaseDate: '2014-03-16'
eol: '2019-03-18'
latest: 3.4.10
link: 'https://www.python.org/downloads/release/python-3410/'
- cycle: 3.3
releaseDate: '2012-09-29'
eol: '2017-09-29'
latest: 3.3.7
link: 'https://www.python.org/downloads/release/python-337/'
- cycle: 2.7
releaseDate: '2010-07-03'
eol: '2020-01-01'
latest: 2.7.18
link: 'https://github.com/python/cpython/blob/2.7/Misc/NEWS.d/2.7.18rc1.rst'
ubuntu:
- cycle: '21.04'
lts: false
releaseDate: '2021-04-22'
support: '2022-01-01'
eol: '2022-01-01'
latest: '21.04'
link: 'https://wiki.ubuntu.com/HirsuteHippo/ReleaseNotes/'
- cycle: '20.10'
lts: false
releaseDate: '2020-10-22'
support: '2021-07-07'
eol: '2021-07-07'
latest: '20.10'
link: 'https://wiki.ubuntu.com/GroovyGorilla/ReleaseNotes/'
- cycle: '20.04'
lts: true
releaseDate: '2020-04-23'
support: '2022-10-01'
eol: '2025-04-02'
latest: 20.04.2
- cycle: '19.10'
releaseDate: '2019-10-17'
support: '2020-07-06'
eol: '2020-07-06'
latest: '19.10'
- cycle: '18.04'
lts: true
releaseDate: '2018-04-26'
support: '2020-09-30'
eol: '2023-04-02'
latest: 18.04.5
- cycle: '16.04'
lts: true
releaseDate: '2016-04-21'
support: '2018-10-01'
eol: '2021-04-02'
latest: 16.04.7
- cycle: '14.04'
lts: true
releaseDate: '2014-04-17'
support: '2016-09-30'
eol: '2019-04-02'
latest: 14.04.6
type: object
description: Details of a single release cycle of a given product. There might be some slight variations to this depending on the product.
title: Cycle
properties:
cycle:
type:
- number
- string
description: Release Cycle
releaseDate:
type: string
minLength: 10
description: Release Date for the first release in this cycle
format: date
maxLength: 10
eol:
type:
- string
- boolean
minLength: 1
description: End of Life Date for this release cycle
latest:
type: string
minLength: 1
description: Latest release in this cycle
link:
type:
- string
- 'null'
minLength: 1
description: 'Link to changelog for the latest release, if available'
lts:
type:
- boolean
- string
description: >
Whether this release cycle has long-term-support (LTS). Can be a date instead in YYYY-MM-DD format as well
if the release enters LTS status on a given date.
support:
type:
- string
- boolean
format: date
minLength: 10
maxLength: 10
description: Whether this release cycle has active support
discontinued:
type:
- string
- boolean
description: Whether this cycle is now discontinued.
minLength: 10
maxLength: 10
format: date