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:

metadata:
  annotations: {}
  labels: {}
  name: ves-io-proxy-read-apis
  namespace: shared
referringObjects: []
resourceVersion: "59"
spec:
  elements:
  - kind: api_group_element
    name: ves-io-public-advertise-policys-read-api
    namespace: shared
    tenant: ves-io
    uid: 3f14e6c2-3a9f-49ab-8746-02cc08542c6b
  - kind: api_group_element
    name: ves-io-public-virtual-host-read-api
    namespace: shared
    tenant: ves-io
    uid: 545ed2f6-4007-4864-8698-fbb701e1f908
status: []
systemMetadata:
  creationTimestamp: "2021-07-14T08:06:35.500580273Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: ves-io
  uid: 9ff1a67c-ab50-49b6-904a-dc3fa518c1af

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build381173587_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-Length: 1164
Content-Type: application/json
Date: Wed, 14 Jul 2021 08:06:35 GMT
Vary: Accept-Encoding

{
  "object": null,
  "resource_version": "59",
  "metadata": {
    "name": "ves-io-proxy-read-apis",
    "namespace": "shared",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "9ff1a67c-ab50-49b6-904a-dc3fa518c1af",
    "creation_timestamp": "2021-07-14T08:06:35.500580273Z",
    "deletion_timestamp": null,
    "modification_timestamp": null,
    "initializers": null,
    "finalizers": [
    ],
    "tenant": "ves-io",
    "creator_class": "examplesvc",
    "creator_id": "examplesvc",
    "object_index": 0,
    "owner_view": null
  },
  "spec": {
    "elements": [
      {
        "kind": "api_group_element",
        "uid": "3f14e6c2-3a9f-49ab-8746-02cc08542c6b",
        "tenant": "ves-io",
        "namespace": "shared",
        "name": "ves-io-public-advertise-policys-read-api"
      },
      {
        "kind": "api_group_element",
        "uid": "545ed2f6-4007-4864-8698-fbb701e1f908",
        "tenant": "ves-io",
        "namespace": "shared",
        "name": "ves-io-public-virtual-host-read-api"
      }
    ]
  },
  "status": [
  ],
  "referring_objects": [
  ]
}