diff --git a/openapi.yaml b/openapi.yaml index 65bebb4ec..b3c188788 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1,6 +1,6 @@ openapi: 3.0.1 info: - version: 4.60.1 + version: 4.61.0 title: Linode API description: | @@ -6132,7 +6132,8 @@ paths: --region us-central \ --version 1.16 \ --node_pools.type g6-standard-4 --node_pools.count 6 \ - --node_pools.type g6-standard-8 --node_pools.count 3 + --node_pools.type g6-standard-8 --node_pools.count 3 \ + --tags ecomm /lke/clusters/{clusterId}: parameters: - name: clusterId @@ -6207,13 +6208,48 @@ paths: properties: label: $ref: '#/components/schemas/LKEClusterRequestBody/properties/label' + tags: + type: array + items: + type: string + example: + - prod + - monitoring + - ecomm + - blog + description: > + An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only. + To delete a tag, exclude it from your `tags` array. responses: '200': description: Returns a single Kubernetes cluster. content: application/json: schema: - $ref: '#/components/schemas/LKECluster' + properties: + label: + $ref: '#/components/schemas/LKECluster/properties/label' + tags: + x-linode-filterable: true + type: array + items: + type: string + example: + - prod + - monitoring + - ecomm + - blog + description: > + An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only. + To delete a tag, exclude it from your `tags` array. + created: + $ref: '#/components/schemas/LKECluster/properties/created' + updated: + $ref: '#/components/schemas/LKECluster/properties/updated' + region: + $ref: '#/components/schemas/LKECluster/properties/region' + version: + $ref: '#/components/schemas/LKECluster/properties/version' x-code-samples: - lang: Shell source: > @@ -6221,12 +6257,17 @@ paths: -H "Authorization: Bearer $TOKEN" \ -X PUT -d '{ "label": "lkecluster54321" + "tags" : ["ecomm", "blog", "prod", "monitoring"] }' \ https://api.linode.com/v4beta/lke/clusters/12345 - lang: CLI source: > linode-cli lke cluster-update 12345 \ - --label lkecluster54321 + --label lkecluster54321 \ + --tags ecomm \ + --tags blog \ + --tags prod \ + --tags monitoring delete: operationId: deleteLKECluster x-linode-cli-action: cluster-delete @@ -10444,8 +10485,7 @@ paths: https://api.linode.com/v4/object-storage/keys/12345 - lang: CLI source: > - linode-cli object-storage keys-delete \ - --keyId 12345 + linode-cli object-storage keys-delete 12345 /object-storage/cancel: x-linode-cli-command: object-storage post: @@ -12611,7 +12651,7 @@ paths: content: application/json: schema: - type: object + $ref: '#/components/schemas/Volume' default: $ref: '#/components/responses/ErrorResponse' x-code-samples: @@ -14219,6 +14259,12 @@ components: description: When this Image was created. example: '2018-01-01T00:01:01' readOnly: true + updated: + type: string + format: date-time + description: When this Image was last updated. + example: '2019-01-02T00:01:01' + readOnly: true created_by: type: string description: > @@ -14316,6 +14362,12 @@ components: description: When this Image was created. example: '2018-01-01T00:01:01' readOnly: true + updated: + type: string + format: date-time + description: When this Image was last updated. + example: '2019-01-02T00:01:01' + readOnly: true created_by: type: string description: > @@ -15708,7 +15760,6 @@ components: x-linode-filterable: true example: "1.16" tags: - x-linode-filterable: true example: - ecomm - blogs @@ -17504,6 +17555,7 @@ components: - linode/debian8 x-linode-cli-display: 4 deployments_total: + x-linode-filterable: true type: integer description: > The total number of times this StackScript has been deployed.