ves-io-schema-app_type-CustomAPI-APIEndpointPDF

Examples of performing app_type CustomAPI APIEndpointPDF

Usecase:

Perform APIEndpointPDF on app_type

Request:

Request using vesctl:

vesctl request rpc app_type.CustomAPI.APIEndpointPDF -i request.yaml --uri /public/namespaces/namespace-literal/app_types/app_type_name-literal/api_endpoint/pdf --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/app_types/app_type_name-literal/api_endpoint/pdf?app_type_name=&collapsed_url=&method=&namespace='

curl response:

HTTP/1.1 200 OK
Content-Length: 22
Content-Type: application/json
Date: Wed, 25 Aug 2021 09:02:41 GMT
Vary: Accept-Encoding

{
  "pdf_info": null
}