ves-io-schema-status_at_site-CustomAPI-GetStatus

Examples of performing statusatsite CustomAPI GetStatus

Usecase:

Perform GetStatus on statusatsite

Request:

Request using vesctl:

vesctl request rpc status_at_site.CustomAPI.GetStatus -i request.yaml --uri /public/namespaces/namespace-literal/kind-literal/name-literal/status_at_site --http-method GET

where file request.yaml has following contents:

{}

vesctl yaml response:

conditions: []

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/data/namespaces/namespace-literal/kind-literal/name-literal/status_at_site?kind=&name=&namespace=&site=&site_type=INVALID'

curl response:

HTTP/1.1 200 OK
Content-Length: 42
Content-Type: application/json
Date: Wed, 12 May 2021 11:18:53 GMT
Vary: Accept-Encoding

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