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:

          deletedReferredObjects: []
disabledReferredObjects: []
metadata:
  annotations: {}
  labels: {}
  name: ves-io-proxy-read-apis
  namespace: shared
referringObjects: []
resourceVersion: "117"
spec:
  elementSpecs: []
  elements:
  - kind: api_group_element
    name: ves-io-public-advertise-policys-read-api
    namespace: shared
    tenant: ves-io
    uid: 3bbad196-a796-49f1-9548-e1d581f544b5
  - kind: api_group_element
    name: ves-io-public-virtual-host-read-api
    namespace: shared
    tenant: ves-io
    uid: ec19724f-fb0c-4c34-80ba-7ceded174f89
status: []
systemMetadata:
  creationTimestamp: "2024-03-21T14:04:27.354060Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  labels: {}
  tenant: ves-io
  uid: a55b0038-ed15-448d-9e44-daf3a274c401

        

Request using curl:

          curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_2__8qnt6fwd5dvglr1xqq6l8b7w0000gp_T_go-build3109416560_b001_apidocs.test/host=C02FN35BMD6R/svc=S:examplesvc/site=mytestce01' '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: 1272
Content-Type: application/json
Date: Thu, 21 Mar 2024 14:04:27 GMT
Vary: Accept-Encoding

{
  "resource_version": "117",
  "metadata": {
    "name": "ves-io-proxy-read-apis",
    "namespace": "shared",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "a55b0038-ed15-448d-9e44-daf3a274c401",
    "creation_timestamp": "2024-03-21T14:04:27.354060Z",
    "deletion_timestamp": null,
    "modification_timestamp": null,
    "initializers": null,
    "finalizers": [
    ],
    "tenant": "ves-io",
    "creator_class": "examplesvc",
    "creator_id": "examplesvc",
    "object_index": 0,
    "owner_view": null,
    "labels": {
    }
  },
  "spec": {
    "elements": [
      {
        "kind": "api_group_element",
        "uid": "3bbad196-a796-49f1-9548-e1d581f544b5",
        "tenant": "ves-io",
        "namespace": "shared",
        "name": "ves-io-public-advertise-policys-read-api"
      },
      {
        "kind": "api_group_element",
        "uid": "ec19724f-fb0c-4c34-80ba-7ceded174f89",
        "tenant": "ves-io",
        "namespace": "shared",
        "name": "ves-io-public-virtual-host-read-api"
      }
    ],
    "element_specs": [
    ]
  },
  "status": [
  ],
  "referring_objects": [
  ],
  "deleted_referred_objects": [
  ],
  "disabled_referred_objects": [
  ]
}