ves-io-schema-namespace-CustomAPI-EvaluateAPIAccess

Examples of performing namespace CustomAPI EvaluateAPIAccess

Usecase:

Perform EvaluateAPIAccess on namespace

Request:

Request using vesctl:

vesctl request rpc namespace.CustomAPI.EvaluateAPIAccess -i request.yaml --uri /public/namespaces/system/evaluate-api-access --http-method POST

where file request.yaml has following contents:

{}

vesctl yaml response:

itemLists: []

Request using curl:

curl -X 'POST' -d '{}' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build970361017_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/web/namespaces/system/evaluate-api-access'

curl response:

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

{
  "item_lists": [
  ]
}