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:
metadata:
annotations: {}
labels: {}
name: ves-io-public-advertise-policys-read-api
namespace: shared
referringObjects: []
resourceVersion: "174"
spec:
methods:
- GET
pathRegex: ^/api/config/namespaces/([a-z]([-a-z0-9]*[a-z0-9])?)/advertise_policys$
status: []
systemMetadata:
creationTimestamp: "2022-07-28T12:09:29.510483182Z"
creatorClass: examplesvc
creatorId: examplesvc
finalizers: []
labels: {}
tenant: ves-io
uid: ae0b08c9-6225-49bb-9a83-dd0508d695b4
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build1372770011_b001_apidocs.test/host=docker-desktop' '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: 862
Content-Type: application/json
Date: Thu, 28 Jul 2022 12:09:29 GMT
Vary: Accept-Encoding
X-Volterra-Response-Fields-Deprecated: object
{
"object": null,
"resource_version": "174",
"metadata": {
"name": "ves-io-public-advertise-policys-read-api",
"namespace": "shared",
"labels": {
},
"annotations": {
},
"description": "",
"disable": false
},
"system_metadata": {
"uid": "ae0b08c9-6225-49bb-9a83-dd0508d695b4",
"creation_timestamp": "2022-07-28T12:09:29.510483182Z",
"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": [
]
}