Skip to content

Release 4.59.2 #219

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 28 commits into from
Mar 10, 2020
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
aa3cd7d
Merge pull request #207 from linode/master
sagesyr Feb 26, 2020
b2a63c3
Fix /domains/import: linode-cli now displays import as an action
leslitagordita Feb 27, 2020
0446aee
Merge pull request #208 from leslitagordita/fix-linode-cli-domains-im…
Dorthu Feb 28, 2020
108d7ae
Move spec version back to 4.14.1
leslitagordita Feb 28, 2020
06416e6
Merge pull request #209 from leslitagordita/fix-api-version-spec-incr…
nmelehan Feb 28, 2020
83299a8
Revert "Fix /domains/import: linode-cli now displays import as an act…
nmelehan Mar 3, 2020
6a8fc65
Merge pull request #210 from nmelehan/revert-domain-import-linode-cli
nmelehan Mar 3, 2020
ae48a8f
Add cURL and CLI examples to POST /tags
nmelehan Mar 4, 2020
a4c8286
Add updated and created properties for DomainRecord
nmelehan Mar 4, 2020
6a868c0
small typo fix
leslitagordita Mar 4, 2020
facdd39
Modify POST /tags CLI example to use multiple itesm
leslitagordita Mar 4, 2020
c4c9e92
Add curl example for View /tags/{label}
leslitagordita Mar 4, 2020
8943a02
Merge pull request #213 from nmelehan/domainrecord-map-created-updated
leslitagordita Mar 6, 2020
c957383
Update shell example: use quotes instead of character escaping
leslitagordita Mar 6, 2020
365a457
Update PAT section with link to POST /profile/tokens
leslitagordita Mar 6, 2020
f9b3637
added status stopped for maintenance mode
Mar 6, 2020
b53223f
Update `root_pass` field with new password requirements
leslitagordita Mar 6, 2020
f4145d0
Add GET /object-storage/buckets/{clusterId}
leslitagordita Mar 6, 2020
ae78921
Merge pull request #217 from leslitagordita/add-get-obj-buckets-cluster
leslitagordita Mar 9, 2020
d6825e5
Add note: tags will be cloned to target Linode.
leslitagordita Mar 9, 2020
8681514
Added missing required fields
leslitagordita Mar 9, 2020
b772085
Copy edit
leslitagordita Mar 9, 2020
fc301ff
Merge pull request #212 from nmelehan/tags-post-examples
leslitagordita Mar 9, 2020
ac92464
Merge pull request #215 from hzoppetti/host-maint-mode
leslitagordita Mar 9, 2020
a0fdbd7
Merge pull request #216 from leslitagordita/root-pass-strength-valida…
leslitagordita Mar 9, 2020
0518163
Merge pull request #218 from leslitagordita/clone-linode-with-tags
leslitagordita Mar 9, 2020
6e9fb01
Merge pull request #214 from leslitagordita/pat-copy-clarification
nmelehan Mar 9, 2020
db494a9
Bump version to 4.59.2
nmelehan Mar 9, 2020
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
106 changes: 101 additions & 5 deletions openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.1
info:
version: 4.14.1
version: 4.59.2

title: Linode API
description: |
Expand Down Expand Up @@ -36,7 +36,8 @@ info:

