ves-io-schema-virtual_site-API-List

Examples of listing virtual_site

Usecase:

List virtual-site

Request using vesctl:

vesctl configuration list virtual_site --namespace documentation

vesctl yaml response:

items:
- labels: {}
  name: virtual-site-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: d680eb4e-7839-4a6a-bbaf-b401a0a73576

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/virtual_sites'

curl response

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

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "virtual-site-1",
      "uid": "d680eb4e-7839-4a6a-bbaf-b401a0a73576",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}