ves-io-schema-pbac-addon_service-CustomAPI-GetActivationStatus

Examples of performing pbacaddonservice CustomAPI GetActivationStatus

Usecase:

Get addon service subscribe API access

Request:

Request using vesctl:

vesctl request rpc pbac_addon_service.CustomAPI.GetActivationStatus -i request.yaml --uri /public/namespaces/system/addon_services/addon-service-1/activation-status --http-method GET

where file request.yaml has following contents:

addonService: addon-service-1

vesctl yaml response:

{}

Request using curl:

curl -X 'GET' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build038462651_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/web/namespaces/system/addon_services/addon-service-1/activation-status?addon_service=addon-service-1'

curl response:

HTTP/1.1 200 OK
Content-Length: 24
Content-Type: application/json
Date: Wed, 12 Jan 2022 14:49:55 GMT
Vary: Accept-Encoding

{
  "state": "AS_NONE"
}