|
1 | 1 | openapi: 3.0.1
|
2 | 2 | info:
|
3 |
| - version: 4.6.0 |
| 3 | + version: 4.7.0 |
4 | 4 | title: Linode API
|
5 | 5 | description: |
|
6 | 6 | # Introduction
|
@@ -507,8 +507,7 @@ paths:
|
507 | 507 | schema:
|
508 | 508 | allOf:
|
509 | 509 | - $ref: '#/components/schemas/CreditCard'
|
510 |
| - - type: object |
511 |
| - properties: |
| 510 | + - properties: |
512 | 511 | cvv:
|
513 | 512 | type: string
|
514 | 513 | description: >
|
@@ -964,6 +963,13 @@ paths:
|
964 | 963 | - label
|
965 | 964 | - redirect_uri
|
966 | 965 | allOf:
|
| 966 | + - type: object |
| 967 | + properties: |
| 968 | + public: |
| 969 | + type: boolean |
| 970 | + description: Whether to create a public or private client. |
| 971 | + example: false |
| 972 | + readOnly: false |
967 | 973 | - $ref: '#/components/schemas/OAuthClient'
|
968 | 974 | - type: object
|
969 | 975 | properties:
|
@@ -2289,17 +2295,19 @@ paths:
|
2289 | 2295 | required:
|
2290 | 2296 | - domain
|
2291 | 2297 | - remote_nameserver
|
2292 |
| - properties: |
2293 |
| - domain: |
2294 |
| - type: string |
2295 |
| - description: > |
2296 |
| - The domain to import. |
2297 |
| - example: example.com |
2298 |
| - remote_nameserver: |
2299 |
| - type: string |
2300 |
| - description: > |
2301 |
| - The remote nameserver that allows zone transfers (AXFR). |
2302 |
| - example: examplenameserver.com |
| 2298 | + allOf: |
| 2299 | + - type: object |
| 2300 | + properties: |
| 2301 | + domain: |
| 2302 | + type: string |
| 2303 | + description: > |
| 2304 | + The domain to import. |
| 2305 | + example: example.com |
| 2306 | + remote_nameserver: |
| 2307 | + type: string |
| 2308 | + description: > |
| 2309 | + The remote nameserver that allows zone transfers (AXFR). |
| 2310 | + example: examplenameserver.com |
2303 | 2311 | responses:
|
2304 | 2312 | '200':
|
2305 | 2313 | description: |
|
@@ -2702,22 +2710,25 @@ paths:
|
2702 | 2710 | schema:
|
2703 | 2711 | required:
|
2704 | 2712 | - disk_id
|
2705 |
| - properties: |
2706 |
| - disk_id: |
2707 |
| - type: integer |
2708 |
| - description: > |
2709 |
| - The ID of the Linode Disk that this Image will be |
2710 |
| - created from. |
2711 |
| - example: 42 |
2712 |
| - label: |
2713 |
| - type: string |
2714 |
| - description: > |
2715 |
| - A short title of this Image. Defaults to the label of the |
2716 |
| - Disk it is being created from if not provided. |
2717 |
| - description: |
2718 |
| - type: string |
2719 |
| - description: > |
2720 |
| - A detailed description of this Image. |
| 2713 | + allOf: |
| 2714 | + - $ref: '#/components/schemas/ImagePrivate' |
| 2715 | + - type: object |
| 2716 | + properties: |
| 2717 | + disk_id: |
| 2718 | + type: integer |
| 2719 | + description: > |
| 2720 | + The ID of the Linode Disk that this Image will be |
| 2721 | + created from. |
| 2722 | + example: 42 |
| 2723 | + label: |
| 2724 | + type: string |
| 2725 | + description: > |
| 2726 | + A short title of this Image. Defaults to the label of the |
| 2727 | + Disk it is being created from if not provided. |
| 2728 | + description: |
| 2729 | + type: string |
| 2730 | + description: > |
| 2731 | + A detailed description of this Image. |
2721 | 2732 | responses:
|
2722 | 2733 | '200':
|
2723 | 2734 | description: New private Image created successfully.
|
@@ -3334,7 +3345,8 @@ paths:
|
3334 | 3345 | items:
|
3335 | 3346 | allOf:
|
3336 | 3347 | - $ref: '#/components/schemas/Backup'
|
3337 |
| - - properties: |
| 3348 | + - type: object |
| 3349 | + properties: |
3338 | 3350 | type:
|
3339 | 3351 | type: string
|
3340 | 3352 | example: automatic
|
@@ -4825,6 +4837,11 @@ paths:
|
4825 | 4837 | schema:
|
4826 | 4838 | allOf:
|
4827 | 4839 | - $ref: '#/components/schemas/IPAddress'
|
| 4840 | + - type: object |
| 4841 | + properties: |
| 4842 | + rdns: |
| 4843 | + type: string |
| 4844 | + example: linode.com |
4828 | 4845 | responses:
|
4829 | 4846 | '200':
|
4830 | 4847 | description: The updated IP address record.
|
@@ -5211,7 +5228,13 @@ paths:
|
5211 | 5228 | - image
|
5212 | 5229 | - root_pass
|
5213 | 5230 | allOf:
|
5214 |
| - - $ref: '#/components/schemas/LinodeRequest' |
| 5231 | + - $ref: '#/components/schemas/LinodeRequest' |
| 5232 | + properties: |
| 5233 | + image: |
| 5234 | + type: string |
| 5235 | + root_pass: |
| 5236 | + type: string |
| 5237 | + format: password |
5215 | 5238 | responses:
|
5216 | 5239 | '200':
|
5217 | 5240 | description: Rebuild started.
|
@@ -6700,21 +6723,23 @@ paths:
|
6700 | 6723 | schema:
|
6701 | 6724 | required:
|
6702 | 6725 | - password
|
6703 |
| - properties: |
6704 |
| - username: |
6705 |
| - type: string |
6706 |
| - minLength: 0 |
6707 |
| - maxLength: 5000 |
6708 |
| - description: > |
6709 |
| - The username to use when accessing the Managed Service. |
6710 |
| - example: johndoe |
6711 |
| - password: |
6712 |
| - type: string |
6713 |
| - minLength: 0 |
6714 |
| - maxLength: 5000 |
6715 |
| - description: > |
6716 |
| - The password to use when accessing the Managed Service. |
6717 |
| - example: s3cur3P@ssw0rd |
| 6726 | + allOf: |
| 6727 | + - type: object |
| 6728 | + properties: |
| 6729 | + username: |
| 6730 | + type: string |
| 6731 | + minLength: 0 |
| 6732 | + maxLength: 5000 |
| 6733 | + description: > |
| 6734 | + The username to use when accessing the Managed Service. |
| 6735 | + example: johndoe |
| 6736 | + password: |
| 6737 | + type: string |
| 6738 | + minLength: 0 |
| 6739 | + maxLength: 5000 |
| 6740 | + description: > |
| 6741 | + The password to use when accessing the Managed Service. |
| 6742 | + example: s3cur3P@ssw0rd |
6718 | 6743 | responses:
|
6719 | 6744 | '200':
|
6720 | 6745 | description: Credential username and password updated.
|
@@ -7984,18 +8009,19 @@ paths:
|
7984 | 8009 | The ports to configure this NodeBalancer with on creation.
|
7985 | 8010 | Each config must have a unique port and at least one Node.
|
7986 | 8011 | items:
|
7987 |
| - allOf: |
7988 |
| - - $ref: '#/components/schemas/NodeBalancerConfig' |
7989 |
| - - type: object |
7990 |
| - properties: |
7991 |
| - nodes: |
7992 |
| - type: array |
7993 |
| - description: > |
7994 |
| - The NodeBalancer Nodes that serve this port. When |
7995 |
| - creating a NodeBalancer this way, at least one Node |
7996 |
| - is required per configured port. |
7997 |
| - items: |
7998 |
| - $ref: '#/components/schemas/NodeBalancerNode' |
| 8012 | + allOf: |
| 8013 | + - $ref: '#/components/schemas/NodeBalancerConfig' |
| 8014 | + - type: object |
| 8015 | + properties: |
| 8016 | + nodes: |
| 8017 | + type: array |
| 8018 | + description: > |
| 8019 | + The NodeBalancer Nodes that serve this port. When |
| 8020 | + creating a NodeBalancer this way, at least one Node |
| 8021 | + is required per configured port. |
| 8022 | + items: |
| 8023 | + $ref: '#/components/schemas/NodeBalancerNode' |
| 8024 | + |
7999 | 8025 | responses:
|
8000 | 8026 | '200':
|
8001 | 8027 | description: NodeBalancer created successfully.
|
@@ -8468,24 +8494,22 @@ paths:
|
8468 | 8494 | * Current Nodes (identified by their ID) will be updated.
|
8469 | 8495 | * New Nodes (included without an ID) will be created.
|
8470 | 8496 | items:
|
8471 |
| - allOf: |
8472 |
| - - $ref: '#/components/schemas/NodeBalancerConfig' |
8473 |
| - - type: object |
8474 |
| - properties: |
8475 |
| - nodes: |
8476 |
| - type: array |
8477 |
| - description: > |
8478 |
| - The NodeBalancer Node(s) that serve this port. |
8479 |
| - At least one Node is required per configured port. |
8480 |
| - |
8481 |
| - Some considerations for Nodes when rebuilding a config: |
8482 |
| - * Current Nodes excluded from the request body will be deleted. |
8483 |
| - * Current Nodes (identified by their ID) will be updated. |
8484 |
| - * New Nodes (included without an ID) will be created. |
8485 |
| - items: |
8486 |
| - type: object |
8487 |
| - allOf: |
8488 |
| - - $ref: '#/components/schemas/NodeBalancerNode' |
| 8497 | + allOf: |
| 8498 | + - $ref: '#/components/schemas/NodeBalancerConfig' |
| 8499 | + - type: object |
| 8500 | + properties: |
| 8501 | + nodes: |
| 8502 | + type: array |
| 8503 | + description: > |
| 8504 | + The NodeBalancer Node(s) that serve this port. |
| 8505 | + At least one Node is required per configured port. |
| 8506 | + |
| 8507 | + Some considerations for Nodes when rebuilding a config: |
| 8508 | + * Current Nodes excluded from the request body will be deleted. |
| 8509 | + * Current Nodes (identified by their ID) will be updated. |
| 8510 | + * New Nodes (included without an ID) will be created. |
| 8511 | + items: |
| 8512 | + $ref: '#/components/schemas/NodeBalancerNode' |
8489 | 8513 | responses:
|
8490 | 8514 | '200':
|
8491 | 8515 | description: NodeBalancer created successfully.
|
@@ -8628,11 +8652,11 @@ paths:
|
8628 | 8652 | content:
|
8629 | 8653 | application/json:
|
8630 | 8654 | schema:
|
| 8655 | + allOf: |
| 8656 | + - $ref: '#/components/schemas/NodeBalancerNode' |
8631 | 8657 | required:
|
8632 | 8658 | - label
|
8633 | 8659 | - address
|
8634 |
| - allOf: |
8635 |
| - - $ref: '#/components/schemas/NodeBalancerNode' |
8636 | 8660 | responses:
|
8637 | 8661 | '200':
|
8638 | 8662 | description: Node created successfully.
|
@@ -9526,11 +9550,11 @@ paths:
|
9526 | 9550 | application/json:
|
9527 | 9551 | schema:
|
9528 | 9552 | allOf:
|
9529 |
| - - $ref: '#/components/schemas/ObjectStorageKey' |
9530 |
| - - type: object |
9531 |
| - properties: |
9532 |
| - secret_key: |
9533 |
| - example: OiA6F5r0niLs3QA2stbyq7mY5VCV7KqOzcmitmHw |
| 9553 | + - $ref: '#/components/schemas/ObjectStorageKey' |
| 9554 | + - type: object |
| 9555 | + properties: |
| 9556 | + secret_key: |
| 9557 | + example: OiA6F5r0niLs3QA2stbyq7mY5VCV7KqOzcmitmHw |
9534 | 9558 | default:
|
9535 | 9559 | $ref: '#/components/responses/ErrorResponse'
|
9536 | 9560 | x-code-samples:
|
@@ -11588,14 +11612,22 @@ paths:
|
11588 | 11612 | content:
|
11589 | 11613 | application/json:
|
11590 | 11614 | schema:
|
11591 |
| - allOf: |
11592 |
| - - $ref: '#/components/schemas/Volume' |
11593 |
| - - type: object |
11594 |
| - properties: |
11595 |
| - size: |
11596 |
| - readOnly: true |
11597 |
| - linode_id: |
11598 |
| - readOnly: true |
| 11615 | + allOf: |
| 11616 | + - $ref: '#/components/schemas/Volume' |
| 11617 | + - type: object |
| 11618 | + properties: |
| 11619 | + region: |
| 11620 | + allOf: |
| 11621 | + - $ref: '#/components/schemas/Volume/properties/region' |
| 11622 | + readOnly: true |
| 11623 | + size: |
| 11624 | + allOf: |
| 11625 | + - $ref: '#/components/schemas/Volume/properties/size' |
| 11626 | + readOnly: true |
| 11627 | + linode_id: |
| 11628 | + allOf: |
| 11629 | + - $ref: '#/components/schemas/Volume/properties/linode_id' |
| 11630 | + readOnly: true |
11599 | 11631 | responses:
|
11600 | 11632 | '200':
|
11601 | 11633 | description: The updated Volume.
|
@@ -11689,10 +11721,12 @@ paths:
|
11689 | 11721 | schema:
|
11690 | 11722 | type: object
|
11691 | 11723 | required:
|
11692 |
| - - linode_id |
| 11724 | + - linode |
11693 | 11725 | properties:
|
11694 | 11726 | linode_id:
|
11695 |
| - $ref: '#/components/schemas/Volume/properties/linode_id' |
| 11727 | + allOf: |
| 11728 | + - $ref: '#/components/schemas/Volume/properties/linode_id' |
| 11729 | + readOnly: false |
11696 | 11730 | config_id:
|
11697 | 11731 | type: integer
|
11698 | 11732 | description: >
|
|
0 commit comments