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:

items:
- labels: {}
  name: healthcheck-details
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 83fb6e50-2410-467e-a947-221310fa16e4
- labels: {}
  name: healthcheck-productpage
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: a6c4bac1-85e4-458e-92e9-881c9770fba4
- labels: {}
  name: healthcheck-ratings
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: c9bfbb99-f9c8-4628-8138-033afbb127e7
- labels: {}
  name: healthcheck-reviews
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 50fd17f3-7908-4d89-9777-1e425126e5f3

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build013258245_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-Length: 1207
Content-Type: application/json
Date: Wed, 16 Sep 2020 10:50:17 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "healthcheck-details",
      "uid": "83fb6e50-2410-467e-a947-221310fa16e4",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "healthcheck-productpage",
      "uid": "a6c4bac1-85e4-458e-92e9-881c9770fba4",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "healthcheck-ratings",
      "uid": "c9bfbb99-f9c8-4628-8138-033afbb127e7",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "healthcheck-reviews",
      "uid": "50fd17f3-7908-4d89-9777-1e425126e5f3",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}