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:

errors: []
items:
- annotations: {}
  labels: {}
  name: ves-io-proxy-read-apis
  namespace: shared
  statusSet: []
  tenant: ves-io
  uid: 8ee00929-9af0-4cbc-8be4-85904628e892
- annotations: {}
  labels: {}
  name: ves-io-proxy-write-apis
  namespace: shared
  statusSet: []
  tenant: ves-io
  uid: 599d26a3-c7f9-4413-a2e5-25c109a4c639

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build672621555_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: 893
Content-Type: application/json
Date: Wed, 12 May 2021 11:17:27 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "ves-io",
      "namespace": "shared",
      "name": "ves-io-proxy-read-apis",
      "uid": "8ee00929-9af0-4cbc-8be4-85904628e892",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "ves-io",
      "namespace": "shared",
      "name": "ves-io-proxy-write-apis",
      "uid": "599d26a3-c7f9-4413-a2e5-25c109a4c639",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}