ves-io-schema-views-voltstack_site-API-List

Examples of listing voltstack_site

Usecase:

List voltstack sites in system namespace

Request using vesctl:

vesctl configuration list voltstack_site --namespace system

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: cluster-1
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 2be8dbc6-05dd-4585-8f56-4b74c665e52b

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Length: 454
Content-Type: application/json
Date: Mon, 06 Jun 2022 10:20:14 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "cluster-1",
      "uid": "2be8dbc6-05dd-4585-8f56-4b74c665e52b",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}