ves-io-schema-api_group-API-Get

Examples of getting api_group

Usecase:

Get api_group ves-io-proxy-read-apis from ves.io/shared

Request using vesctl:

vesctl configuration get api_group ves-io-proxy-read-apis --namespace ves-io-shared

vesctl yaml response:

object:
  metadata:
    annotations: {}
    labels: {}
    name: ves-io-proxy-read-apis
    namespace: shared
    uid: ab20f2db-5047-4bea-8f87-5e4b0a73309a
  spec:
    gcSpec:
      elements:
      - kind: api_group_element
        name: ves-io-public-advertise-policys-read-api
        namespace: shared
        tenant: ves-io
        uid: 6f243aef-262c-4d5d-a39b-464c81b4e45c
      - kind: api_group_element
        name: ves-io-public-virtual-host-read-api
        namespace: shared
        tenant: ves-io
        uid: 4775d812-9469-41b3-bc2f-6244f6cf500d
  systemMetadata:
    creationTimestamp: "2020-05-15T10:52:28.514586091Z"
    creatorClass: examplesvc.ves.io
    finalizers: []
    namespace:
    - kind: namespace
      name: shared
      tenant: ves-io
    tenant: ves-io
    traceInfo: 112c58c9e6a224ec:58a64e8c827eabab:112c58c9e6a224ec:1
    uid: ab20f2db-5047-4bea-8f87-5e4b0a73309a
resourceVersion: "23"
status: []

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build144460626_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/web/namespaces/ves-io-shared/api_groups/ves-io-proxy-read-apis?response_format=0'

curl response:

HTTP/1.1 200 OK
Content-Type: application/json
Date: Fri, 15 May 2020 10:52:28 GMT
Vary: Accept-Encoding

{
  "object": {
    "metadata": {
      "name": "ves-io-proxy-read-apis",
      "namespace": "shared",
      "uid": "ab20f2db-5047-4bea-8f87-5e4b0a73309a",
      "labels": {
      },
      "annotations": {
      },
      "description": "",
      "disable": false
    },
    "system_metadata": {
      "uid": "ab20f2db-5047-4bea-8f87-5e4b0a73309a",
      "creation_timestamp": "2020-05-15T10:52:28.514586091Z",
      "deletion_timestamp": null,
      "modification_timestamp": null,
      "initializers": null,
      "finalizers": [
      ],
      "tenant": "ves-io",
      "creator_class": "examplesvc.ves.io",
      "creator_id": "",
      "creator_cookie": "",
      "trace_info": "112c58c9e6a224ec:58a64e8c827eabab:112c58c9e6a224ec:1",
      "object_index": 0,
      "namespace": [
        {
          "kind": "namespace",
          "uid": "",
          "tenant": "ves-io",
          "namespace": "",
          "name": "shared"
        }
      ],
      "owner_view": null
    },
    "spec": {
      "gc_spec": {
        "elements": [
          {
            "kind": "api_group_element",
            "uid": "6f243aef-262c-4d5d-a39b-464c81b4e45c",
            "tenant": "ves-io",
            "namespace": "shared",
            "name": "ves-io-public-advertise-policys-read-api"
          },
          {
            "kind": "api_group_element",
            "uid": "4775d812-9469-41b3-bc2f-6244f6cf500d",
            "tenant": "ves-io",
            "namespace": "shared",
            "name": "ves-io-public-virtual-host-read-api"
          }
        ]
      }
    }
  },
  "resource_version": "23",
  "metadata": null,
  "system_metadata": null,
  "spec": null,
  "status": [
  ]
}