1
1
openapi: 3.0.1
2
2
info:
3
- version: 4.14.1
3
+ version: 4.59.2
4
4
5
5
title: Linode API
6
6
description: |
36
36
37
37
The easiest way to access the API is with a Personal Access Token (PAT)
38
38
generated from the
39
- <a target="_top" href="https://cloud.linode.com/profile/tokens">Linode Cloud Manager</a>.
39
+ <a target="_top" href="https://cloud.linode.com/profile/tokens">Linode Cloud Manager</a> or
40
+ the [Create Personal Access Token](/api/v4/profile-tokens#post) endpoint.
40
41
41
42
All scopes for the OAuth security model ([defined below](#o-auth)) apply to this
42
43
security model as well.
@@ -3734,6 +3735,8 @@ paths:
3734
3735
Up to five clone operations from any given source Linode can be run concurrently.
3735
3736
If more concurrent clones are attempted, an HTTP 400 error will be
3736
3737
returned by this endpoint.
3738
+
3739
+ Any [tags](/api/v4/tags) existing on the source Linode will be cloned to the target Linode.
3737
3740
tags:
3738
3741
- Linode Instances
3739
3742
operationId: cloneLinodeInstance
@@ -3749,6 +3752,9 @@ paths:
3749
3752
application/json:
3750
3753
schema:
3751
3754
type: object
3755
+ required:
3756
+ - region
3757
+ - type
3752
3758
properties:
3753
3759
region:
3754
3760
type: string
@@ -3854,7 +3860,7 @@ paths:
3854
3860
content:
3855
3861
application/json:
3856
3862
schema:
3857
- type: object
3863
+ $ref: '#/components/schemas/Linode'
3858
3864
default:
3859
3865
$ref: '#/components/responses/ErrorResponse'
3860
3866
x-code-samples:
@@ -9833,6 +9839,57 @@ paths:
9833
9839
curl -H "Authorization: Bearer $TOKEN" \
9834
9840
-X DELETE \
9835
9841
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket
9842
+ /object-storage/buckets/{clusterId}:
9843
+ parameters:
9844
+ - name: clusterId
9845
+ in: path
9846
+ description: The ID of the cluster this bucket exists in.
9847
+ required: true
9848
+ schema:
9849
+ type: string
9850
+ get:
9851
+ operationId: getObjectStorageBucketinCluster
9852
+ x-linode-cli-skip: true
9853
+ servers:
9854
+ - url: https://api.linode.com/v4
9855
+ summary: List Object Storage Buckets in Cluster
9856
+ description: |
9857
+ Returns a list of Buckets in this cluster belonging to this Account.
9858
+
9859
+
9860
+ This endpoint is available for convenience. It is recommended that instead you
9861
+ use the more [fully-featured S3 API](https://docs.ceph.com/docs/mimic/radosgw/s3/bucketops/#get-bucket) directly.
9862
+ tags:
9863
+ - Object Storage
9864
+ security:
9865
+ - personalAccessToken: []
9866
+ - oauth:
9867
+ - object_storage:read_only
9868
+ responses:
9869
+ '200':
9870
+ description: A paginated list of buckets you own in this cluster.
9871
+ content:
9872
+ application/json:
9873
+ schema:
9874
+ type: object
9875
+ properties:
9876
+ data:
9877
+ type: array
9878
+ items:
9879
+ $ref: '#/components/schemas/ObjectStorageBucket'
9880
+ page:
9881
+ $ref: '#/components/schemas/PaginationEnvelope/properties/page'
9882
+ pages:
9883
+ $ref: '#/components/schemas/PaginationEnvelope/properties/pages'
9884
+ results:
9885
+ $ref: '#/components/schemas/PaginationEnvelope/properties/results'
9886
+ default:
9887
+ $ref: '#/components/responses/ErrorResponse'
9888
+ x-code-samples:
9889
+ - lang: Shell
9890
+ source: >
9891
+ curl -H "Authorization: Bearer $TOKEN" \
9892
+ https://api.linode.com/v4/object-storage/buckets/us-east-1
9836
9893
/object-storage/buckets/{clusterId}/{bucket}/access:
9837
9894
parameters:
9838
9895
- name: clusterId
@@ -12021,6 +12078,25 @@ paths:
12021
12078
$ref: '#/components/schemas/Tag'
12022
12079
default:
12023
12080
$ref: '#/components/responses/ErrorResponse'
12081
+ x-code-samples:
12082
+ - lang: Shell
12083
+ source: >
12084
+ curl -H "Content-Type: application/json" \
12085
+ -H "Authorization: Bearer $TOKEN" \
12086
+ -X POST -d '{
12087
+ "label": "example tag",
12088
+ "linodes": [123,456],
12089
+ "volumes": [9082,10003]
12090
+ }' \
12091
+ https://api.linode.com/v4/tags
12092
+ - lang: CLI
12093
+ source: >
12094
+ linode-cli tags create \
12095
+ --label 'example tag' \
12096
+ --linodes 123 \
12097
+ --linodes 456 \
12098
+ --volumes 9082 \
12099
+ --volumes 10003
12024
12100
/tags/{label}:
12025
12101
x-linode-cli-command: tags
12026
12102
parameters:
@@ -12083,6 +12159,11 @@ paths:
12083
12159
$ref: '#/components/schemas/PaginationEnvelope/properties/results'
12084
12160
default:
12085
12161
$ref: '#/components/responses/ErrorResponse'
12162
+ x-code-samples:
12163
+ - lang: Shell
12164
+ source: >
12165
+ curl -H "Authorization: Bearer $TOKEN" \
12166
+ "https://api.linode.com/v4/tags/example tag"
12086
12167
delete:
12087
12168
summary: Delete a Tag
12088
12169
description: >
@@ -13373,6 +13454,8 @@ components:
13373
13454
* Lower-case letters
13374
13455
* Digits
13375
13456
* Punctuation
13457
+ * Must meet a password strength score requirement that is calculated internally by the API.
13458
+ If the strength requirement is not met, you will receive a `Password does not meet strength requirement` error.
13376
13459
minLength: 6
13377
13460
maxLength: 128
13378
13461
pattern: ^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[A-Z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[0-9])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\])))
@@ -13636,6 +13719,18 @@ components:
13636
13719
The tag portion of a CAA record. It is invalid to set this on
13637
13720
other record types.
13638
13721
example: null
13722
+ created:
13723
+ type: string
13724
+ format: date-time
13725
+ description: When this Domain Record was created.
13726
+ example: '2018-01-01T00:01:01'
13727
+ readOnly: true
13728
+ updated:
13729
+ type: string
13730
+ format: date-time
13731
+ description: When this Domain Record was last updated.
13732
+ example: '2018-01-01T00:01:01'
13733
+ readOnly: true
13639
13734
ErrorObject:
13640
13735
type: object
13641
13736
description: >
@@ -14849,8 +14944,8 @@ components:
14849
14944
type: string
14850
14945
description: >
14851
14946
A brief description of this Linode's current state. This field may change without
14852
- direct action from you. For instance, the status will change to "running"
14853
- when the boot process completes .
14947
+ direct action from you. For example, when a Linode goes into maintenance mode
14948
+ its status will display "stopped" .
14854
14949
example: running
14855
14950
readOnly: true
14856
14951
enum:
@@ -14865,6 +14960,7 @@ components:
14865
14960
- rebuilding
14866
14961
- cloning
14867
14962
- restoring
14963
+ - stopped
14868
14964
x-linode-cli-display: 7
14869
14965
x-linode-cli-color:
14870
14966
running: green
0 commit comments