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: 22114c01-52e9-48ff-b601-ccb6335f2f64
- annotations: {}
  labels: {}
  name: ves-io-public-virtual-hosts-read-api
  namespace: shared
  statusSet: []
  tenant: ves-io
  uid: e31bb610-4112-4ce7-a3a2-0894683589ec

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

curl response

HTTP/1.1 200 OK
Content-Length: 924
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-public-advertise-policys-read-api",
      "uid": "22114c01-52e9-48ff-b601-ccb6335f2f64",
      "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": "e31bb610-4112-4ce7-a3a2-0894683589ec",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}