ves-io-schema-graph-connectivity-CustomAPI-Query

Examples of performing graph_connectivity CustomAPI Query

Usecase:

Perform Query on connectivity

Request:

Request using vesctl:

vesctl request rpc graph_connectivity.CustomAPI.Query -i request.yaml --uri /public/namespaces/namespace-literal/graph/connectivity --http-method POST

where file request.yaml has following contents:

{}

vesctl yaml response:

edges: []
nodes: []

Request using curl:

curl -X 'POST' -d '{}' -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/graph/connectivity'

curl response:

HTTP/1.1 200 OK
Content-Length: 38
Content-Type: application/json
Date: Wed, 12 May 2021 11:17:51 GMT
Vary: Accept-Encoding

{
  "nodes": [
  ],
  "edges": [
  ]
}