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:

items:
- annotations: {}
  labels: {}
  name: ves-io-public-advertise-policys-read-api
  namespace: shared
  statusSet: []
  tenant: ves-io
  uid: 24cb9f22-0581-4d17-bc8c-562cad21c8f9
- annotations: {}
  labels: {}
  name: ves-io-public-virtual-hosts-read-api
  namespace: shared
  statusSet: []
  tenant: ves-io
  uid: 73d58420-d0f5-48b2-b6c5-c3349f853068

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build817539475_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: 905
Content-Type: application/json
Date: Mon, 22 Feb 2021 15:43:27 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "ves-io",
      "namespace": "shared",
      "name": "ves-io-public-advertise-policys-read-api",
      "uid": "24cb9f22-0581-4d17-bc8c-562cad21c8f9",
      "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": "73d58420-d0f5-48b2-b6c5-c3349f853068",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}