Skip to content

Commit c350023

Browse files
authored
Merge pull request #460 from linode/release-4.94.0
Release 4.94.0
2 parents 4b64117 + d142fb3 commit c350023

File tree

1 file changed

+108
-5
lines changed

1 file changed

+108
-5
lines changed

openapi.yaml

Lines changed: 108 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.93.1
3+
version: 4.94.0
44

55
title: Linode API
66
description: |
@@ -1644,6 +1644,102 @@ paths:
16441644
-X PUT \
16451645
--data-binary "/path/to/image"
16461646
https://api.linode.com/v4/account/oauth-clients/edc6790ea9db4d224c5c/thumbnail
1647+
/account/payment-methods:
1648+
x-linode-cli-command: account
1649+
get:
1650+
servers:
1651+
- url: https://api.linode.com/v4beta
1652+
parameters:
1653+
- $ref: '#/components/parameters/pageOffset'
1654+
- $ref: '#/components/parameters/pageSize'
1655+
x-linode-grant: read_only
1656+
tags:
1657+
- Account
1658+
summary: Payment Methods List
1659+
description: |
1660+
Returns a paginated list of Payment Methods for this Account.
1661+
1662+
This endpoint is currently in **beta**. Please make sure to prepend all requests with
1663+
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
1664+
updates in the future. This notice will be removed when this endpoint is out of
1665+
beta.
1666+
operationId: getPaymentMethods
1667+
x-linode-cli-action: payment-methods-list
1668+
security:
1669+
- personalAccessToken: []
1670+
- oauth:
1671+
- account:read_only
1672+
responses:
1673+
'200':
1674+
description: Returns a paginated list of Payment Method objects.
1675+
content:
1676+
application/json:
1677+
schema:
1678+
type: object
1679+
properties:
1680+
data:
1681+
type: array
1682+
items:
1683+
type: object
1684+
description: Payment Method object response.
1685+
properties:
1686+
method:
1687+
type: string
1688+
description: The type of Payment Method.
1689+
example: 'credit_card'
1690+
x-linode-cli-display: 1
1691+
is_default:
1692+
type: integer
1693+
description: |
1694+
Whether this Payment Method is the default method for automatically processing service charges.
1695+
1696+
`0`: False
1697+
1698+
`1`: True
1699+
example: 1
1700+
x-linode-cli-display: 2
1701+
created:
1702+
type: string
1703+
readOnly: true
1704+
format: date-time
1705+
description: When the Payment Method was added to the Account.
1706+
example: '2018-01-15T00:01:01'
1707+
data:
1708+
type: object
1709+
description: Credit card information.
1710+
properties:
1711+
card_type:
1712+
type: string
1713+
description: The type of credit card.
1714+
example: ""
1715+
x-linode-cli-display: 8
1716+
last_four:
1717+
type: string
1718+
description: The last four digits of the credit card number.
1719+
example: "1234"
1720+
x-linode-cli-display: 9
1721+
expiry:
1722+
type: string
1723+
format: MM/YYYY
1724+
description: The expiration month and year of the credit card.
1725+
example: 06/2022
1726+
x-linode-cli-display: 10
1727+
page:
1728+
$ref: '#/components/schemas/PaginationEnvelope/properties/page'
1729+
pages:
1730+
$ref: '#/components/schemas/PaginationEnvelope/properties/pages'
1731+
results:
1732+
$ref: '#/components/schemas/PaginationEnvelope/properties/results'
1733+
default:
1734+
$ref: '#/components/responses/ErrorResponse'
1735+
x-code-samples:
1736+
- lang: Shell
1737+
source: >
1738+
curl -H "Authorization: Bearer $TOKEN" \
1739+
https://api.linode.com/v4beta/account/payment-methods
1740+
- lang: CLI
1741+
source: >
1742+
linode-cli account payment-methods-list
16471743
/account/payments:
16481744
x-linode-cli-command: account
16491745
get:
@@ -3549,8 +3645,9 @@ paths:
35493645
- Image data must be uploaded within 24 hours of creation or the
35503646
upload will be cancelled and the image deleted.
35513647

3552-
- Image uploads should be made as an HTTP PUT request to the returned `upload_url`, with a
3553-
`Content-type: application/octet-stream` header included in the request. For example:
3648+
- Image uploads should be made as an HTTP PUT request to the URL returned in the `upload_to`
3649+
response parameter, with a `Content-type: application/octet-stream` header included in the
3650+
request. For example:
35543651

35553652
curl -v \
35563653
-H "Content-Type: application/octet-stream" \
@@ -5127,11 +5224,14 @@ paths:
51275224
tags:
51285225
- Linode Instances
51295226
summary: Disk Create
5130-
description: >
5227+
description: |
51315228
Adds a new Disk to a Linode. You can optionally create a Disk
51325229
from an Image (see [/images](/docs/api/images/#images-list) for a list of available public images,
51335230
or use one of your own), and optionally provide a StackScript to deploy
51345231
with this Disk.
5232+
5233+
The default filesystem for new Disks is `ext4`. If creating a Disk from an Image, the filesystem
5234+
of the Image is used unless otherwise specified.
51355235
operationId: addLinodeDisk
51365236
x-linode-cli-action: disk-create
51375237
security:
@@ -10748,6 +10848,7 @@ paths:
1074810848
get:
1074910849
x-linode-grant: read_only
1075010850
servers:
10851+
- url: https://api.linode.com/v4
1075110852
- url: https://api.linode.com/v4beta
1075210853
parameters:
1075310854
- $ref: '#/components/parameters/pageOffset'
@@ -10810,7 +10911,7 @@ paths:
1081010911
- lang: Shell
1081110912
source: >
1081210913
curl -H "Authorization: Bearer $TOKEN" \
10813-
https://api.linode.com/v4beta/networking/vlans/
10914+
https://api.linode.com/v4/networking/vlans/
1081410915
- lang: CLI
1081510916
source: >
1081610917
linode-cli networking vlans-list
@@ -17541,6 +17642,8 @@ components:
1754117642

1754217643
When updating a Linode's interfaces, *each interface must be redefined*. An empty interfaces array results in a default public interface configuration only.
1754317644

17645+
If no public interface is configured, public IP addresses are still assigned to the Linode but will not be usable without manual configuration.
17646+
1754417647
**Note:** Changes to Linode interface configurations can be enabled by rebooting the Linode.
1754517648

1754617649
**Note:** Only Next Generation Network (NGN) data centers support VLANs. Use the Regions ([/regions](/docs/api/regions/)) endpoint to view the capabilities of data center regions.

0 commit comments

Comments
 (0)