@@ -6587,6 +6587,73 @@ paths:
65876587 - lang: CLI
65886588 source: >
65896589 linode-cli lke pool-delete 12345 456
6590+ /lke/clusters/{clusterId}/api-endpoints:
6591+ parameters:
6592+ - name: clusterId
6593+ in: path
6594+ description: ID of the Kubernetes cluster to look up.
6595+ required: true
6596+ schema:
6597+ type: integer
6598+ x-linode-cli-command: lke
6599+ get:
6600+ operationId: getLKEClusterAPIEndpoints
6601+ x-linode-cli-action: api-endpoints-list
6602+ security:
6603+ - personalAccessToken: []
6604+ - oauth:
6605+ - lke:read_only
6606+ tags:
6607+ - Linode Kubernetes Engine (LKE)
6608+ servers:
6609+ - url: https://api.linode.com/v4beta
6610+ summary: List Kubernetes API Endpoints
6611+ description: >
6612+ List the Kubernetes API server endpoints for this cluster. Please note that it often takes
6613+ 2-5 minutes before the endpoint is ready after first [creating a new cluster](/api/v4/lke-clusters/#post).
6614+
6615+
6616+ **Beta**: This endpoint is in private beta. Please make sure to prepend all requests with
6617+ `/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
6618+ updates in the future. This notice will be removed when this endpoint is out of
6619+ beta. Sign up for the beta [here](https://welcome.linode.com/lkebeta/).
6620+ responses:
6621+ '200':
6622+ description: Returns the Kubernetes API server endpoints for this cluster.
6623+ content:
6624+ application/json:
6625+ schema:
6626+ type: object
6627+ properties:
6628+ data:
6629+ type: array
6630+ items:
6631+ type: object
6632+ description: >
6633+ The Kubernetes API server endpoints for this cluster.
6634+ properties:
6635+ endpoint:
6636+ type: string
6637+ readOnly: true
6638+ description: >
6639+ A Kubernetes API server endpoint for this cluster.
6640+ example: "https://192.0.2.1:6443"
6641+ page:
6642+ $ref: '#/components/schemas/PaginationEnvelope/properties/page'
6643+ pages:
6644+ $ref: '#/components/schemas/PaginationEnvelope/properties/pages'
6645+ results:
6646+ $ref: '#/components/schemas/PaginationEnvelope/properties/results'
6647+ default:
6648+ $ref: '#/components/responses/ErrorResponse'
6649+ x-code-samples:
6650+ - lang: Shell
6651+ source: >
6652+ curl -H "Authorization: Bearer $TOKEN" \
6653+ https://api.linode.com/v4beta/lke/clusters/12345/api-endpoints
6654+ - lang: CLI
6655+ source: >
6656+ linode-cli lke api-endpoint-list 12345
65906657 /lke/clusters/{clusterId}/api-endpoint:
65916658 parameters:
65926659 - name: clusterId
@@ -6613,6 +6680,10 @@ paths:
66136680 2-5 minutes before the endpoint is ready after first
66146681 [creating a new cluster](/api/v4/lke-clusters/#post).
66156682
6683+ **Note** This endpoint will be deprecated in favor of
6684+ [List Kubernetes API Endpoints](/api/v4/lke-clusters-cluster-id-api-endpoints).
6685+
6686+
66166687 **Beta**: This endpoint is in private beta. Please make sure to prepend all requests with
66176688 `/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
66186689 updates in the future. This notice will be removed when this endpoint is out of
0 commit comments