ves-io-schema-alert_receiver-API-List

Examples of listing alert_receiver

Usecase:

List alert_receivers

Request using vesctl:

vesctl configuration list alert_receiver --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: receiver1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: eedcfa3f-a78c-4701-9ed8-47a40f69716d

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Length: 461
Content-Type: application/json
Date: Wed, 25 Aug 2021 09:02:30 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "receiver1",
      "uid": "eedcfa3f-a78c-4701-9ed8-47a40f69716d",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}