ves-io-schema-views-proxy-API-List

Examples of listing proxy

Usecase:

List Proxy

Request using vesctl:

vesctl configuration list proxy --namespace documentation

vesctl yaml response:

items:
- labels: {}
  name: dynamic-http-proxy
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 27127ae4-5c6d-42cf-8d6f-c24a27eaa2f1

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Length: 314
Content-Type: application/json
Date: Mon, 19 Oct 2020 09:49:32 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "dynamic-http-proxy",
      "uid": "27127ae4-5c6d-42cf-8d6f-c24a27eaa2f1",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}