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-build1372770011_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: Thu, 28 Jul 2022 12:15:43 GMT
Vary: Accept-Encoding
{
"error": null,
"items": [
]
}