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:

items:
- labels: {}
  name: amcecorp-app
  namespace: shared
  statusSet: []
  tenant: acmecorp
  uid: d2d21705-07b5-4b9b-a94e-07367f6b5b17
- labels: {}
  name: bookinfo
  namespace: shared
  statusSet: []
  tenant: acmecorp
  uid: 34beac2f-a516-4036-86b5-8982fd45e90d

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/config/namespaces/shared/app_types'

curl response

HTTP/1.1 200 OK
Content-Length: 579
Content-Type: application/json
Date: Thu, 02 Jul 2020 15:52:55 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "shared",
      "name": "amcecorp-app",
      "uid": "d2d21705-07b5-4b9b-a94e-07367f6b5b17",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "shared",
      "name": "bookinfo",
      "uid": "34beac2f-a516-4036-86b5-8982fd45e90d",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}