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: 108cfc5a-a915-4c28-9248-21f10021c991

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/web/namespaces/documentation/contacts'

curl response

HTTP/1.1 200 OK
Content-Length: 305
Content-Type: application/json
Date: Wed, 16 Sep 2020 10:50:07 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "contact-1",
      "uid": "108cfc5a-a915-4c28-9248-21f10021c991",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}