Skip to content

Commit 3f71da8

Browse files
Josh SagerGitHub Enterprise
authored andcommitted
Merge branch 'development' into more-bugfixes
2 parents 785cb6d + f97d96d commit 3f71da8

File tree

1 file changed

+72
-6
lines changed

1 file changed

+72
-6
lines changed

openapi.yaml

Lines changed: 72 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,9 @@ paths:
752752
source: >
753753
curl -H "Authorization: Bearer $TOKEN" \
754754
https://api.linode.com/v4/account/notifications
755+
- lang: CLI
756+
source: >
757+
linode-cli account notifications-list
755758
/account/oauth-clients:
756759
x-linode-cli-command: account
757760
get:
@@ -1316,6 +1319,9 @@ paths:
13161319
"payer_id": "ABCDEFGHIJKLM"
13171320
}' \
13181321
https://api.linode.com/v4/account/payments/paypal
1322+
- lang: CLI
1323+
source: >
1324+
linode-cli account paypal-execute
13191325
/account/settings:
13201326
x-linode-cli-command: account
13211327
get:
@@ -1614,10 +1620,13 @@ paths:
16141620
curl -H "Content-Type: application/json" \
16151621
-H "Authorization: Bearer $TOKEN" \
16161622
-X PUT -d '{
1617-
"email": "[email protected]",
1623+
"username": example_user
16181624
"restricted": true
16191625
}' \
16201626
https://api.linode.com/v4/account/users/example_user
1627+
- lang: CLI
1628+
source: >
1629+
linode-cli users update example_user --username example_user --restricted true
16211630
delete:
16221631
x-linode-grant: unrestricted only
16231632
tags:
@@ -2865,6 +2874,9 @@ paths:
28652874
source: >
28662875
curl -H "Authorization: Bearer $TOKEN" \
28672876
https://api.linode.com/v4/linode/instances/123/backups
2877+
- lang: CLI
2878+
source: >
2879+
linode-cli linodes backups-list 123
28682880
post:
28692881
x-linode-grant: read_write
28702882
summary: Create Snapshot
@@ -3556,6 +3568,9 @@ paths:
35563568
curl -H "Authorization: Bearer $TOKEN" \
35573569
-X DELETE \
35583570
https://api.linode.com/v4/linode/instances/123/configs/23456
3571+
- lang: CLI
3572+
source: >
3573+
linode-cli linodes config-delete 123 23456
35593574
/linode/instances/{linodeId}/disks:
35603575
parameters:
35613576
- name: linodeId
@@ -3921,6 +3936,9 @@ paths:
39213936
"size": 2048
39223937
}' \
39233938
https://api.linode.com/v4/linode/instances/123/disks/25674/resize
3939+
- lang: CLI
3940+
source: >
3941+
linode-cli linodes disk-resize 123 25674 --size 2048
39243942
/linode/instances/{linodeId}/ips:
39253943
parameters:
39263944
- name: linodeId
@@ -4847,6 +4865,9 @@ paths:
48474865
"script": "#!/bin/bash"
48484866
}' \
48494867
https://api.linode.com/v4/linode/stackscripts
4868+
- lang: CLI
4869+
source: >
4870+
linode-cli stackscripts create --label a-stackscript --description "This StackScript install and configures MySQL" --images "linode/debian9" --images "linode/debian8" --is_public true --rev_note "Set up MySQL" --script '#!/bin/bash'
48504871
/linode/stackscripts/{stackscriptId}:
48514872
parameters:
48524873
- name: stackscriptId
@@ -4933,6 +4954,9 @@ paths:
49334954
"script": "#!/bin/bash"
49344955
}' \
49354956
https://api.linode.com/v4/linode/stackscripts/1337
4957+
- lang: CLI
4958+
source: >
4959+
linode-cli stackscripts update 1337 --label a-stackscript --description "This StackScript install and configures MySQL" --images "linode/debian9" --images "linode/debian8" --is_public true --rev_note "Set up MySQL" --script '#!/bin/bash'
49364960
delete:
49374961
x-linode-grant: read_write
49384962
tags:
@@ -5972,7 +5996,7 @@ paths:
59725996
"ssh": {
59735997
"access": true,
59745998
"user": "linode",
5975-
"ip": "12.34.56.789",
5999+
"ip": "12.34.56.78",
59766000
"port": 22
59776001
}
59786002
}' \
@@ -6072,6 +6096,9 @@ paths:
60726096
]
60736097
}' \
60746098
https://api.linode.com/v4/managed/services
6099+
- lang: CLI
6100+
source: >
6101+
linode-cli managed service-create --service_type url --label prod-1 --address "https://example.org" --timeout 30 --body "it worked" --consultation_group on-call --notes "The service name is my-cool-application" --credentials 9991
60756102
/managed/services/{serviceId}:
60766103
parameters:
60776104
- name: serviceId
@@ -6158,6 +6185,9 @@ paths:
61586185
]
61596186
}' \
61606187
https://api.linode.com/v4/managed/services/9994
6188+
- lang: CLI
6189+
source: >
6190+
linode-cli managed service-update 9994 --service_type url --label prod-1 --address "https://example.org" --timeout 30 --body "it worked" --consultation_group on-call --notes "The service name is my-cool-application" --credentials 9991
61616191
delete:
61626192
x-linode-grant: unrestricted only
61636193
tags:
@@ -6315,6 +6345,9 @@ paths:
63156345
source: >
63166346
curl -H "Authorization: Bearer $TOKEN" \
63176347
https://api.linode.com/v4/networking/ips
6348+
- lang: CLI
6349+
source: >
6350+
linode-cli networking ips-list
63186351
post:
63196352
x-linode-grant: read_write
63206353
tags:
@@ -6381,6 +6414,9 @@ paths:
63816414
"linode_id": 123
63826415
}' \
63836416
https://api.linode.com/v4/networking/ips
6417+
- lang: CLI
6418+
source: >
6419+
linode-cli networking ip-add --type ipv4 --public true --linode_id 123
63846420
/networking/ips/{address}:
63856421
parameters:
63866422
- name: address
@@ -6418,6 +6454,9 @@ paths:
64186454
source: >
64196455
curl -H "Authorization: Bearer $TOKEN" \
64206456
https://api.linode.com/v4/networking/ips/97.107.143.141
6457+
- lang: CLI
6458+
source: >
6459+
linode-cli networking ip-view 97.107.143.141
64216460
put:
64226461
x-linode-grant: read_write
64236462
tags:
@@ -6459,6 +6498,9 @@ paths:
64596498
"rdns": "test.example.org"
64606499
}' \
64616500
https://api.linode.com/v4/networking/ips/97.107.143.141
6501+
- lang: CLI
6502+
source: >
6503+
linode-cli networking ip-update 97.107.143.141 --rdns "test.example.org"
64626504
/networking/ipv4/assign:
64636505
description: >
64646506
Allows redistribution of v4 IP Addresses within a region. Any number
@@ -6516,7 +6558,7 @@ paths:
65166558
Ths IP Address for this assignment. Must be a v4
65176559
address you can access in the region specified. May
65186560
be a public or private address.
6519-
example: 12.34.56.789
6561+
example: 12.34.56.78
65206562
linode_id:
65216563
type: integer
65226564
description: >
@@ -6595,7 +6637,7 @@ paths:
65956637
items:
65966638
type: string
65976639
format: ip
6598-
example: 12.34.56.789
6640+
example: 12.34.56.78
65996641
description: >
66006642
A list of IPs that will be shared with this Linode. When
66016643
this is finished, the given Linode will be able to bring up
@@ -6620,10 +6662,13 @@ paths:
66206662
-X POST -d '{
66216663
"linode_id": 123,
66226664
"ips": [
6623-
"12.34.56.789"
6665+
"12.34.56.78"
66246666
]
66256667
}' \
66266668
https://api.linode.com/v4/networking/ipv4/share
6669+
- lang: CLI
6670+
source: >
6671+
linode-cli networking ip-share --linode_id 123 --ips 12.34.56.78
66276672
/networking/ipv6/pools:
66286673
x-linode-cli-command: networking
66296674
get:
@@ -6666,6 +6711,9 @@ paths:
66666711
source: >
66676712
curl -H "Authorization: Bearer $TOKEN" \
66686713
https://api.linode.com/v4/networking/ipv6/pools
6714+
- lang: CLI
6715+
source: >
6716+
linode-cli networking v6-pools
66696717
/networking/ipv6/ranges:
66706718
x-linode-cli-command: networking
66716719
get:
@@ -6708,6 +6756,9 @@ paths:
67086756
source: >
67096757
curl -H "Authorization: Bearer $TOKEN" \
67106758
https://api.linode.com/v4/networking/ipv6/ranges
6759+
- lang: CLI
6760+
source: >
6761+
linode-cli networking v6-ranges
67116762
/nodebalancers:
67126763
x-linode-cli-command: nodebalancers
67136764
get:
@@ -7791,6 +7842,9 @@ paths:
77917842
"tfa_code": "213456"
77927843
}' \
77937844
https://api.linode.com/v4/profile/tfa-enable-confirm
7845+
- lang: CLI
7846+
source: >
7847+
linode-cli profile tfa-confirm --tfa_code 213456
77947848
/profile/tokens:
77957849
x-linode-cli-command: profile
77967850
description: >
@@ -8182,6 +8236,9 @@ paths:
81828236
"summary": "Having trouble resetting root password on my Linode"
81838237
}' \
81848238
https://api.linode.com/v4/support/tickets
8239+
- lang: CLI
8240+
source: >
8241+
linode-cli tickets create --description "I'm having trouble setting the root password on my Linode. I tried following the instructions but something is not working and I'm not sure what I'm doing wrong. Can you please help me figure out how I can reset it?" --linode_id 123 --summary "Having trouble resetting root password on my Linode"
81858242
/support/tickets/{ticketId}:
81868243
parameters:
81878244
- name: ticketId
@@ -8491,6 +8548,9 @@ paths:
84918548
"linode_id": 12346
84928549
}' \
84938550
https://api.linode.com/v4/volumes
8551+
- lang: CLI
8552+
source: >
8553+
linode-cli volumes create --label my-volume --size 20 --region us-east --linode_id 12346
84948554
/volumes/{volumeId}:
84958555
parameters:
84968556
- name: volumeId
@@ -8632,6 +8692,9 @@ paths:
86328692
-H "Authorization: Bearer $TOKEN" \
86338693
-X DELETE \
86348694
https://api.linode.com/v4/volumes/12345
8695+
- lang: CLI
8696+
source: >
8697+
linode-cli volumes delete 12345
86358698
/volumes/{volumeId}/attach:
86368699
parameters:
86378700
- name: volumeId
@@ -8692,6 +8755,9 @@ paths:
86928755
"linode_id": 12346
86938756
}' \
86948757
https://api.linode.com/v4/volumes/12345/attach
8758+
- lang: CLI
8759+
source: >
8760+
linode-cli volumes attach 12345 --linode_id 12346
86958761
/volumes/{volumeId}/clone:
86968762
parameters:
86978763
- name: volumeId
@@ -11663,7 +11729,7 @@ components:
1166311729
description: >
1166411730
The IP Linode special forces should use to access this Linode
1166511731
when responding to an issue.
11666-
example: 12.34.56.789
11732+
example: 12.34.56.78
1166711733
port:
1166811734
type: integer
1166911735
minimum: 1

0 commit comments

Comments
 (0)