From fd03a7a9fc6ae80838c76146ac4e03318c9b7e12 Mon Sep 17 00:00:00 2001 From: Erik Rosales Date: Wed, 25 Jan 2023 17:29:35 -0500 Subject: [PATCH 1/7] ref: updated docs for create backup snapshot label --- openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index 0bc8504e4..8a98b1c79 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -20002,7 +20002,7 @@ components: description: | The label for the Database snapshot backup. - * Must include only ASCII letters or numbers. + * Must include only ASCII letters, numbers, or underscores. * Must be unique among other backup labels for this Database. example: db-snapshot target: From 1579027884aa90fbac8cac38483611c799129cc1 Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Mon, 17 Jul 2023 13:40:45 -0400 Subject: [PATCH 2/7] Replaced instances of "cancelled" with "canceled" --- openapi.yaml | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 24605a8a0..6bcbe4bf7 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -566,7 +566,7 @@ paths: example: "I'm consolidating multiple accounts into one." responses: '200': - description: Account cancelled + description: Account canceled content: application/json: schema: @@ -591,7 +591,7 @@ paths: reason: type: string description: > - A string explaining that the account could not be cancelled + A string explaining that the account could not be canceled because there is an outstanding balance on the account that must be paid first. example: > @@ -811,7 +811,7 @@ paths: responses: '200': description: > - Entity Transfer cancelled. + Entity Transfer canceled. content: application/json: schema: @@ -1268,7 +1268,7 @@ paths: - Account summary: Maintenance List description: | - Returns a collection of Maintenance objects for any entity a user has permissions to view. Cancelled Maintenance objects are not returned. + Returns a collection of Maintenance objects for any entity a user has permissions to view. Canceled Maintenance objects are not returned. Currently, Linodes are the only entities available for viewing. operationId: getMaintenance @@ -2431,7 +2431,7 @@ paths: While a transfer is pending, any unrestricted user *of any account* can access this command. After a transfer has been accepted, it can only be viewed by unrestricted users of the accounts that created and - accepted the transfer. If cancelled or expired, only unrestricted users of the account that created the + accepted the transfer. If canceled or expired, only unrestricted users of the account that created the transfer can view it. operationId: getServiceTransfer x-linode-cli-action: view @@ -2464,12 +2464,9 @@ paths: - account summary: Service Transfer Cancel description: | - Cancels the Service Transfer for the provided token. Once cancelled, a transfer cannot be accepted or otherwise - acted on in any way. If cancelled in error, the transfer must be - [created](/docs/api/account/#service-transfer-create) again. + Cancels the Service Transfer for the provided token. Once canceled, a transfer cannot be accepted or otherwise acted on in any way. If canceled in error, the transfer must be [created](/docs/api/account/#service-transfer-create) again. - When cancelled, an email notification for the cancellation is sent to the account that created - this transfer. Transfers can not be cancelled if they are expired or have been accepted. + When canceled, an email notification for the cancellation is sent to the account that created this transfer. Transfers can not be canceled if they are expired or have been accepted. This command can only be accessed by the unrestricted users of the account that created this transfer. operationId: deleteServiceTransfer @@ -2481,7 +2478,7 @@ paths: responses: '200': description: > - Service Transfer cancelled. + Service Transfer canceled. content: application/json: schema: @@ -5721,7 +5718,7 @@ paths: with the URL to which image data can be uploaded. - Image data must be uploaded within 24 hours of creation or the - upload will be cancelled and the image deleted. + upload will be canceled and the image deleted. - Image uploads should be made as an HTTP PUT request to the URL returned in the `upload_to` response parameter, with a `Content-type: application/octet-stream` header included in the @@ -6508,7 +6505,7 @@ paths: - linodes:read_write responses: '200': - description: Backup service was cancelled for the specified Linode. + description: Backup service was canceled for the specified Linode. content: application/json: schema: @@ -20359,7 +20356,7 @@ components: x-linode-filterable: true x-linode-cli-color: accepted: yellow - cancelled: red + canceled: red completed: green failed: red pending: yellow @@ -20368,7 +20365,7 @@ components: type: string enum: - accepted - - cancelled + - canceled - completed - failed - pending @@ -20381,7 +20378,7 @@ components: Transfers can take up to 3 hours to complete. - `cancelled`: The transfer has been cancelled by the sender. + `canceled`: The transfer has been canceled by the sender. `completed`: The transfer has completed successfully. @@ -20394,7 +20391,7 @@ components: `stale`: The transfer has exceeded its expiration date. It can no longer be accepted or - cancelled. + canceled. example: 'pending' created: type: string @@ -24891,7 +24888,7 @@ components: properties: cancel_url: type: string - description: The URL to have PayPal redirect to when Payment is cancelled. + description: The URL to have PayPal redirect to when Payment is canceled. example: https://example.org redirect_url: type: string @@ -26065,7 +26062,7 @@ components: x-linode-filterable: true x-linode-cli-color: accepted: yellow - cancelled: red + canceled: red completed: green failed: red pending: yellow @@ -26074,7 +26071,7 @@ components: type: string enum: - accepted - - cancelled + - canceled - completed - failed - pending @@ -26085,7 +26082,7 @@ components: `accepted`: The transfer has been accepted by another user and is currently in progress. Transfers can take up to 3 hours to complete. - `cancelled`: The transfer has been cancelled by the sender. + `canceled`: The transfer has been canceled by the sender. `completed`: The transfer has completed successfully. @@ -26094,7 +26091,7 @@ components: `pending`: The transfer is ready to be accepted. `stale`: The transfer has exceeded its expiration date. It can no longer be accepted or - cancelled. + canceled. example: 'pending' created: type: string From d59ce3ef43534fa61cd9a3d0b6a1ba271293dbc6 Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Mon, 24 Jul 2023 10:19:59 -0400 Subject: [PATCH 3/7] Updated Profile Apps as filterable by label --- openapi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/openapi.yaml b/openapi.yaml index 24605a8a0..fc6aa2b04 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -18990,6 +18990,7 @@ components: The name of the application you've authorized. example: example-app readOnly: true + x-linode-filterable: true x-linode-cli-display: 2 thumbnail_url: type: string From 14e9c6472aa6fa659a1f87964cf9f2f1fa9952f4 Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Tue, 25 Jul 2023 13:20:17 -0400 Subject: [PATCH 4/7] Added last_login to User --- openapi.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index c1f8391d9..282f7752e 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -25902,6 +25902,33 @@ components: `null` if this User has not created a password yet. example: "2018-01-01T01:01:01" + last_login: + type: object + readOnly: true + nullable: true + description: | + Information for the most recent login attempt for this User. + + `null` if no login attempts have been made since creation of this User. + + Access the [User Logins List All](/docs/api/account/#user-logins-list-all) command for additional login information. + properties: + login_datetime: + type: string + format: date-time + readOnly: true + description: | + The date and time of this User's most recent login attempt. + example: "2018-01-01T01:01:01" + status: + type: string + readOnly: true + enum: + - successful + - failed + description: | + The result of the most recent login attempt for this User. + example: successful UserDefinedField: type: object required: From 48087fad3c7c9a0bdeff7d33c5d16db92e612f5e Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Tue, 25 Jul 2023 13:48:04 -0400 Subject: [PATCH 5/7] Added example for User tfa_enabled --- openapi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/openapi.yaml b/openapi.yaml index 282f7752e..ad2817a35 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -25880,6 +25880,7 @@ components: A boolean value indicating if the User has Two Factor Authentication (TFA) enabled. See the Create Two Factor Secret ([POST /profile/tfa-enable](/docs/api/profile/#two-factor-secret-create)) endpoint to enable TFA. + example: true verified_phone_number: type: string format: phone From affb22146348843c0864e4a2c10fdc049ef79ee5 Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Tue, 25 Jul 2023 13:52:54 -0400 Subject: [PATCH 6/7] Expanded DBaaS backup restore to include failed and degraded clusters --- openapi.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index c1f8391d9..647dffed8 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -3786,7 +3786,7 @@ paths: Requires `read_write` access to the Database. - The Database must have an `active` status to perform this command. + The Database must have an `active`, `degraded`, or `failed` status to perform this command. **Note**: Restoring from a backup will erase all existing data on the database instance and replace it with backup data. @@ -4542,7 +4542,7 @@ paths: Requires `read_write` access to the Database. - The Database must have an `active` status to perform this command. + The Database must have an `active`, `degraded`, or `failed` status to perform this command. **Note**: Restoring from a backup will erase all existing data on the database instance and replace it with backup data. From bce94c913f5c0fd548fc2a4ffe492f30c017ea49 Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Tue, 25 Jul 2023 15:11:39 -0400 Subject: [PATCH 7/7] Bump version to 4.159.0 --- openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index 999d1b370..a316a90fb 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1,6 +1,6 @@ openapi: 3.0.1 info: - version: 4.158.1 + version: 4.159.0 title: Linode API description: |