​
Select Service
ves-io-schema-quota-API-Get
Published April 5, 2023 | Last modified June 26, 2025
Examples of getting quota
Usecase:
Get quota object
Request using vesctl:
vesctl configuration get quota custom-quota --namespace documentation
vesctl yaml response:
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build336959812_b001_apidocs.test/host=MTY6VVHQPH/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/web/namespaces/documentation/quotas/custom-quota?response_format=0'
Copied!
curl response:
HTTP/1.1 404 Not Found
Content-Length: 292
Content-Type: application/json
Date: Thu, 26 Jun 2025 23:55:40 GMT
Vary: Accept-Encoding
{"code":5,"details":[{"code":"UNKNOWN","details":"GetResource: ves.io.schema.quota.Object.default: Key acmecorp/documentation/custom-quota does not exist","timestamp":"2025-06-26T18:55:40-05:00"}],"message":"ves.io.schema.quota.Object: custom-quota does not exist in namespace documentation"}
Copied!