ves-io-schema-views-origin_pool-API-List

Examples of listing origin_pool

Usecase:

List origin-pool

Request using vesctl:

vesctl configuration list origin_pool --namespace documentation

vesctl yaml response:

items:
- labels:
    ves.io/app_type: bookinfo
  name: productpage
  namespace: documentation
  tenant: acmecorp
  uid: b4e997be-5835-4a8b-8a99-e0d0e6b48516

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build823219857_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/origin_pools'

curl response

HTTP/1.1 200 OK
Content-Length: 314
Content-Type: application/json
Date: Wed, 23 Sep 2020 09:54:14 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "productpage",
      "uid": "b4e997be-5835-4a8b-8a99-e0d0e6b48516",
      "labels": {
        "ves.io/app_type": "bookinfo"
      },
      "owner_view": null,
      "object": null,
      "get_spec": null
    }
  ]
}