You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+30-11Lines changed: 30 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
openapi: 3.0.1
2
2
info:
3
-
version: 4.112.3
3
+
version: 4.113.0
4
4
5
5
title: Linode API
6
6
description: |
@@ -82,9 +82,9 @@ info:
82
82
| 2. Your application then redirects the user to Linode's [login server](https://login.linode.com) with the client application's `client_id` and requested OAuth `scope`, which should appear in the URL of the login page. | 2. Your application then redirects the user to Linode's [login server](https://login.linode.com) with the client application's `client_id` and requested OAuth `scope`, which should appear in the URL of the login page. |
83
83
| 3. The user logs into the login server with their username and password. | 3. The user logs into the login server with their username and password. |
84
84
| 4. The login server redirects the user to the specificed redirect URL with a temporary authorization `code` (exchange code) in the URL. | 4. The login server redirects the user back to your application with an OAuth `access_token` embedded in the redirect URL's hash. This is temporary and expires in two hours. No `refresh_token` is issued. Therefore, once the `access_token` expires, a new one will need to be issued by having the user log in again. |
85
-
| 5. The application issues a POST request (*see below*) to the login server with the exchange code, `client_id`, and the client application's `client_secret`. | |
85
+
| 5. The application issues a POST request (*see additional details below*) to the login server with the exchange code, `client_id`, and the client application's `client_secret`. | |
86
86
| 6. The login server responds to the client application with a new OAuth `access_token` and `refresh_token`. The `access_token` is set to expire in two hours. | |
87
-
| 7. The `refresh_token` can be used by contacting the login server with the `client_id`, `client_secret`, `grant_type`, and `refresh_token` to get a new OAuth `access_token` and `refresh_token`. The new `access_token` is good for another two hours, and the new `refresh_token`, can be used to extend the session again by this same method. | |
87
+
| 7. The `refresh_token` can be used by contacting the login server with the `client_id`, `client_secret`, `grant_type`, and `refresh_token` to get a new OAuth `access_token` and `refresh_token`. The new `access_token` is good for another two hours, and the new `refresh_token` can be used to extend the session again by this same method (*see additional details below*). | |
88
88
89
89
#### OAuth Private Workflow - Additional Details
90
90
@@ -103,7 +103,6 @@ info:
103
103
104
104
| PARAMETER | DESCRIPTION |
105
105
|-----------|-------------|
106
-
| grant_type | The grant type you're using for renewal. Currently only the string "refresh_token" is accepted. |
107
106
| client_id | Your app's client ID. |
108
107
| client_secret | Your app's client secret. |
109
108
| code | The code you just received from the redirect. |
This `access_token` is set to expire in two hours. To refresh access prior to expiration, make another request to the same URL with the following parameters in the POST body:
130
+
131
+
| PARAMETER | DESCRIPTION |
132
+
|-----------|-------------|
133
+
| grant_type | The grant type you're using. Use "refresh_token" when refreshing access. |
134
+
| client_id | Your app's client ID. |
135
+
| client_secret | Your app's client secret. |
136
+
| refresh_token | The `refresh_token` received from the previous response. |
137
+
138
+
You'll get another response with an updated `access_token` and `refresh_token`, which can then be used to refresh access again.
139
+
129
140
#### OAuth Reference
130
141
131
142
| Security Scheme Type | OAuth 2.0 |
@@ -7498,7 +7509,7 @@ paths:
7498
7509
control_plane:
7499
7510
type: object
7500
7511
description: >
7501
-
Defines settings for the Kubernetes Control Plane. Allows for the enabling of High Availability (HA) for Control Plane Components. Enabling High Availability for LKE is an **irreversible** change. The High Availability feature is in a **closed beta** and is not currently available to all customers. Please be aware that this feature may receive breaking updates in the future. This notice will be removed when this feature is out of beta.
7512
+
Defines settings for the Kubernetes Control Plane. Allows for the enabling of High Availability (HA) for Control Plane Components. Enabling High Availability for LKE is an **irreversible** change.
7502
7513
properties:
7503
7514
high_availability:
7504
7515
type: boolean
@@ -7639,10 +7650,18 @@ paths:
7639
7650
The Kubernetes version of a cluster can not be downgraded.
7640
7651
control_plane:
7641
7652
type: object
7642
-
description: >
7653
+
description: |
7643
7654
Defines settings for the Kubernetes Control Plane. Allows for the enabling of High Availability (HA) for Control Plane Components.
7644
7655
7645
-
Enabling High Availability for LKE is an **irreversible** change. The High Availability feature is in a **closed beta** and is not currently available to all customers. Please be aware that this feature may receive breaking updates in the future. This notice will be removed when this feature is out of beta.
7656
+
Enabling High Availability for LKE is an **irreversible** change.
7657
+
7658
+
When upgrading pre-existing LKE clusters to use the HA Control Plane, the following changes will additionally occur:
7659
+
7660
+
- All nodes will be deleted and new nodes will be created to replace them.
7661
+
7662
+
- Any local storage (such as `hostPath` volumes) will be erased.
7663
+
7664
+
- The upgrade process may take several minutes to complete, as nodes will be replaced on a rolling basis.
7646
7665
properties:
7647
7666
high_availability:
7648
7667
type: boolean
@@ -19562,7 +19581,7 @@ components:
19562
19581
control_plane:
19563
19582
type: object
19564
19583
description: >
19565
-
Defines settings for the Kubernetes Control Plane. Allows for the enabling of High Availability (HA) for Control Plane Components. Enabling High Avaialability for LKE is an **irreversible** change. The High Availability feature is in a **closed beta** and is not currently available to all customers. Please be aware that this feature may receive breaking updates in the future. This notice will be removed when this feature is out of beta.
19584
+
Defines settings for the Kubernetes Control Plane. Allows for the enabling of High Availability (HA) for Control Plane Components. Enabling High Avaialability for LKE is an **irreversible** change.
0 commit comments