ves-io-schema-authentication-API-List

Examples of listing authentication

Usecase:

List apigw_config

Request using vesctl:

vesctl configuration list authentication --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: apigw-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 800eda60-d4b4-40ca-b635-7197a950b395

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build381173587_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/authentications'

curl response

HTTP/1.1 200 OK
Content-Length: 459
Content-Type: application/json
Date: Wed, 14 Jul 2021 08:06:43 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "apigw-1",
      "uid": "800eda60-d4b4-40ca-b635-7197a950b395",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}