​
Select Service
ves-io-schema-registration-CustomAPI-ListRegistrationsBySite
Published April 5, 2023 | Last modified October 28, 2026
Examples of performing registration CustomAPI ListRegistrationsBySite
Usecase:
Perform ListRegistrationsBySite on registration
Request:
Request using vesctl:
vesctl request rpc registration.CustomAPI.ListRegistrationsBySite -i request.yaml --uri /public/namespaces/namespace-literal/registrations_by_site/site_name-literal --http-method GET
where file request.yaml has following contents:
{}vesctl yaml response:
errors: []items:- annotations: {} labels: abc: def name: reg-e965c74a-7686-4cdb-af00-3669097e256a namespace: system tenant: customer1 uid: e965c74a-7686-4cdb-af00-3669097e256aRequest using curl:
curl -X 'GET' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build3348201650_b001_apidocs.test/host=MTY6VVHQPH/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/register/namespaces/namespace-literal/registrations_by_site/site_name-literal?namespace=&site_name='curl response:
HTTP/1.1 200 OKContent-Length: 476Content-Type: application/jsonDate: Mon, 28 Sep 2026 04:26:41 GMTVary: Accept-Encoding
{ "items": [ { "tenant": "customer1", "namespace": "system", "name": "reg-e965c74a-7686-4cdb-af00-3669097e256a", "uid": "e965c74a-7686-4cdb-af00-3669097e256a", "description": "", "disabled": false, "labels": { "abc": "def" }, "annotations": { }, "owner_view": null, "metadata": null, "system_metadata": null, "object": null, "get_spec": null } ], "errors": [ ]}