ves-io-schema-shape-device_id-CustomAPI-GetDashboardBySession

Examples of performing shapedeviceid CustomAPI GetDashboardBySession

Usecase:

Perform GetDashboardBySession on device_id

Request:

Request using vesctl:

vesctl request rpc shape_device_id.CustomAPI.GetDashboardBySession -i request.yaml --uri /public/namespaces/system/dashboard/session --http-method POST

where file request.yaml has following contents:

{}

vesctl yaml response:

{}

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/device_id/namespaces/system/dashboard/session'

curl response:

HTTP/1.1 200 OK
Content-Length: 35
Content-Type: application/json
Date: Wed, 12 May 2021 11:18:44 GMT
Vary: Accept-Encoding

{
  "status": "0",
  "body": null
}