Skip to content

Commit 51e4b27

Browse files
authored
Merge pull request #522 from linode/release-4.104.0
Release 4.104.0
2 parents eb25e4a + 587a3a6 commit 51e4b27

File tree

1 file changed

+66
-58
lines changed

1 file changed

+66
-58
lines changed

openapi.yaml

Lines changed: 66 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.102.0
3+
version: 4.104.0
44

55
title: Linode API
66
description: |
@@ -1632,7 +1632,7 @@ paths:
16321632
--data-binary "/path/to/image"
16331633
https://api.linode.com/v4/account/oauth-clients/edc6790ea9db4d224c5c/thumbnail
16341634
/account/payment-methods:
1635-
x-linode-cli-command: account
1635+
x-linode-cli-command: payment-methods
16361636
get:
16371637
servers:
16381638
- url: https://api.linode.com/v4
@@ -1647,7 +1647,7 @@ paths:
16471647
description: |
16481648
Returns a paginated list of Payment Methods for this Account.
16491649
operationId: getPaymentMethods
1650-
x-linode-cli-action: payment-methods-list
1650+
x-linode-cli-action: list
16511651
security:
16521652
- personalAccessToken: []
16531653
- oauth:
@@ -1679,7 +1679,7 @@ paths:
16791679
https://api.linode.com/v4/account/payment-methods
16801680
- lang: CLI
16811681
source: >
1682-
linode-cli account payment-methods-list
1682+
linode-cli payment-methods list
16831683
post:
16841684
servers:
16851685
- url: https://api.linode.com/v4
@@ -1688,16 +1688,18 @@ paths:
16881688
- Account
16891689
summary: Payment Method Add
16901690
description: |
1691-
Adds a Payment Method to your Account with the option to set it as the default method. Adding a default
1692-
Payment Method removes the default status from any other Payment Method.
1691+
Adds a Payment Method to your Account with the option to set it as the default method.
16931692

1694-
An Account can have up to 6 active Payment Methods.
1693+
* Adding a default Payment Method removes the default status from any other Payment Method.
16951694

