v1.APIVersions

Description

APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.

Object Schema

Expand or mouse-over a field for more information about it.

  1. apiVersion:
  2. kind:
  3. serverAddressByClientCIDRs:
  4. - clientCIDR:
  5. serverAddress:
  6. versions:
  7. - [string]:

Operations

Get all APIVersions

Get available API versions

HTTP request

  1. GET /api/ HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close

Curl request

  1. $ curl -k \
  2. -H "Authorization: Bearer $TOKEN" \
  3. -H 'Accept: application/json' \
  4. https://$ENDPOINT/api/

Responses

HTTP CodeSchema

200 OK

v1.APIVersions

401 Unauthorized

Consumes

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Get all APIVersions

Get available API versions

HTTP request

  1. GET /oapi/ HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close

Curl request

  1. $ curl -k \
  2. -H "Authorization: Bearer $TOKEN" \
  3. -H 'Accept: application/json' \
  4. https://$ENDPOINT/oapi/

Responses

HTTP CodeSchema

200 OK

v1.APIVersions

401 Unauthorized

Consumes

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf