Skip to content

Commit 2033324

Browse files
authored
Merge pull request #88 from jamesottinger/releasechanges1616
additional release/0.16.16 changes
2 parents e76feea + 795d196 commit 2033324

File tree

7 files changed

+51
-31
lines changed

7 files changed

+51
-31
lines changed

src/data/endpoints/account.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,6 @@ endpoints:
269269
type: String
270270
description: The user's email.
271271
272-
password:
273-
type: String
274-
description: The user's password.
275-
value: hunter2
276272
restricted:
277273
optional: true
278274
type: Boolean
@@ -284,7 +280,6 @@ endpoints:
284280
-H "Authorization: Bearer $TOKEN" \
285281
-X POST -d '{
286282
"username": "testguy",
287-
"password": "hunter7",
288283
"email": "[email protected]"
289284
}' \
290285
https://$api_root/$version/account/users
@@ -311,13 +306,13 @@ endpoints:
311306
curl -H "Content-Type: application/json" \
312307
-H "Authorization: Bearer $TOKEN" \
313308
-X PUT -d '{
314-
"email": "[email protected]"
309+
"username": "newusername"
315310
}
316311
}' \
317312
https://$api_root/$version/account/users/testguy
318313
python: |
319314
my_user = linode.User(client, 'username')
320-
my_user.email = '[email protected]'
315+
my_user.username = 'newusername'
321316
my_user.save()
322317
DELETE:
323318
description: >

src/data/endpoints/linodes.yaml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -281,18 +281,6 @@ endpoints:
281281
python: |
282282
disk.label = 'New Disk Label'
283283
disk.save()
284-
POST:
285-
oauth: linodes:create
286-
description: >
287-
Duplicates this disk.
288-
examples:
289-
curl: |
290-
curl -H "Content-Type: application/json" \
291-
-H "Authorization: Bearer $TOKEN" \
292-
-X POST \
293-
https://$api_root/$version/linode/instances/$linode_id/disks/$disk_id
294-
python: |
295-
new_disk = disk.duplicate()
296284
DELETE:
297285
oauth: linodes:delete
298286
dangerous: true
@@ -305,6 +293,25 @@ endpoints:
305293
https://$api_root/$version/linode/instances/$linode_id/disks/$disk_id
306294
python: |
307295
disk.delete()
296+
/linode/instances/$id/disks/$id/clone:
297+
group: Disks
298+
type: resource
299+
authenticated: true
300+
description: >
301+
Duplicates a disk.
302+
methods:
303+
POST:
304+
oauth: linodes:create
305+
description: >
306+
Duplicates this disk.
307+
examples:
308+
curl: |
309+
curl -H "Content-Type: application/json" \
310+
-H "Authorization: Bearer $TOKEN" \
311+
-X POST \
312+
https://$api_root/$version/linode/instances/$linode_id/disks/$disk_id/clone
313+
python: |
314+
new_disk = disk.duplicate()
308315
/linode/instances/$id/disks/$id/resize:
309316
group: Disks
310317
type: Strange

src/data/endpoints/managed.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ endpoints:
394394
curl -H "Content-Type: application/json" \
395395
-H "Authorization: Bearer $TOKEN" \
396396
https://$api_root/$version/managed/credentials/$credential_id/revoke
397-
/managed/linode_settings:
397+
/managed/linode-settings:
398398
group: Linode Settings
399399
type: resource
400400
authenticated: true
@@ -408,8 +408,8 @@ endpoints:
408408
examples:
409409
curl: |
410410
curl -H "Authorization: Bearer $TOKEN" \
411-
https://$api_root/$version/managed/linode_settings
412-
/managed/linode_settings/$id:
411+
https://$api_root/$version/managed/linode-settings
412+
/managed/linode-settings/$id:
413413
group: Linode Settings
414414
type: resource
415415
authenticated: true
@@ -423,7 +423,7 @@ endpoints:
423423
examples:
424424
curl: |
425425
curl -H "Authorization: Bearer $TOKEN" \
426-
https://$api_root/$version/managed/linode_settings/$linode_settings_id
426+
https://$api_root/$version/managed/linode-settings/$linode_settings_id
427427
PUT:
428428
response: ManagedLinodeSetting
429429
description: >
@@ -440,7 +440,7 @@ endpoints:
440440
"access": true
441441
}
442442
}' \
443-
https://$api_root/$version/managed/linode_settings/$linode_settings_id
443+
https://$api_root/$version/managed/linode-settings/$linode_settings_id
444444
/managed/stats:
445445
group: Stats
446446
type: Action

