From eb7de5818cf07bfb4ea4fa79a8a26808a2196dec Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Tue, 15 Jun 2021 16:22:37 -0400 Subject: [PATCH 1/3] Image Upload out of beta --- openapi.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 9aa61cca5..c9f5e854d 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -3632,6 +3632,7 @@ paths: x-linode-cli-command: images post: servers: + - url: https://api.linode.com/v4 - url: https://api.linode.com/v4beta tags: - Images @@ -3658,11 +3659,6 @@ paths: - Uploaded image data should be compressed in gzip (`.gz`) format. The uncompressed disk should be in raw disk image (`.img`) format. A maximum compressed file size of 5GB is supported for upload at this time. - - This endpoint is currently in **beta**. Please make sure to prepend all requests with - `/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking - updates in the future. This notice will be removed when this endpoint is out of - beta. x-linode-cli-action: upload security: - personalAccessToken: [] From 7595e68338d707394c6f663ccd9e04cf4f0b3594 Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Mon, 21 Jun 2021 10:24:59 -0400 Subject: [PATCH 2/3] Payment Methods List out of beta --- openapi.yaml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 9aa61cca5..ec4d71b8b 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1648,6 +1648,7 @@ paths: x-linode-cli-command: account get: servers: + - url: https://api.linode.com/v4 - url: https://api.linode.com/v4beta parameters: - $ref: '#/components/parameters/pageOffset' @@ -1658,11 +1659,6 @@ paths: summary: Payment Methods List description: | Returns a paginated list of Payment Methods for this Account. - - This endpoint is currently in **beta**. Please make sure to prepend all requests with - `/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking - updates in the future. This notice will be removed when this endpoint is out of - beta. operationId: getPaymentMethods x-linode-cli-action: payment-methods-list security: @@ -1683,20 +1679,16 @@ paths: type: object description: Payment Method object response. properties: - method: + type: type: string description: The type of Payment Method. example: 'credit_card' x-linode-cli-display: 1 is_default: - type: integer + type: boolean description: | Whether this Payment Method is the default method for automatically processing service charges. - - `0`: False - - `1`: True - example: 1 + example: true x-linode-cli-display: 2 created: type: string @@ -1736,7 +1728,7 @@ paths: - lang: Shell source: > curl -H "Authorization: Bearer $TOKEN" \ - https://api.linode.com/v4beta/account/payment-methods + https://api.linode.com/v4/account/payment-methods - lang: CLI source: > linode-cli account payment-methods-list From bf38d9729fe88c7f974390bce5468350a7d43efb Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Mon, 21 Jun 2021 16:14:55 -0400 Subject: [PATCH 3/3] Bump version to 4.96.0 --- openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index 9165d8aab..79e24634b 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1,6 +1,6 @@ openapi: 3.0.1 info: - version: 4.95.0 + version: 4.96.0 title: Linode API description: |