ves-io-schema-virtual_site-CustomAPI-GetSelectees

Examples of performing virtual_site CustomAPI GetSelectees

Usecase:

Perform GetSelectees on virtual_site

Request:

Request using vesctl:

vesctl request rpc virtual_site.CustomAPI.GetSelectees -i request.yaml --uri /public/namespaces/namespace-literal/virtual_sites/name-literal/selectees --http-method GET

where file request.yaml has following contents:

{}

vesctl yaml response:

items: []

Request using curl:

curl -X 'GET' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build672621555_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/namespace-literal/virtual_sites/name-literal/selectees?name=&namespace='

curl response:

HTTP/1.1 200 OK
Content-Length: 37
Content-Type: application/json
Date: Wed, 12 May 2021 11:19:20 GMT
Vary: Accept-Encoding

{
  "error": null,
  "items": [
  ]
}