Skip to content

Commit 25b8fc9

Browse files
authored
Merge pull request #723 from linode/release-4.141.0
Release 4.141.0
2 parents 2e97d59 + dd86284 commit 25b8fc9

File tree

1 file changed

+42
-50
lines changed

1 file changed

+42
-50
lines changed

openapi.yaml

Lines changed: 42 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.140.0
3+
version: 4.141.0
44

55
title: Linode API
66
description: |
@@ -17605,7 +17605,7 @@ paths:
1760517605
content:
1760617606
application/json:
1760717607
schema:
17608-
$ref: '#/components/schemas/SSHKeyRequest'
17608+
$ref: '#/components/schemas/SSHKey'
1760917609
responses:
1761017610
'200':
1761117611
description: SSH Key associated successfully.
@@ -17621,14 +17621,14 @@ paths:
1762117621
curl -H "Content-Type: application/json" \
1762217622
-H "Authorization: Bearer $TOKEN" \
1762317623
-X POST -d '{
17624-
"label": "My SSH Key"
17624+
"label": "My SSH Key",
1762517625
"ssh_key": "ssh-rsa AAAA_valid_public_ssh_key_123456785== user@their-computer"
1762617626
}' \
1762717627
https://api.linode.com/v4/profile/sshkeys
1762817628
- lang: CLI
1762917629
source: >
1763017630
linode-cli sshkeys create \
17631-
--label "My SSH Key"
17631+
--label "My SSH Key" \
1763217632
--ssh_key "ssh-rsa AAAA_valid_public_ssh_key_123456785== user@their-computer"
1763317633
/profile/sshkeys/{sshKeyId}:
1763417634
x-linode-cli-command: sshkeys
@@ -17673,8 +17673,10 @@ paths:
1767317673
tags:
1767417674
- Profile
1767517675
summary: SSH Key Update
17676-
description: >
17676+
description: |
1767717677
Updates an SSH Key that you have permission to `read_write`.
17678+
17679+
Only SSH key labels can be updated.
1767817680
operationId: updateSSHKey
1767917681
x-linode-cli-action: update
1768017682
security:
@@ -17688,7 +17690,10 @@ paths:
1768817690
content:
1768917691
application/json:
1769017692
schema:
17691-
$ref: '#/components/schemas/SSHKey'
17693+
type: object
17694+
properties:
17695+
label:
17696+
$ref: '#/components/schemas/SSHKey/properties/label'
1769217697
responses:
1769317698
'200':
1769417699
description: SSH Key updated successfully.
@@ -17706,10 +17711,10 @@ paths:
1770617711
-X PUT -d '{
1770717712
"label": "my laptop"
1770817713
}' \
17709-
https://api.linode.com/v4/profile/sshkey/42
17714+
https://api.linode.com/v4/profile/sshkeys/42
1771017715
- lang: CLI
1771117716
source: >
17712-
linode-cli sshkey update 42 \
17717+
linode-cli sshkeys update 42 \
1771317718
--label "my laptop"
1771417719
delete:
1771517720
tags:
@@ -17743,13 +17748,12 @@ paths:
1774317748
x-code-samples:
1774417749
- lang: Shell
1774517750
source: >
17746-
curl -H "Content-Type: application/json" \
17747-
-H "Authoriztion: Bearer $TOKEN" \
17751+
curl -H "Authoriztion: Bearer $TOKEN" \
1774817752
-X DELETE \
1774917753
https://api.linode.com/v4/profile/sshkeys/42
1775017754
- lang: CLI
1775117755
source: >
17752-
linode-cli sshkey delete 42
17756+
linode-cli sshkeys delete 42
1775317757
/profile/phone-number:
1775417758
x-linode-cli-command: phone
1775517759
delete:
@@ -17762,7 +17766,7 @@ paths:
1776217766

