-
Notifications
You must be signed in to change notification settings - Fork 40
/
website-api.yml
118 lines (118 loc) · 3.29 KB
/
website-api.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
openapi: '3.0.2'
info:
title: Open Liberty Website API
version: '1.0'
servers:
- url: https://openliberty.io/api/
components:
schemas:
update:
type: object
properties:
last_update_attempt:
type: string
last_successful_update:
type: string
latestReleases:
type: object
properties:
runtime:
$ref: "#/components/schemas/build"
tools:
$ref: "#/components/schemas/build"
build:
type: object
properties:
version:
type: "string"
date_time:
type: "string"
driver_location:
type: "string"
size_in_bytes:
type: "integer"
total_tests:
type: "integer"
test_passed:
type: "integer"
build_log:
type: "string"
tests_log:
type: "string"
package_locations:
type: array
items:
type: string
description: "This is an array of strings whose values are name=value, this should totally be an object"
paths:
/builds:
get:
responses:
'200':
description: "The timestamp for the last attempt to update the builds, and the last successful run"
content:
application/json:
schema:
$ref: "#/components/schemas/update"
put:
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: "#/components/schemas/update"
/builds/data:
get:
responses:
'200':
description: OK
content:
application/json:
schema:
properties:
latest_releases:
$ref: "#/components/schemas/latestReleases"
builds:
type: object
properties:
runtime_releases:
type: array
items:
$ref: "#/components/schemas/build"
runtime_betas:
type: array
items:
$ref: "#/components/schemas/build"
runtime_nightly_builds:
type: array
items:
$ref: "#/components/schemas/build"
tools_releases:
type: array
items:
$ref: "#/components/schemas/build"
tools_nightly_builds:
type: array
items:
$ref: "#/components/schemas/build"
/builds/latest:
get:
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: "#/components/schemas/latestReleases"
/github/issues:
get:
responses:
'200':
description: "Returns the top 30 github issues using the format defined by GitHub. This is really just a pass through."
content:
application/json:
schema:
type: array
items:
type: object