ves-io-schema-namespace_role-API-List

Examples of listing namespace_role

Usecase:

List namespace-role

Request using vesctl:

vesctl configuration list namespace_role --namespace documentation

vesctl yaml response:

items:
- labels: {}
  name: namespace-role-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 2b47a721-75a1-4116-b482-b02d8204a782

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build823219857_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/web/namespaces/documentation/namespace_roles'

curl response

HTTP/1.1 200 OK
Content-Length: 312
Content-Type: application/json
Date: Wed, 23 Sep 2020 09:53:36 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "namespace-role-1",
      "uid": "2b47a721-75a1-4116-b482-b02d8204a782",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}