ves-io-schema-contact-API-List

Examples of listing contact

Usecase:

List contact

Request using vesctl:

vesctl configuration list contact --namespace documentation

vesctl yaml response:

items:
- labels: {}
  name: contact-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 123ba3ae-b4ca-46fd-9286-70fecd9fddf8

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Length: 305
Content-Type: application/json
Date: Fri, 31 Jul 2020 12:54:05 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "contact-1",
      "uid": "123ba3ae-b4ca-46fd-9286-70fecd9fddf8",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}