ves-io-schema-views-view_internal-CustomAPI-Get

Examples of performing viewsviewinternal CustomAPI Get

Usecase:

Perform Get on view_internal

Request:

Request using vesctl:

vesctl request rpc views_view_internal.CustomAPI.Get -i request.yaml --uri /public/namespaces/namespace-literal/view_internal/view_kind-literal/view_name-literal --http-method GET

where file request.yaml has following contents:

{}

vesctl yaml response:

{}

Request using curl:

curl -X 'GET' -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/config/namespaces/namespace-literal/view_internal/view_kind-literal/view_name-literal?namespace=&view_kind=&view_name='

curl response:

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

{
  "view_internal": null
}