-
Notifications
You must be signed in to change notification settings - Fork 1
/
oai-spec-3-autoscaling_v1.json
92 lines (92 loc) · 3.49 KB
/
oai-spec-3-autoscaling_v1.json
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
{
"swagger": "2.0",
"info": {
"description": "OpenShift provides builds, application lifecycle, image content management,\nand administrative policy on top of Kubernetes. The API allows consistent\nmanagement of those objects.\n\nAll API operations are authenticated via an Authorization\tbearer token that\nis provided for service accounts as a generated secret (in JWT form) or via\nthe native OAuth endpoint located at /oauth/authorize. Core infrastructure\ncomponents may use client certificates that require no authentication.\n\n",
"title": "OpenShift API (with Kubernetes)",
"license": {
"name": "Apache 2.0 (ASL2.0)",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
},
"version": "latest"
},
"paths": {
"/apis/autoscaling/v1/": {
"get": {
"description": "get available resources",
"consumes": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf"
],
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf"
],
"schemes": [
"https"
],
"tags": [
"autoscaling_v1"
],
"operationId": "getAutoscalingV1APIResources",
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList"
}
},
"401": {
"description": "Unauthorized"
}
}
}
}
},
"definitions": {},
"securityDefinitions": {
"BearerToken": {
"description": "Bearer Token authentication",
"type": "apiKey",
"name": "authorization",
"in": "header"
},
"Oauth2AccessToken": {
"type": "oauth2",
"flow": "accessCode",
"authorizationUrl": "https://127.0.0.1:8443/oauth/authorize",
"tokenUrl": "https://127.0.0.1:8443/oauth/token",
"scopes": {
"user:check-access": "Read-only access to view your privileges (for example, \"can I create builds?\")",
"user:full": "Full read/write access with all of your permissions",
"user:info": "Read-only access to your user information (including username, identities, and group membership)",
"user:list-projects": "Read-only access to list your projects and view their metadata (display name, description, etc.)",
"user:list-scoped-projects": "Read-only access to list your projects viewable with this token and view their metadata (display name, description, etc.)"
}
},
"Oauth2Implicit": {
"type": "oauth2",
"flow": "implicit",
"authorizationUrl": "https://127.0.0.1:8443/oauth/authorize",
"scopes": {
"user:check-access": "Read-only access to view your privileges (for example, \"can I create builds?\")",
"user:full": "Full read/write access with all of your permissions",
"user:info": "Read-only access to your user information (including username, identities, and group membership)",
"user:list-projects": "Read-only access to list your projects and view their metadata (display name, description, etc.)",
"user:list-scoped-projects": "Read-only access to list your projects viewable with this token and view their metadata (display name, description, etc.)"
}
}
},
"security": [
{
"BearerToken": []
},
{
"Oauth2AccessToken": []
},
{
"Oauth2Implicit": []
}
]
}