1776317767
Use this command to opt out of SMS messages for the requesting User after a phone number has been verified with the **Phone Number Verify** ([POST /profile/phone-number/verify](/docs/api/profile/#phone-number-verify)) command.
1776417768
operationId: deleteProfilePhoneNumber
17765-
x-linode-cli-command: delete
17769+
x-linode-cli-action: delete
1776617770
security:
1776717771
- personalAccessToken: []
1776817772
- oauth:
@@ -17780,8 +17784,7 @@ paths:
1778017784
x-code-samples:
1778117785
- lang: Shell
1778217786
source: >
17783-
curl -H "Content-Type: application/json" \
17784-
-H "Authorization: Bearer $TOKEN" \
17787+
curl -H "Authorization: Bearer $TOKEN" \
1778517788
-X DELETE \
1778617789
https://api.linode.com/v4/profile/phone-number
1778717790
- lang: CLI
@@ -17803,7 +17806,7 @@ paths:
1780317806

1780417807
Once a verification code is received, verify your phone number with the **Phone Number Verify** ([POST /profile/phone-number/verify](/docs/api/profile/#phone-number-verify)) command.
1780517808
operationId: postProfilePhoneNumber
17806-
x-linode-cli-command: sms-code-send
17809+
x-linode-cli-action: sms-code-send
1780717810
security:
1780817811
- personalAccessToken: []
1780917812
- oauth:
@@ -17868,7 +17871,7 @@ paths:
1786817871

1786917872
Once completed, the verified phone number is assigned to the User making the request. To change the verified phone number for a User, first use the **Phone Number Delete** ([DELETE /profile/phone-number](/docs/api/profile/#phone-number-delete)) command, then begin the verification process again with the **Phone Verification Code Send** ([POST /profile/phone-number](/docs/api/profile/#phone-number-verification-code-send)) command.
1787017873
operationId: postProfilePhoneNumberVerify
17871-
x-linode-cli-command: verify
17874+
x-linode-cli-action: verify
1787217875
security:
1787317876
- personalAccessToken: []
1787417877
- oauth:
@@ -17938,15 +17941,13 @@ paths:
1793817941
schema:
1793917942
type: object
1794017943
description: A dictionary of user preferences.
17941-
example: { "key1": "value1", "key2": "value2"}
17944+
example: { "key1": "value1", "key2": "value2" }
1794217945
default:
1794317946
$ref: '#/components/responses/ErrorResponse'
1794417947
x-code-samples:
1794517948
- lang: Shell
1794617949
source: >
17947-
curl -H "Content-Type: application/json" \
17948-
-H "Authorization: Bearer $TOKEN" \
17949-
-X GET \
17950+
curl -H "Authorization: Bearer $TOKEN" \
1795017951
https://api.linode.com/v4/profile/preferences
1795117952
put:
1795217953
tags:
@@ -17976,7 +17977,9 @@ paths:
1797617977
schema:
1797717978
type: object
1797817979
description: |
17979-
Arbitrary JSON of your choosing.
17980+
Arbitrary JSON of your choosing. Overwrites any existing preferences for this user.
17981+
17982+
Total length cannot exceed 65,535 characters.
1798017983
responses:
1798117984
'200':
1798217985
description: Returns an object of user preferences.
@@ -17985,7 +17988,7 @@ paths:
1798517988
schema:
1798617989
type: object
1798717990
description: An object of user preferences.
17988-
example: { "key1": "value1", "key2": "value2"}
17991+
example: { "key1": "value1", "key2": "value2" }
1798917992
default:
1799017993
$ref: '#/components/responses/ErrorResponse'
1799117994
x-code-samples:
@@ -17995,10 +17998,9 @@ paths:
1799517998
-H "Authorization: Bearer $TOKEN" \
1799617999
-X PUT -d '{
1799718000
"key1": "value1",
17998-
"key1": "value2"
18001+
"key2": "value2"
1799918002
}' \
1800018003
https://api.linode.com/v4/profile/preferences
18001-
1800218004
/regions:
1800318005
x-linode-cli-command: regions
1800418006
get:
@@ -18227,14 +18229,16 @@ paths:
1822718229
x-linode-grant: read_write
1822818230
tags:
1822918231
- Support
18230-
summary: Ticket Attachment Create
18231-
description: >
18232+
summary: Support Ticket Attachment Create
18233+
description: |
1823218234
Adds a file attachment to an existing Support
1823318235
Ticket on your Account. File attachments are used to assist our
1823418236
Support team in resolving your Ticket. Examples of attachments
1823518237
are screen shots and text files that provide additional information.
1823618238

18237-
Note: Accepted file extensions include: .gif, .jpg, .jpeg, .pjpg,
18239+
The file attachment is submitted in the request as multipart/form-data.
18240+
18241+
**Note**: Accepted file extensions include: .gif, .jpg, .jpeg, .pjpg,
1823818242
.pjpeg, .tif, .tiff, .png, .pdf, or .txt.
1823918243
operationId: createTicketAttachment
1824018244
x-linode-cli-skip: true
@@ -24493,6 +24497,7 @@ components:
2449324497
x-linode-cli-display: 6
2449424498
transfer:
2449524499
type: object
24500+
readOnly: true
2449624501
description: >
2449724502
Information about the amount of transfer this NodeBalancer has had
2449824503
so far this month.
@@ -26765,36 +26770,23 @@ components:
2676526770
ssh_key:
2676626771
type: string
2676726772
format: ssh-key
26768-
description: >
26769-
The public SSH Key, which is used to authenticate to the root user
26770-
of the Linodes you deploy.
26771-
readOnly: true
26773+
description: |
26774+
The public SSH Key, which is used to authenticate to the root user of the Linodes you deploy.
26775+
26776+
Accepted formats:
26777+
* ssh-dss
26778+
* ssh-rsa
26779+
* ecdsa-sha2-nistp
26780+
* ssh-ed25519
26781+
* sk-ecdsa-sha2-nistp256 (Akamai-specific)
26782+
example: "ssh-rsa AAAA_valid_public_ssh_key_123456785== user@their-computer"
2677226783
created:
2677326784
type: string
2677426785
format: date-time
2677526786
description: >
2677626787
The date this key was added.
2677726788
example: "2018-01-01T00:01:01"
2677826789
readOnly: true
26779-
SSHKeyRequest:
26780-
type: object
26781-
description: >
26782-
An object consisting of a user identified name as the `label` and the
26783-
generated key as the `ssh-key`.
26784-
properties:
26785-
label:
26786-
type: string
26787-
minLength: 1
26788-
maxLength: 64
26789-
description: >
26790-
A label for the key.
26791-
example: "My SSH Key"
26792-
ssh_key:
26793-
type: string
26794-
format: ssh-key
26795-
description: >
26796-
The public SSH Key, which is used to authenticate to the root user
26797-
of the Linodes you deploy.
2679826790
Vlans:
2679926791
type: object
2680026792
description: >

0 commit comments

Comments
 (0)