ves-io-schema-api_group_element-API-List

Examples of listing api_group_element

Usecase:

List api_group_elements 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: fd741f9f-38e0-4791-9fba-74b4a41dd132
- annotations: {}
  labels: {}
  name: ves-io-public-virtual-hosts-read-api
  namespace: shared
  statusSet: []
  tenant: ves-io
  uid: b7cdbdc2-e4d3-49e6-b49f-a6befb1d4df8

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build243329498_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: Fri, 23 Sep 2022 13:11:22 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "ves-io",
      "namespace": "shared",
      "name": "ves-io-public-advertise-policys-read-api",
      "uid": "fd741f9f-38e0-4791-9fba-74b4a41dd132",
      "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": "b7cdbdc2-e4d3-49e6-b49f-a6befb1d4df8",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}