Skip to content

Release/0.16.13 #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 41 commits into from
Feb 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
ed9fe2f
brk: renamed "vat_number" to "tax_id" - /account endpoints
jamesottinger Jan 25, 2018
c595116
brk: removes xsa notification type
Jan 25, 2018
e0992f8
brk: removed managed_issue from /support/ticket
Jan 25, 2018
655bb08
Changed copy in account transfer to reflect "this" billing cycle
Jan 25, 2018
15207d4
Update profile.yaml
Jan 25, 2018
b0403fa
Merge pull request #58 from linode/buguuid-uid
Dorthu Jan 25, 2018
1a8aaba
bug: Fix documentation example for /images
Jan 25, 2018
88bf061
Merge pull request #56 from yoshizzle/removeManagedIssue
jamesottinger Jan 26, 2018
48ff2f2
brk: Moved /linode/instances/$id/sharing to /networking/ip-sharing
Jan 26, 2018
740c017
Fix remaining references to "token" keyword in auth headers
rmcintosh Jan 30, 2018
c5a1379
Merge pull request #61 from rmcintosh/no-token
jamesottinger Jan 30, 2018
58e5175
Merge pull request #54 from jamesottinger/taxid
yoshizzle Jan 30, 2018
377195e
brk: Changed managed contacts phone to an envelope
Jan 30, 2018
4eef2df
Merge pull request #62 from yoshizzle/managedContactPOST
jamesottinger Jan 30, 2018
c6dac24
Merge pull request #55 from yoshizzle/xsaByeBye
Dorthu Jan 31, 2018
e190232
Merge pull request #57 from yoshizzle/accountTranferCopyChanges
Dorthu Jan 31, 2018
0f14ef0
Merge pull request #59 from yoshizzle/imageDocs
Dorthu Jan 31, 2018
cfb8b87
Addressed PR feedback
Jan 31, 2018
4efadec
brk: Changed account notification balance_ouststanding
Jan 25, 2018
1de0d04
Merge pull request #53 from yoshizzle/paymentDue
Dorthu Jan 31, 2018
bed9b33
Merge pull request #60 from yoshizzle/moveIPSharing
Dorthu Jan 31, 2018
3a2bbaa
bug: /profile authorized_keys had wrong type association
Jan 31, 2018
67a8ff4
brk: Removed deprecated fields and endpoints
Dorthu Feb 1, 2018
8fea656
Merge pull request #64 from Dorthu/remove-deprecated-fields-and-endpo…
yoshizzle Feb 1, 2018
45d2a6f
Addressed PR feedback
Feb 5, 2018
14cb6af
Merge pull request #63 from yoshizzle/profileAuthKeysError
Dorthu Feb 5, 2018
1d0fec7
brk: changes to IPv4 and IPv6 response objects
jamesottinger Feb 13, 2018
dc6c9b3
Merge pull request #66 from jamesottinger/unifyipv4ipv6
Dorthu Feb 13, 2018
b971a7d
Documents moving networking/ipv4 to networking/ips
Dorthu Feb 13, 2018
c41762e
Merge pull request #67 from Dorthu/document-moved-ips
jamesottinger Feb 13, 2018
21c423c
brk: separated /networking/ipv6 into /pools and /ranges
jamesottinger Feb 13, 2018
bcd251e
Merge pull request #68 from jamesottinger/separatepoolsandranges
Dorthu Feb 14, 2018
3a1f168
Bump version
Dorthu Feb 14, 2018
41a588c
bug: Linode rebuild image is required
Feb 16, 2018
5f97e45
Added changelog for upcoming release
Dorthu Feb 19, 2018
ba64f4c
Merge pull request #69 from yoshizzle/rebuildRequiredImage
Dorthu Feb 21, 2018
2fff2af
Addresses changelog feedback
Dorthu Feb 21, 2018
f0d4631
Merge pull request #70 from Dorthu/changelog-2018-02-21
jamesottinger Feb 21, 2018
dd619cd
Bumped version
Dorthu Feb 22, 2018
9061576
Updated changelog date, added missing entry
Dorthu Feb 26, 2018
0e04f40
Merge pull request #76 from Dorthu/final-changelog-changes
jamesottinger Feb 26, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [0.16.13] 2018-02-22
### Added
- Changelog

### Fixed
- Docs

## [0.16.12] 2018-02-14
### Added
- Docs

### Fixed
- Docs