src/data/endpoints/networking.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ endpoints:
129129
https://$api_root/$version/networking/ipv6/ranges
130130
python: |
131131
my_ipv6s = client.networking.get_ipv6_ranges()
132-
/networking/ip-assign:
132+
/networking/ipv4/assign:
133133
group: IPv4
134134
type: Strange
135135
authenticated: true
@@ -164,7 +164,7 @@ endpoints:
164164
curl -H "Content-Type: application/json" \
165165
-H "Authorization: Bearer $TOKEN" \
166166
-X POST -d '$SUB_SPEC_EXAMPLE' \
167-
https://$api_root/$version/networking/ip-assign
167+
https://$api_root/$version/networking/ipv4/assign
168168
python: |
169169
linode_1 = linode.Linode(client, 134504)
170170
ip1 = linode_1.ips.ipv4.public[0]
@@ -173,7 +173,7 @@ endpoints:
173173
ip2 = linode_2.ips.ipv4.public[0]
174174
175175
client.networking.assign_ips(linode_1.region, ip1.to(linode_2), ip2.to(linode_1))
176-
/networking/ip-sharing:
176+
/networking/ipv4/share:
177177
group: IPv4
178178
type: Strange
179179
authenticated: true
@@ -201,5 +201,5 @@ endpoints:
201201
"linode_id": 12345,
202202
"ips": [ "97.107.143.29", "97.107.143.112" ]
203203
}' \
204-
https://$api_root/$version/networking/ip-sharing
204+
https://$api_root/$version/networking/ipv4/share
205205

src/data/objects/managedlinodesetting.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vim: set et ts=2 sw=2 tw=80 :
22
name: ManagedLinodeSetting
3-
prefix: managed/linode_settings
3+
prefix: managed/linode-settings
44
description: >
55
Managed Linode Setting objects describe SSH information for your managed Linodes.
66
schema:

src/data/objects/notification.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,23 @@ schema:
5050
shut down, migrated, and returned to its last state.
5151
description: >
5252
A human-readable description of the notification.
53+
severity:
54+
type: String
55+
value: Importance level
56+
description: >
57+
One of "minor", "major", or "critical".
58+
label:
59+
type: String
60+
value: Important label
61+
description: >
62+
A brief description of the notification.
63+
until:
64+
description: >
65+
If this notification is of an event that will happen at a fixed, future time,
66+
this is when the named action will be end. For example, if there is a
67+
time window, this is when the window will end.
68+
type: Datetime
69+
value: null
5370
enums:
5471
NotificatonType:
5572
ticket_important: There is a ticket open on your account that requires your attention.
@@ -59,3 +76,4 @@ enums:
5976
migration_scheduled: There is a migration queued for one of your Linodes.
6077
payment_due: You have a balance on your account that must be paid.
6178
reboot_scheduled: There is a reboot queued for one of your Linodes.
79+
notice: There is a notice that requires your attention.

src/getting_started/changelogs/Changelogs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function Authentication() {
5555
<li> Creating a payment now returns the new payment
5656
<ul>
5757
<li> POST /account/payments now returns a Payment object</li>
58-
<li> POST /account/payments/paypal-execute now returns a Payment object</li>
58+
<li> POST /account/payments/paypal/execute now returns a Payment object</li>
5959
</ul>
6060
</li>
6161
<li> Removed the ability to change another user's email address
@@ -68,7 +68,7 @@ export default function Authentication() {
6868
<ul>
6969
<li> POST /networking/ip-assign moved to POST /networking/ipv4/assign</li>
7070
<li> POST /networking/ip-sharing moved to POST /networking/ipv4/share</li>
71-
<li> POT /networking/ipv4/assign now returns {} on success</li>
71+
<li> POST /networking/ipv4/assign now returns {} on success</li>
7272
</ul>
7373
</li>
7474
</ul>

0 commit comments

Comments
 (0)