ves-io-schema-shape-safe-CustomAPI-GetSafeTransactionDetails

Examples of performing shape_safe CustomAPI SAFE

Usecase:

SAFE

Request:

Request using vesctl:

vesctl request rpc shape_safe.CustomAPI.SAFE -i request.yaml --uri /public/namespaces/system/safe/sas/transaction_details --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-build511723821_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/safe/namespaces/system/safe/sas/transaction_details?transaction_id='

curl response:

HTTP/1.1 200 OK
Content-Length: 18
Content-Type: application/json
Date: Wed, 27 Oct 2021 18:30:17 GMT
Vary: Accept-Encoding

{
  "body": null
}