|
1 | 1 | openapi: 3.0.1 |
2 | 2 | info: |
3 | | - version: 4.93.1 |
| 3 | + version: 4.94.0 |
4 | 4 |
|
5 | 5 | title: Linode API |
6 | 6 | description: | |
@@ -1644,6 +1644,102 @@ paths: |
1644 | 1644 | -X PUT \ |
1645 | 1645 | --data-binary "/path/to/image" |
1646 | 1646 | 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 |
1647 | 1743 | /account/payments: |
1648 | 1744 | x-linode-cli-command: account |
1649 | 1745 | get: |
@@ -3549,8 +3645,9 @@ paths: |
3549 | 3645 | - Image data must be uploaded within 24 hours of creation or the |
3550 | 3646 | upload will be cancelled and the image deleted. |
3551 | 3647 |
|
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: |
3554 | 3651 |
|
3555 | 3652 | curl -v \ |
3556 | 3653 | -H "Content-Type: application/octet-stream" \ |
@@ -5127,11 +5224,14 @@ paths: |
5127 | 5224 | tags: |
5128 | 5225 | - Linode Instances |
5129 | 5226 | summary: Disk Create |
5130 | | - description: > |
| 5227 | + description: | |
5131 | 5228 | Adds a new Disk to a Linode. You can optionally create a Disk |
5132 | 5229 | from an Image (see [/images](/docs/api/images/#images-list) for a list of available public images, |
5133 | 5230 | or use one of your own), and optionally provide a StackScript to deploy |
5134 | 5231 | 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. |
5135 | 5235 | operationId: addLinodeDisk |
5136 | 5236 | x-linode-cli-action: disk-create |
5137 | 5237 | security: |
@@ -10748,6 +10848,7 @@ paths: |
10748 | 10848 | get: |
10749 | 10849 | x-linode-grant: read_only |
10750 | 10850 | servers: |
| 10851 | + - url: https://api.linode.com/v4 |
10751 | 10852 | - url: https://api.linode.com/v4beta |
10752 | 10853 | parameters: |
10753 | 10854 | - $ref: '#/components/parameters/pageOffset' |
@@ -10810,7 +10911,7 @@ paths: |
10810 | 10911 | - lang: Shell |
10811 | 10912 | source: > |
10812 | 10913 | curl -H "Authorization: Bearer $TOKEN" \ |
10813 | | - https://api.linode.com/v4beta/networking/vlans/ |
| 10914 | + https://api.linode.com/v4/networking/vlans/ |
10814 | 10915 | - lang: CLI |
10815 | 10916 | source: > |
10816 | 10917 | linode-cli networking vlans-list |
@@ -17541,6 +17642,8 @@ components: |
17541 | 17642 |
|
17542 | 17643 | When updating a Linode's interfaces, *each interface must be redefined*. An empty interfaces array results in a default public interface configuration only. |
17543 | 17644 |
|
| 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 | + |
17544 | 17647 | **Note:** Changes to Linode interface configurations can be enabled by rebooting the Linode. |
17545 | 17648 |
|
17546 | 17649 | **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