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:

errors: []
items:
- annotations: {}
  labels: {}
  name: contact-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 24133f79-bd46-4f47-9a37-f95abf315938

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build511723821_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: 461
Content-Type: application/json
Date: Wed, 27 Oct 2021 18:29:10 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "contact-1",
      "uid": "24133f79-bd46-4f47-9a37-f95abf315938",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}