11openapi: 3.0.1
22info:
3- version: 4.14.1
3+ version: 4.59.2
44
55 title: Linode API
66 description: |
3636
3737 The easiest way to access the API is with a Personal Access Token (PAT)
3838 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.
4041
4142 All scopes for the OAuth security model ([defined below](#o-auth)) apply to this
4243 security model as well.
@@ -3734,6 +3735,8 @@ paths:
37343735 Up to five clone operations from any given source Linode can be run concurrently.
37353736 If more concurrent clones are attempted, an HTTP 400 error will be
37363737 returned by this endpoint.
3738+
3739+ Any [tags](/api/v4/tags) existing on the source Linode will be cloned to the target Linode.
37373740 tags:
37383741 - Linode Instances
37393742 operationId: cloneLinodeInstance
@@ -3749,6 +3752,9 @@ paths:
37493752 application/json:
37503753 schema:
37513754 type: object
3755+ required:
3756+ - region
3757+ - type
37523758 properties:
37533759 region:
37543760 type: string
@@ -3854,7 +3860,7 @@ paths:
38543860 content:
38553861 application/json:
38563862 schema:
3857- type: object
3863+ $ref: '#/components/schemas/Linode'
38583864 default:
38593865 $ref: '#/components/responses/ErrorResponse'
38603866 x-code-samples:
@@ -9833,6 +9839,57 @@ paths:
98339839 curl -H "Authorization: Bearer $TOKEN" \
98349840 -X DELETE \
98359841 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
98369893 /object-storage/buckets/{clusterId}/{bucket}/access:
98379894 parameters:
98389895 - name: clusterId
@@ -12021,6 +12078,25 @@ paths:
1202112078 $ref: '#/components/schemas/Tag'
1202212079 default:
1202312080 $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
1202412100 /tags/{label}:
1202512101 x-linode-cli-command: tags
1202612102 parameters:
@@ -12083,6 +12159,11 @@ paths:
1208312159 $ref: '#/components/schemas/PaginationEnvelope/properties/results'
1208412160 default:
1208512161 $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"
1208612167 delete:
1208712168 summary: Delete a Tag
1208812169 description: >
@@ -13373,6 +13454,8 @@ components:
1337313454 * Lower-case letters
1337413455 * Digits
1337513456 * 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.
1337613459 minLength: 6
1337713460 maxLength: 128
1337813461 pattern: ^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[A-Z])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\]))|((?=.*[0-9])(?=.*[!"#$%&'()*+,-.\/:;<=>?@\[\]^_`{|}~\\])))
@@ -13636,6 +13719,18 @@ components:
1363613719 The tag portion of a CAA record. It is invalid to set this on
1363713720 other record types.
1363813721 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
1363913734 ErrorObject:
1364013735 type: object
1364113736 description: >
@@ -14849,8 +14944,8 @@ components:
1484914944 type: string
1485014945 description: >
1485114946 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" .
1485414949 example: running
1485514950 readOnly: true
1485614951 enum:
@@ -14865,6 +14960,7 @@ components:
1486514960 - rebuilding
1486614961 - cloning
1486714962 - restoring
14963+ - stopped
1486814964 x-linode-cli-display: 7
1486914965 x-linode-cli-color:
1487014966 running: green
0 commit comments