ves-io-schema-tpm_category-API-List

Examples of listing tpm_category

Usecase:

List tpm category

Request using vesctl:

vesctl configuration list tpm_category --namespace documentation

vesctl yaml response:

items:
- labels: {}
  name: category-sku-001
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 72879b3e-d618-4b4d-bff5-1d598d14793e

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Length: 312
Content-Type: application/json
Date: Thu, 02 Jul 2020 15:53:36 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "category-sku-001",
      "uid": "72879b3e-d618-4b4d-bff5-1d598d14793e",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}