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:
- annotations: {}
  labels: {}
  name: amcecorp-app
  namespace: shared
  statusSet: []
  tenant: acmecorp
  uid: a0f747d2-3cbd-4c2b-86df-132729006407
- annotations: {}
  labels: {}
  name: bookinfo
  namespace: shared
  statusSet: []
  tenant: acmecorp
  uid: 0a74862f-51e8-4ada-bd7f-e879725860e0

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

curl response

HTTP/1.1 200 OK
Content-Length: 853
Content-Type: application/json
Date: Wed, 31 Mar 2021 08:28:06 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "shared",
      "name": "amcecorp-app",
      "uid": "a0f747d2-3cbd-4c2b-86df-132729006407",
      "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": "0a74862f-51e8-4ada-bd7f-e879725860e0",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}