1696-
Prior to adding a Payment Method, ensure that your billing address information is up-to-date
1695+
* An Account can have up to 6 active Payment Methods.
1696+
1697+
* Prior to adding a Payment Method, ensure that your billing address information is up-to-date
16971698
with a valid `zip` by using the Account Update ([PUT /account](/docs/api/account/#account-update)) endpoint.
1699+
1700+
* A `payment_method_add` event is generated when a payment is successfully submitted.
16981701
operationId: createPaymentMethod
1699-
x-linode-cli-action: payment-method-add
1700-
x-linode-cli-skip: true
1702+
x-linode-cli-action: add
17011703
security:
17021704
- personalAccessToken: []
17031705
- oauth:
@@ -1720,7 +1722,16 @@ paths:
17201722
- cvv
17211723
properties:
17221724
type:
1723-
$ref: '#/components/schemas/PaymentMethod/properties/type'
1725+
type: string
1726+
enum:
1727+
- credit_card
1728+
description: |
1729+
The type of Payment Method.
1730+
1731+
Alternative Payment Methods including Google Pay can be added using Linode Cloud Manager. See our
1732+
guide on [Managing Billing in the Cloud Manager](/docs/guides/manage-billing-in-cloud-manager/)
1733+
for details and instructions.
1734+
example: 'credit_card'
17241735
is_default:
17251736
$ref: '#/components/schemas/PaymentMethod/properties/is_default'
17261737
data:
@@ -1759,8 +1770,17 @@ paths:
17591770
}
17601771
}' \
17611772
https://api.linode.com/v4/account/payment-methods
1773+
- lang: CLI
1774+
source: >
1775+
linode-cli payment-methods add \
1776+
--type credit_card \
1777+
--is_default true \
1778+
--data.card_number 4111111111111111 \
1779+
--data.expiry_month 11 \
1780+
--data.expiry_year 2020 \
1781+
--data.cvv 111
17621782
/account/payment-methods/{paymentMethodId}:
1763-
x-linode-cli-command: account
1783+
x-linode-cli-command: payment-methods
17641784
parameters:
17651785
- name: paymentMethodId
17661786
in: path
@@ -1778,7 +1798,7 @@ paths:
17781798
description: |
17791799
View the details of the specified Payment Method.
17801800
operationId: getPaymentMethod
1781-
x-linode-cli-action: payment-method-view
1801+
x-linode-cli-action: view
17821802
security:
17831803
- personalAccessToken: []
17841804
- oauth:
@@ -1799,7 +1819,7 @@ paths:
17991819
https://api.linode.com/v4/account/payment-methods/123
18001820
- lang: CLI
18011821
source: >
1802-
linode-cli account payment-method-view 123
1822+
linode-cli payment-methods view 123
18031823
delete:
18041824
x-linode-grant: read_write
18051825
tags:
@@ -1814,7 +1834,7 @@ paths:
18141834
([POST /account/payment-methods/{paymentMethodId}/make-default](/docs/api/account/#payment-method-make-default))
18151835
endpoint.
18161836
operationId: deletePaymentMethod
1817-
x-linode-cli-action: payment-method-delete
1837+
x-linode-cli-action: delete
18181838
security:
18191839
- personalAccessToken: []
18201840
- oauth:
@@ -1836,9 +1856,9 @@ paths:
18361856
https://api.linode.com/v4/account/payment-methods/123
18371857
- lang: CLI
18381858
source: >
1839-
linode-cli account payment-method-delete 123
1859+
linode-cli payment-methods delete 123
18401860
/account/payment-methods/{paymentMethodId}/make-default:
1841-
x-linode-cli-command: account
1861+
x-linode-cli-command: payment-methods
18421862
parameters:
18431863
- name: paymentMethodId
18441864
in: path
@@ -1858,7 +1878,7 @@ paths:
18581878

18591879
Removes the default status from any other Payment Method.
18601880
operationId: makePaymentMethodDefault
1861-
x-linode-cli-action: payment-method-make-default
1881+
x-linode-cli-action: default
18621882
security:
18631883
- personalAccessToken: []
18641884
- oauth:
@@ -1880,7 +1900,7 @@ paths:
18801900
https://api.linode.com/v4/account/payment-methods/123/make-default
18811901
- lang: CLI
18821902
source: >
1883-
linode-cli account payment-method-make-default 123
1903+
linode-cli payment-methods default 123
18841904
/account/payments:
18851905
x-linode-cli-command: account
18861906
get:
@@ -1932,9 +1952,12 @@ paths:
19321952
tags:
19331953
- Account
19341954
summary: Payment Make
1935-
description: >
1936-
Makes a Payment to your Account via credit card. This will charge your
1937-
credit card the requested amount.
1955+
description: |
1956+
Makes a Payment to your Account.
1957+
1958+
* The requested amount is charged to the default Payment Method if no `payment_method_id` is specified.
1959+
1960+
* A `payment_submitted` event is generated when a payment is successfully submitted.
19381961
operationId: createPayment
19391962
x-linode-cli-action: payment-create
19401963
security:
@@ -1950,11 +1973,11 @@ paths:
19501973
$ref: '#/components/schemas/PaymentRequest'
19511974
responses:
19521975
'200':
1953-
description: Payment made.
1976+
description: Payment submitted successfully.
19541977
content:
19551978
application/json:
19561979
schema:
1957-
$ref: '#/components/schemas/Payment'
1980+
$ref: '#/components/schemas/Payment'
19581981
'202':
19591982
$ref: '#/components/responses/WarningResponse'
19601983
default:
@@ -1966,14 +1989,16 @@ paths:
19661989
-H "Authorization: Bearer $TOKEN" \
19671990
-X POST -d '{
19681991
"cvv": "123",
1969-
"usd": "120.50"
1992+
"usd": "120.50",
1993+
"payment_method_id": 123
19701994
}' \
19711995
https://api.linode.com/v4/account/payments
19721996
- lang: CLI
19731997
source: >
19741998
linode-cli account payment-create \
19751999
--cvv 123 \
1976-
--usd 120.50
2000+
--usd 120.50 \
2001+
--payment_method_id 123
19772002
/account/payments/{paymentId}:
19782003
x-linode-cli-command: account
19792004
parameters:
@@ -9925,8 +9950,6 @@ paths:
99259950
source: >
99269951
linode-cli managed service-enable 9994
99279952
/managed/stats:
9928-
description: |
9929-
A collection of managed stats.
99309953
x-linode-cli-command: managed
99319954
get:
99329955
x-linode-grant: unrestricted only
@@ -9979,8 +10002,6 @@ paths:
997910002
source: >
998010003
linode-cli managed stats-list
998110004
/networking/ips:
9982-
description: >
9983-
A collection of IP Addresses on your Account. Excludes private addresses.
998410005
x-linode-cli-command: networking
998510006
get:
998610007
x-linode-grant: read_only
@@ -10184,11 +10205,6 @@ paths:
1018410205
97.107.143.141 \
1018510206
--rdns "test.example.org"
1018610207
/networking/ipv4/assign:
10187-
description: >
10188-
Allows redistribution of IPv4 Addresses within a Region. Any number
10189-
of IPs may be assigned in one request, as long as all Linodes end up
10190-
with at least one public and no more than one private IP Address at the
10191-
end of the assignment.
1019210208
x-linode-cli-command: networking
1019310209
post:
1019410210
x-linode-grant: read_write
@@ -10286,10 +10302,6 @@ paths:
1028610302
--assignments \
1028710303
'{"23.45.67.200", "linode_id": 234}'
1028810304
/networking/ipv4/share:
10289-
description: >
10290-
Configure shared IPs. A shared IP may be brought up on a Linode other
10291-
than the one it lists in its response. This can be used to allow one
10292-
Linode to begin serving requests should another become unresponsive.
1029310305
x-linode-cli-command: networking
1029410306
post:
1029510307
x-linode-grant: read_write
@@ -10546,6 +10558,8 @@ paths:
1054610558
- inbound_policy
1054710559
- outbound_policy
1054810560
- action
10561+
- protocol
10562+
- addresses
1054910563
properties:
1055010564
devices:
1055110565
type: object
@@ -11059,7 +11073,12 @@ paths:
1105911073
content:
1106011074
application/json:
1106111075
schema:
11062-
$ref: '#/components/schemas/Firewall/properties/rules'
11076+
required:
11077+
- action
11078+
- addresses
11079+
- protocol
11080+
allOf:
11081+
- $ref: '#/components/schemas/Firewall/properties/rules'
1106311082
responses:
1106411083
'200':
1106511084
description: Firewall Rules updated successfully.
@@ -13479,8 +13498,6 @@ paths:
1347913498
--two_factor_auth true \
1348013499
--restricted false
1348113500
/profile/apps:
13482-
description: >
13483-
Returns information about OAuth Apps you have authorized to access your Account.
1348413501
x-linode-cli-command: profile
1348513502
get:
1348613503
parameters:
@@ -13787,8 +13804,6 @@ paths:
1378713804
--tfa_code 213456
1378813805
/profile/tokens:
1378913806
x-linode-cli-command: profile
13790-
description: >
13791-
A collection of Personal Access Tokens you've created.
1379213807
get:
1379313808
tags:
1379413809
- Profile
@@ -13898,7 +13913,6 @@ paths:
1389813913
--expiry '2018-01-01T13:46:32' \
1389913914
--label linode-cli
1390013915
/profile/tokens/{tokenId}:
13901-
description: View or revoke a single token.
1390213916
parameters:
1390313917
- name: tokenId
1390413918
in: path
@@ -14012,9 +14026,6 @@ paths:
1401214026
source: >
1401314027
linode-cli profile token-delete 123
1401414028
/profile/logins:
14015-
description: >
14016-
Returns a collection of successful account logins for this user during the last
14017-
90 days.
1401814029
x-linode-cli-command: profile
1401914030
get:
1402014031
tags:
@@ -14060,9 +14071,6 @@ paths:
1406014071
source: >
1406114072
linode-cli profile logins-list
1406214073
/profile/logins/{loginId}:
14063-
description: >
14064-
A login object that displays information about a successful
14065-
account login from this user.
1406614074
parameters:
1406714075
- name: loginId
1406814076
in: path
@@ -14103,8 +14111,6 @@ paths:
1410314111
linode-cli profile login-view 1234
1410414112
/profile/devices:
1410514113
x-linode-cli-command: profile
14106-
description: >
14107-
A collection of active TrustedDevices for your user.
1410814114
get:
1410914115
tags:
1411014116
- Profile
@@ -14150,8 +14156,6 @@ paths:
1415014156
linode-cli profile devices-list
1415114157
/profile/devices/{deviceId}:
1415214158
x-linode-cli-command: profile
14153-
description: >
14154-
View or revoke individual TrustedDevices for your User.
1415514159
parameters:
1415614160
- name: deviceId
1415714161
in: path
@@ -14223,8 +14227,6 @@ paths:
1422314227
linode-cli profile device-revoke 123
1422414228
/profile/sshkeys:
1422514229
x-linode-cli-command: sshkeys
14226-
description: >
14227-
A collection of SSH Keys added by you.
1422814230
get:
1422914231
x-linode-grant: read_only
1423014232
parameters:
@@ -16996,6 +16998,7 @@ components:
1699616998
- oauth_client_secret_reset
1699716999
- oauth_client_update
1699817000
- password_reset
17001+
- payment_method_add
1699917002
- payment_submitted
1700017003
- profile_update
1700117004
- stackscript_create
@@ -18800,7 +18803,7 @@ components:
1880018803
* `paravirt` is suitable for most cases. Linodes running in paravirt mode
1880118804
share some qualities with the host, ultimately making it run faster since
1880218805
there is less transition between it and the host.
18803-
* `full_virt` affords more customization, but is slower because 100% of the VM
18806+
* `fullvirt` affords more customization, but is slower because 100% of the VM
1880418807
is virtualized.
1880518808
enum:
1880618809
- paravirt
@@ -21063,6 +21066,11 @@ components:
2106321066
The amount in US Dollars of the Payment. The maximum credit card
2106421067
payment that can be made is $50,000 dollars.
2106521068
example: '120.50'
21069+
payment_method_id:
21070+
type: integer
21071+
description: >
21072+
The ID of the Payment Method to apply to the Payment.
21073+
example: 123
2106621074
PayPal:
2106721075
type: object
2106821076
required:

0 commit comments

Comments
 (0)