ves-io-schema-api_group_element-API-List

Examples of listing apigroupelement

Usecase:

List apigroupelements from ves.io/shared

Request using vesctl:

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

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: ves-io-public-advertise-policys-read-api
  namespace: shared
  statusSet: []
  tenant: ves-io
  uid: 4af0ab97-d7ff-4bed-8bcd-a8fafbb41e96
- annotations: {}
  labels: {}
  name: ves-io-public-virtual-hosts-read-api
  namespace: shared
  statusSet: []
  tenant: ves-io
  uid: 3d076925-31cc-4d9c-a45f-41f0f285226b

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_group_elements'

curl response

HTTP/1.1 200 OK
Content-Length: 924
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-public-advertise-policys-read-api",
      "uid": "4af0ab97-d7ff-4bed-8bcd-a8fafbb41e96",
      "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-public-virtual-hosts-read-api",
      "uid": "3d076925-31cc-4d9c-a45f-41f0f285226b",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}