The easiest way to access the API is with a Personal Access Token (PAT)
generated from the
<a target="_top" href="https://cloud.linode.com/profile/tokens">Linode Cloud Manager</a>.
<a target="_top" href="https://cloud.linode.com/profile/tokens">Linode Cloud Manager</a> or
the [Create Personal Access Token](/api/v4/profile-tokens#post) endpoint.

All scopes for the OAuth security model ([defined below](#o-auth)) apply to this
security model as well.
Expand Down Expand Up @@ -3734,6 +3735,8 @@ paths:
Up to five clone operations from any given source Linode can be run concurrently.
If more concurrent clones are attempted, an HTTP 400 error will be
returned by this endpoint.

Any [tags](/api/v4/tags) existing on the source Linode will be cloned to the target Linode.
tags:
- Linode Instances
operationId: cloneLinodeInstance
Expand All @@ -3749,6 +3752,9 @@ paths:
application/json:
schema:
type: object
required:
- region
- type
properties:
region:
type: string
Expand Down Expand Up @@ -3854,7 +3860,7 @@ paths:
content:
application/json:
schema:
type: object
$ref: '#/components/schemas/Linode'
default:
$ref: '#/components/responses/ErrorResponse'
x-code-samples:
Expand Down Expand Up @@ -9833,6 +9839,57 @@ paths:
curl -H "Authorization: Bearer $TOKEN" \
-X DELETE \
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket
/object-storage/buckets/{clusterId}:
parameters:
- name: clusterId
in: path
description: The ID of the cluster this bucket exists in.
required: true
schema:
type: string
get:
operationId: getObjectStorageBucketinCluster
x-linode-cli-skip: true
servers:
- url: https://api.linode.com/v4
summary: List Object Storage Buckets in Cluster
description: |
Returns a list of Buckets in this cluster belonging to this Account.


This endpoint is available for convenience. It is recommended that instead you
use the more [fully-featured S3 API](https://docs.ceph.com/docs/mimic/radosgw/s3/bucketops/#get-bucket) directly.
tags:
- Object Storage
security:
- personalAccessToken: []
- oauth:
- object_storage:read_only
responses:
'200':
description: A paginated list of buckets you own in this cluster.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/ObjectStorageBucket'
page:
$ref: '#/components/schemas/PaginationEnvelope/properties/page'
pages:
$ref: '#/components/schemas/PaginationEnvelope/properties/pages'
results:
$ref: '#/components/schemas/PaginationEnvelope/properties/results'
default:
$ref: '#/components/responses/ErrorResponse'
x-code-samples:
- lang: Shell
source: >
curl -H "Authorization: Bearer $TOKEN" \
https://api.linode.com/v4/object-storage/buckets/us-east-1
/object-storage/buckets/{clusterId}/{bucket}/access:
parameters:
- name: clusterId
Expand Down Expand Up @@ -12021,6 +12078,25 @@ paths:
$ref: '#/components/schemas/Tag'
default:
$ref: '#/components/responses/ErrorResponse'
x-code-samples:
- lang: Shell
source: >
curl -H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-X POST -d '{
"label": "example tag",
"linodes": [123,456],
"volumes": [9082,10003]
}' \
https://api.linode.com/v4/tags
- lang: CLI
source: >
linode-cli tags create \
--label 'example tag' \
--linodes 123 \
--linodes 456 \
--volumes 9082 \
--volumes 10003
/tags/{label}:
x-linode-cli-command: tags
parameters:
Expand Down Expand Up @@ -12083,6 +12159,11 @@ paths:
$ref: '#/components/schemas/PaginationEnvelope/properties/results'
default:
$ref: '#/components/responses/ErrorResponse'
x-code-samples:
- lang: Shell
source: >
curl -H "Authorization: Bearer $TOKEN" \
"https://api.linode.com/v4/tags/example tag"
delete:
summary: Delete a Tag
description: >
Expand Down Expand Up @@ -13373,6 +13454,8 @@ components:
* Lower-case letters
* Digits
* Punctuation
* Must meet a password strength score requirement that is calculated internally by the API.
If the strength requirement is not met, you will receive a `Password does not meet strength requirement` error.
minLength: 6
maxLength: 128
pattern: ^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[A-Z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[0-9])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\])))
Expand Down Expand Up @@ -13636,6 +13719,18 @@ components:
The tag portion of a CAA record. It is invalid to set this on
other record types.
example: null
created:
type: string
format: date-time
description: When this Domain Record was created.
example: '2018-01-01T00:01:01'
readOnly: true
updated:
type: string
format: date-time
description: When this Domain Record was last updated.
example: '2018-01-01T00:01:01'
readOnly: true
ErrorObject:
type: object
description: >
Expand Down Expand Up @@ -14849,8 +14944,8 @@ components:
type: string
description: >
A brief description of this Linode's current state. This field may change without
direct action from you. For instance, the status will change to "running"
when the boot process completes.
direct action from you. For example, when a Linode goes into maintenance mode
its status will display "stopped".
example: running
readOnly: true
enum:
Expand All @@ -14865,6 +14960,7 @@ components:
- rebuilding
- cloning
- restoring
- stopped
x-linode-cli-display: 7
x-linode-cli-color:
running: green
Expand Down