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:
- annotations: {}
  labels: {}
  name: category-sku-001
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 7f66cbaf-bade-4a2f-b8f3-722c940e3962

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build318584715_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: 449
Content-Type: application/json
Date: Wed, 31 Mar 2021 08:30:11 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "category-sku-001",
      "uid": "7f66cbaf-bade-4a2f-b8f3-722c940e3962",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}