ves-io-schema-endpoint-API-List
On This Page:
Examples of listing endpoint
Usecase:
List all endpoints in the current namespace
Request using vesctl:
vesctl configuration list endpoint --namespace documentation
vesctl yaml response:
errors: []
items:
- annotations: {}
labels: {}
name: details-endpoint
namespace: documentation
statusSet: []
tenant: acmecorp
uid: 7916196c-3089-4632-8205-ee5ed10f6093
- annotations: {}
labels: {}
name: productpage-endpoint
namespace: documentation
statusSet: []
tenant: acmecorp
uid: e25fe3b8-6e2a-4eea-ac05-8655adcfe181
- annotations: {}
labels: {}
name: ratings-endpoint
namespace: documentation
statusSet: []
tenant: acmecorp
uid: ad296875-6237-4af4-8a99-a6292602ea73
- annotations: {}
labels: {}
name: reviews-endpoint
namespace: documentation
statusSet: []
tenant: acmecorp
uid: 1e2c5559-36b3-4484-b557-6096d83ccaca
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/config/namespaces/documentation/endpoints'
curl response
HTTP/1.1 200 OK
Content-Type: application/json
Date: Thu, 21 Mar 2024 14:05:17 GMT
Vary: Accept-Encoding
{
"items": [
{
"tenant": "acmecorp",
"namespace": "documentation",
"name": "details-endpoint",
"uid": "7916196c-3089-4632-8205-ee5ed10f6093",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"get_spec": null,
"status_set": [
]
},
{
"tenant": "acmecorp",
"namespace": "documentation",
"name": "productpage-endpoint",
"uid": "e25fe3b8-6e2a-4eea-ac05-8655adcfe181",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"get_spec": null,
"status_set": [
]
},
{
"tenant": "acmecorp",
"namespace": "documentation",
"name": "ratings-endpoint",
"uid": "ad296875-6237-4af4-8a99-a6292602ea73",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"get_spec": null,
"status_set": [
]
},
{
"tenant": "acmecorp",
"namespace": "documentation",
"name": "reviews-endpoint",
"uid": "1e2c5559-36b3-4484-b557-6096d83ccaca",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"get_spec": null,
"status_set": [
]
}
],
"errors": [
]
}