ves-io-schema-views-rate_limiter_policy-API-List

Examples of listing ratelimiterpolicy

Usecase:

List rate-limiter-policy

Request using vesctl:

vesctl configuration list rate_limiter_policy --namespace documentation

vesctl yaml response:

items:
- annotations: {}
  labels: {}
  name: rate-limiter-policy-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 38d3c895-1dbf-4de3-ab51-d33365536d9f

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Length: 454
Content-Type: application/json
Date: Mon, 22 Feb 2021 15:45:11 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "rate-limiter-policy-1",
      "uid": "38d3c895-1dbf-4de3-ab51-d33365536d9f",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}