ves-io-schema-app_type-API-List

Examples of listing app_type

Usecase:

List all app-types available

Request using vesctl:

vesctl configuration list app_type --namespace shared

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: amcecorp-app
  namespace: shared
  statusSet: []
  tenant: acmecorp
  uid: 2264c8cf-bc72-41d2-a7c1-414861871e41
- annotations: {}
  labels: {}
  name: bookinfo
  namespace: shared
  statusSet: []
  tenant: acmecorp
  uid: c7309f95-b943-4ace-b452-aa033c900777

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build970361017_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/shared/app_types'

curl response

HTTP/1.1 200 OK
Content-Length: 872
Content-Type: application/json
Date: Wed, 25 Aug 2021 09:02:41 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "shared",
      "name": "amcecorp-app",
      "uid": "2264c8cf-bc72-41d2-a7c1-414861871e41",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "shared",
      "name": "bookinfo",
      "uid": "c7309f95-b943-4ace-b452-aa033c900777",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}