ves-io-schema-app_type-CustomAPI-GetServiceAPIEndpointPDF

Examples of performing app_type CustomAPI GetServiceAPIEndpointPDF

Usecase:

Get Service API EP PDF

Request:

Request using vesctl:

vesctl request rpc app_type.CustomAPI.GetServiceAPIEndpointPDF -i request.yaml --uri /public/namespaces/{namespace}/app_types/{app_type_name}/services/{service_name}/api_endpoint/pdf --http-method POST

where file request.yaml has following contents:

appTypeName: juiceshop
collapsedUrl: /home
method: GET
namespace: system
serviceName: juiceshop

vesctl yaml response:

{}

Request using curl:

curl -X 'POST' -d '{"appTypeName":"juiceshop","namespace":"system","serviceName":"juiceshop","collapsedUrl":"/home","method":"GET"}' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build185306297_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/