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:
- labels: {}
  name: ves-io-public-advertise-policys-read-api
  namespace: shared
  statusSet: []
  tenant: ves-io
  uid: 3e473005-50d1-4749-857f-ae50185c7ffd
- labels: {}
  name: ves-io-public-virtual-hosts-read-api
  namespace: shared
  statusSet: []
  tenant: ves-io
  uid: 26c7b537-79f9-4adc-a0c9-6fae7f39133f

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build144460626_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: 631
Content-Type: application/json
Date: Fri, 15 May 2020 10:52:28 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "ves-io",
      "namespace": "shared",
      "name": "ves-io-public-advertise-policys-read-api",
      "uid": "3e473005-50d1-4749-857f-ae50185c7ffd",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "ves-io",
      "namespace": "shared",
      "name": "ves-io-public-virtual-hosts-read-api",
      "uid": "26c7b537-79f9-4adc-a0c9-6fae7f39133f",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}