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: f7b4eae0-a98b-4d6f-a9a8-b15f8eccb472
- annotations: {}
  labels: {}
  name: healthcheck-productpage
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: a2dc0b6f-77fc-4e32-a6b6-3a75df68a705
- annotations: {}
  labels: {}
  name: healthcheck-ratings
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 835a1315-16c6-4fda-a787-e2964083e4d9
- annotations: {}
  labels: {}
  name: healthcheck-reviews
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: a9f557c2-48ae-4946-a5a8-b17cd8440709

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build186462253_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, 02 Jun 2021 10:21:18 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "healthcheck-details",
      "uid": "f7b4eae0-a98b-4d6f-a9a8-b15f8eccb472",
      "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": "a2dc0b6f-77fc-4e32-a6b6-3a75df68a705",
      "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": "835a1315-16c6-4fda-a787-e2964083e4d9",
      "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": "a9f557c2-48ae-4946-a5a8-b17cd8440709",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}