ves-io-schema-api_group_element-API-Get
On This Page:
Examples of getting api_group_element
Usecase:
Get api_group_element ves-io-public-advertise-policys-read-api from ves.io/shared
Request using vesctl:
vesctl configuration get api_group_element ves-io-public-advertise-policys-read-api --namespace ves-io-shared
vesctl yaml response:
deletedReferredObjects: []
disabledReferredObjects: []
metadata:
annotations: {}
labels: {}
name: ves-io-public-advertise-policys-read-api
namespace: shared
referringObjects: []
resourceVersion: "124"
spec:
methods:
- GET
pathRegex: ^/api/config/namespaces/([a-z]([-a-z0-9]*[a-z0-9])?)/advertise_policys\$
status: []
systemMetadata:
creationTimestamp: "2024-03-21T14:04:27.935757Z"
creatorClass: examplesvc
creatorId: examplesvc
finalizers: []
labels: {}
tenant: ves-io
uid: be9398b8-0d01-47c1-a246-2b1807869b87
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_group_elements/ves-io-public-advertise-policys-read-api?response_format=0'
curl response:
HTTP/1.1 200 OK
Content-Length: 916
Content-Type: application/json
Date: Thu, 21 Mar 2024 14:04:28 GMT
Vary: Accept-Encoding
{
"resource_version": "124",
"metadata": {
"name": "ves-io-public-advertise-policys-read-api",
"namespace": "shared",
"labels": {
},
"annotations": {
},
"description": "",
"disable": false
},
"system_metadata": {
"uid": "be9398b8-0d01-47c1-a246-2b1807869b87",
"creation_timestamp": "2024-03-21T14:04:27.935757Z",
"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": {
"methods": [
"GET"
],
"path_regex": "^/api/config/namespaces/([a-z]([-a-z0-9]*[a-z0-9])?)/advertise_policys\$"
},
"status": [
],
"referring_objects": [
],
"deleted_referred_objects": [
],
"disabled_referred_objects": [
]
}