Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 7 additions & 19 deletions openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.1
info:
version: 4.95.0
version: 4.96.0

title: Linode API
description: |
Expand Down Expand Up @@ -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'
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -3632,6 +3624,7 @@ paths:
x-linode-cli-command: images
post:
servers:
- url: https://api.linode.com/v4
- url: https://api.linode.com/v4beta
tags:
- Images
Expand All @@ -3658,11 +3651,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: []
Expand Down