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: 46af614c-1d84-4c10-a539-aab32feb1ac1
- annotations: {}
  labels: {}
  name: ves-io-proxy-write-apis
  namespace: shared
  statusSet: []
  tenant: ves-io
  uid: 416cb3db-baa5-466d-877c-5628c60bdc7e

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build970361017_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, 25 Aug 2021 09:02:35 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "ves-io",
      "namespace": "shared",
      "name": "ves-io-proxy-read-apis",
      "uid": "46af614c-1d84-4c10-a539-aab32feb1ac1",
      "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": "416cb3db-baa5-466d-877c-5628c60bdc7e",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}