## [0.16.11] 2018-01-24
### Added
- Changelog for API release
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linode-api-docs",
"version": "0.16.11",
"version": "0.16.13",
"description": "Linode API Docs",
"main": "src/index.js",
"scripts": {
Expand Down
123 changes: 23 additions & 100 deletions src/data/endpoints/linodes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,31 +49,23 @@ endpoints:
description: The group to assign this Linode. Defaults to "empty".
type: String
limit: 0-50 characters
distribution:
optional: true
description: >
The ID of a Distribution to deploy this Linode with. May not be included
if 'backup_id' or 'image' is sent.
type: String
deprecated: This parameter is deprecated and will be removed before the end of the Beta Period.
You can provide the same inputs to "image" instead. See the changelog for more information.
root_pass:
optional: unless source == "distro"
description: >
The root password to use when sourcing this Linode from a distribution.
<ul><li>root_pass is required if the source provided is a distribution.</li></ul>
The root password to use when sourcing this Linode from an image.
<ul><li>root_pass is required if the source provided is an image.</li></ul>
type: String
authorized_keys:
optional: true
description: >
An array of public SSH keys to be installed into the distribution's
An array of public SSH keys to be installed into the image's
default user's `authorized_keys` file when creating a Linode.
type: Array
stackscript_id:
optional: true
description: >
The stackscript ID to deploy with this disk.
<ul><li>Must provide a distribution. Distribution must be
<ul><li>Must provide an Image. Images must be
one that the stackscript can be deployed to.</li></ul>
type: Integer
stackscript_data:
Expand All @@ -86,13 +78,13 @@ endpoints:
optional: true
description: >
The Backup to restore to the newly created
Linode. May not be included if 'distribution' or 'image' is sent.
Linode. May not be included if 'image' is sent.
type: Integer
image:
optional: true
description: >
The gold-master image to use for the newly created Linode. May
not be included if 'distribution' or 'backup_id' is sent. Official
not be included if 'backup_id' is sent. Official
images start with "linode/", while your own images start with
"private/"
type: String
Expand All @@ -107,7 +99,7 @@ endpoints:
optional: true
description: >
Whether the instance should be booted upon completion of creation.
This defaults to true if created with a distribution.
This defaults to true if created with an image.
type: Boolean
examples:
curl: |
Expand All @@ -119,7 +111,7 @@ endpoints:
my_linode = client.linode.create_instance(client.get_regions().first(), 'g5-nanode-1')

distro = client.linode.get_distributons(linode.Distribution.vendor == 'debian').first()
( my_linode_2, password ) = client.linode.create_instance('us-east-1a', 'g5-standard-1', distribution=distro)
( my_linode_2, password ) = client.linode.create_instance('us-east-1a', 'g5-standard-1', image=image)
/linode/instances/$id:
type: resource
authenticated: true
Expand Down Expand Up @@ -196,35 +188,25 @@ endpoints:
Size in MB for this disk.
type: Integer
limit: between 0 and the available space on the Linode
distribution:
optional: true
description: >
Optional ID of a distribution to deploy with this disk.
<ul><li>If no distribution is provided, a blank disk
is created.</li></ul> You may not provide distribution if image is provided.
type: String
deprecated: This parameter is deprecated and will be removed before the end of the Beta Period.
The same value can be passed to "image" instead. See the changelog for more information.
image:
optional: true
description: >
Optional image id to deploy the disk from. You may not provide image
if distribution is provided. Official images start with "linode/",
while your images start with "private/"
Optional image id to deploy the disk from. Official images start
with "linode/", while your images start with "private/"
seeAlso: ["/reference/endpoints/images"]
type: String
root_pass:
optional: unless distribution or image is specified
optional: unless image is specified
description: >
Root password to deploy distribution with.
<ul><li>root_pass is required if a distribution is provided.</li></ul>
Root password to deploy image with.
<ul><li>root_pass is required if a image is provided.</li></ul>
type: String
authorized_keys:
optional: unless distribution is not specified
optional: unless image is not specified
description: >
An array of public SSH keys to be installed into the distribution's
An array of public SSH keys to be installed into the image's
default user's `authorized_keys` file when creating a new disk from
a Linode provided distribution.
a Linode provided image.
type: Array
label:
description: >
Expand All @@ -245,7 +227,7 @@ endpoints:
optional: true
description: >
The stackscript ID to deploy with this disk.
<ul><li>Must provide a distribution. Distribution must be
<ul><li>Must provide a image. Images must be
one that the stackscript can be deployed to.</li></ul>
type: Integer
stackscript_data:
Expand Down Expand Up @@ -926,25 +908,6 @@ endpoints:
"type": "private"
}' \
https://$api_root/$version/linode/instances/$linode_id/ips
/linode/instances/$id/ips/sharing:
group: IPs
methods:
POST:
description: >
Sets IP Sharing for this Linode.
params:
ips:
type: String
description: >
A list of IP Addresses this Linode will share.
examples:
curl: |
curl -H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-X POST -d '{
"ips": [ "97.107.143.29", "97.107.143.112" ]
}' \
https://$api_root/$version/linode/instances/$linode_id/ips/sharing
/linode/instances/$id/ips/$ip_address:
group: IPs
type: Action
Expand Down Expand Up @@ -994,18 +957,10 @@ endpoints:
oauth: linodes:modify
dangerous: true
params:
distribution:
optional: true
description: >
An ID of a Distribution to deploy to this Linode.
type: String
deprecated: This parameter is deprecated and will be removed before the end of the Beta Period.
See the changelog for more information.
image:
optional: true
required: true
description: >
The gold-master image to use for this Linode. May
not be included if 'distribution' is sent. Official images start
The gold-master image to use for this Linode. Official images start
with "linode/", while your own images start with "private/"
type: String
value: "linode/debian9"
Expand All @@ -1016,14 +971,14 @@ endpoints:
authorized_keys:
optional: true
description: >
An array of public SSH keys to be installed into the distribution's
An array of public SSH keys to be installed into the image's
default user's `authorized_keys` file when rebuilding a Linode.
type: Array
stackscript_id:
optional: true
description: >
The stackscript ID to deploy with this disk.
<ul><li>Must provide a distribution. Distribution must be
<ul><li>Must provide an image. Images must be
one that the stackscript can be deployed to.</li></ul>
type: Integer
stackscript_data:
Expand All @@ -1044,7 +999,7 @@ endpoints:
-H "Authorization: Bearer $TOKEN" \
-X POST \
https://$api_root/$version/linode/instances/$linode_id/rebuild \
-d '{"distribution":"linode/debian8","root_pass":"hunter7"}'
-d '{"image":"linode/debian8","root_pass":"hunter7"}'
python: |
my_linode.rebuild('linode/ubuntu16.04LTS', root_pass='hunter7')
/linode/stackscripts:
Expand Down Expand Up @@ -1110,7 +1065,7 @@ endpoints:
-H "Authorization: Bearer $TOKEN" \
-X POST -d '{
"label": "Initial Label",
"distributions": ["linode/ubuntu15.4", "linode/ubuntu15.10"],
"images": ["linode/ubuntu15.4", "linode/ubuntu15.10"],
"script": "#!..."
}' \
https://$api_root/$version/linode/stackscripts
Expand Down Expand Up @@ -1164,38 +1119,6 @@ endpoints:
python: |
import stackscript
TODO
/linode/distributions:
group: Distributions
description: >
THIS ENDPOINT IS DEPRECATED. USE /images INSTEAD. Returns information about this distribution.
methods:
GET:
response: image
paginationKey: distributions
description: >
THIS ENDPOINT IS DEPRECATED. USE /images INSTEAD. Returns information about this distribution.
seeAlso: ["/reference/endpoints/images"]
examples:
curl: |
curl https://$api_root/$version/linode/distributions
python: |
client.linode.get_distributions()
/linode/distributions/$id:
group: Distributions
type: resource
description: >
THIS ENDPOINT IS DEPRECATED. USE /images INSTEAD. Returns information about this distribution.
methods:
GET:
response: image
description: >
THIS ENDPOINT IS DEPRECATED. USE /images INSTEAD. Returns information about this distribution.
seeAlso: ["/reference/endpoints/images"]
examples:
curl: |
curl https://$api_root/$version/linode/distributions/$distribution_id
python: |
distro = linode.Distribution(client, 'linode/debian8')
/linode/kernels:
group: Kernels
description: >
Expand Down
25 changes: 17 additions & 8 deletions src/data/endpoints/managed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,35 @@ endpoints:
description: The contact's full name.
type: String
limit: 1-64 characters
value: "John Q. Public"
email:
description: The email address for the contact.
type: String
phone_primary:
description: A primary phone number for the contact.
type: String
phone_secondary:
description: A secondary phone number for the contact.
type: String
value: "[email protected]"
phone:
primary:
description: A primary phone number for the contact.
type: String
value: 215-555-3000
secondary:
description: A secondary phone number for the contact.
type: String
value: 215-555-3001
group:
description: Contacts can be associated with a monitored service by the group they belong to.
type: String
value: Support
examples:
curl: |
curl -H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-X POST -d '{
"name": "John Q. Public",
"email": "[email protected]",
"phone_primary": "215-555-3000",
"phone_secondary": "215-555-3001",
"phone": {
"primary": "215-555-3000",
"secondary": "215-555-3001",
},
"group": "Support",
}' \
https://$api_root/$version/managed/contacts
Expand Down Expand Up @@ -78,6 +86,7 @@ endpoints:
"phone": {
"primary": "215-555-4000",
"secondary": "215-555-4001",
},
"group": "Developers"
}' \
https://$api_root/$version/managed/contact/$contact_id
Expand Down
Loading