ves-io-schema-healthcheck-API-List

Examples of listing healthcheck

Usecase:

List all healthcheck objects

Request using vesctl:

vesctl configuration list healthcheck --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: healthcheck-details
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 1b899c04-ceb0-47fc-b220-23465d90900e
- annotations: {}
  labels: {}
  name: healthcheck-productpage
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: b8c6aaf3-67a0-4a4d-a4d5-d67d05c49c8e
- annotations: {}
  labels: {}
  name: healthcheck-ratings
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 6eddcab6-76ef-493e-91c8-e7434fbd7b6f
- annotations: {}
  labels: {}
  name: healthcheck-reviews
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: d4b9cc65-fd4d-49e5-b89a-a5c38574dbf9

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Wed, 12 Jan 2022 14:48:43 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "healthcheck-details",
      "uid": "1b899c04-ceb0-47fc-b220-23465d90900e",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "healthcheck-productpage",
      "uid": "b8c6aaf3-67a0-4a4d-a4d5-d67d05c49c8e",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "healthcheck-ratings",
      "uid": "6eddcab6-76ef-493e-91c8-e7434fbd7b6f",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "healthcheck-reviews",
      "uid": "d4b9cc65-fd4d-49e5-b89a-a5c38574dbf9",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}