ves-io-schema-api_group-API-List

Examples of listing api_group

Usecase:

List api_groups from ves.io/shared

Request using vesctl:

vesctl configuration list api_group --namespace ves-io-shared

vesctl yaml response:

items:
- labels: {}
  name: ves-io-proxy-read-apis
  namespace: shared
  statusSet: []
  tenant: ves-io
  uid: 7527c33e-b05f-4771-84eb-25ae38cf12e5
- labels: {}
  name: ves-io-proxy-write-apis
  namespace: shared
  statusSet: []
  tenant: ves-io
  uid: 47677dce-d218-4a87-b907-5527a7142154

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build144460626_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/web/namespaces/ves-io-shared/api_groups'

curl response

HTTP/1.1 200 OK
Content-Length: 600
Content-Type: application/json
Date: Fri, 15 May 2020 10:52:28 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "ves-io",
      "namespace": "shared",
      "name": "ves-io-proxy-read-apis",
      "uid": "7527c33e-b05f-4771-84eb-25ae38cf12e5",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "ves-io",
      "namespace": "shared",
      "name": "ves-io-proxy-write-apis",
      "uid": "47677dce-d218-4a87-b907-5527a7142154",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}