Skip to content

Commit febb5bd

Browse files
authored
Merge pull request #299 from linode/release-4.70.0
Release 4.70.0
2 parents 9a6a640 + 6a0d7b1 commit febb5bd

File tree

1 file changed

+59
-32
lines changed

1 file changed

+59
-32
lines changed

openapi.yaml

Lines changed: 59 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.69.0
3+
version: 4.70.0
44

55
title: Linode API
66
description: |
@@ -84,7 +84,7 @@ info:
8484
| 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. |
8585
| 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`. | |
8686
| 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`, 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. | |
8888

8989
### OAuth Private Workflow - Additional Details
9090

@@ -103,6 +103,7 @@ info:
103103

104104
| PARAMETER | DESCRIPTION |
105105
|-----------|-------------|
106+
| grant_type | The grant type you're using for renewal. Currently only the string "refresh_token" is accepted. |
106107
| client_id | Your app's client ID. |
107108
| client_secret | Your app's client secret. |
108109
| code | The code you just received from the redirect. |
@@ -4630,15 +4631,7 @@ paths:
46304631
description: >
46314632
The new root password for the OS installed on this Disk.
46324633

4633-
The password must contain at least two of these four
4634-
character classes:
4635-
4636-
* lowercase letters
4637-
* uppercase letters
4638-
* numbers
4639-
* punctuation
4640-
minLength: 6
4641-
maxLength: 128
4634+
The password must meet the complexity strength validation requirements for a strong password.
46424635
example: another@complex^Password123
46434636
responses:
46444637
'200':
@@ -5095,7 +5088,7 @@ paths:
50955088
x-linode-cli-command: linodes
50965089
post:
50975090
x-linode-grant: read_write
5098-
summary: Initiate Pending Host Migration/DC Migration
5091+
summary: Initiate DC Migration/Pending Host Migration
50995092
description: >
51005093
Initiate a pending host migration that has been scheduled by Linode or
51015094
initiate a cross data center (DC) migration. A list of pending migrations,
@@ -6649,10 +6642,12 @@ paths:
66496642
tags:
66506643
- Linode Kubernetes Engine (LKE)
66516644
summary: Update Node Pool
6652-
description: >
6653-
Updates a Node Pool. When a Node Pool's count are
6654-
changed, the nodes in that pool will be replaced in a rolling
6655-
fashion.
6645+
description: |
6646+
Updates a Node Pool's count.
6647+
6648+
Linodes will be created or deleted to match changes to the Node Pool's count.
6649+
6650+
**Any local storage on deleted Linodes (such as "hostPath" and "emptyDir" volumes, or "local" PersistentVolumes) will be erased.**
66566651
requestBody:
66576652
description: The fields to update
66586653
content:
@@ -6726,6 +6721,52 @@ paths:
67266721
- lang: CLI
67276722
source: >
67286723
linode-cli lke pool-delete 12345 456
6724+
/lke/clusters/{clusterId}/pools/{poolId}/recycle:
6725+
parameters:
6726+
- name: clusterId
6727+
in: path
6728+
description: ID of the Kubernetes cluster this Node Pool is attached to.
6729+
required: true
6730+
schema:
6731+
type: integer
6732+
- name: poolId
6733+
in: path
6734+
description: ID of the Node Pool to be recycled.
6735+
required: true
6736+
schema:
6737+
type: integer
6738+
x-linode-cli-command: lke
6739+
post:
6740+
operationId: postLKEClusterPoolRecycle
6741+
x-linode-cli-action: pool-recycle
6742+
security:
6743+
- personalAccessToken: []
6744+
- oauth:
6745+
- lke:read_write
6746+
tags:
6747+
- Linode Kubernetes Engine (LKE)
6748+
summary: Recycle Node Pool
6749+
description: |
6750+
Recycles a Node Pool for the designated Kubernetes Cluster. All Linodes within the Node Pool will be deleted
6751+
and replaced with new Linodes on a rolling basis, which may take several minutes. Replacement Nodes are
6752+
installed with the latest available patch for the Cluster's Kubernetes Version.
6753+
6754+
**Any local storage on deleted Linodes (such as "hostPath" and "emptyDir" volumes, or "local" PersistentVolumes) will be erased.**
6755+
responses:
6756+
'200':
6757+
description: Node Pool has been recycled.
6758+
default:
6759+
$ref: '#/components/responses/ErrorResponse'
6760+
x-code-samples:
6761+
- lang: Shell
6762+
source: >
6763+
curl -H "Content-Type: application/json" \
6764+
-H "Authorization: Bearer $TOKEN" \
6765+
-X POST \
6766+
https://api.linode.com/v4/lke/clusters/12345/pools/456/recycle
6767+
- lang: CLI
6768+
source: >
6769+
linode-cli lke pool-recycle 12345 456
67296770
/lke/clusters/{clusterId}/api-endpoints:
67306771
parameters:
67316772
- name: clusterId
@@ -7593,8 +7634,6 @@ paths:
75937634
example: johndoe
75947635
password:
75957636
type: string
7596-
minLength: 0
7597-
maxLength: 5000
75987637
description: >
75997638
The password to use when accessing the Managed Service.
76007639
example: s3cur3P@ssw0rd
@@ -7750,8 +7789,6 @@ paths:
77507789
example: johndoe
77517790
password:
77527791
type: string
7753-
minLength: 0
7754-
maxLength: 5000
77557792
description: >
77567793
The password to use when accessing the Managed Service.
77577794
example: s3cur3P@ssw0rd
@@ -13780,20 +13817,10 @@ components:
1378013817
writeOnly: true
1378113818
example: aComplexP@ssword
1378213819
description: |
13783-
This will set the root user's password on the newly-created Linode.
13784-
The root password must conform to the following constraints:
13785-
13786-
* May only use alphanumerics, punctuation, spaces, and tabs.
13787-
* Must contain at least two of the following characters classes:
13788-
* Upper-case letters
13789-
* Lower-case letters
13790-
* Digits
13791-
* Punctuation
13820+
This will set the root user's password on the newly-created Linode. Linode passwords have the following constraints:
13821+
1379213822
* Must meet a password strength score requirement that is calculated internally by the API.
1379313823
If the strength requirement is not met, you will receive a `Password does not meet strength requirement` error.
13794-
minLength: 6
13795-
maxLength: 128
13796-
pattern: ^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[A-Z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[0-9])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\])))
1379713824
stackscript_id:
1379813825
type: integer
1379913826
example: 10079

0 commit comments

Comments
 (0)