Reference
API basics
Everything the console does goes through the same API you can call. It lives on its own host, https://api.cloudverg.com, which is not behind a CDN, so scripts and pipelines are never challenged.
Keys
An admin creates a key under Settings, API keys. A key belongs to one workspace and is either read only or read and write. It is shown once.
curl -s https://api.cloudverg.com/v1/workspace \
-H "Authorization: Bearer $VERG_API_KEY"Conventions
- JSON in and out. Times are ISO 8601 in UTC.
- Errors look like
{"error":{"code":"not_found","message":"..."}}with a matching HTTP status. - A read only key gets 403 on anything that changes state.
- Every change made with a key is written to the workspace audit log under the key's name.
- Limits: 120 requests a minute for each key. A 429 answer carries
Retry-After.