Docs / Meta
Meta
Meta
GET/v1/site/meta
- Auth
- none
- Cache-Control
public, max-age=3600, stale-while-revalidate=300, stale-if-error=3600- Validators
ETag- Source of truth
clients/openapi.jsonanddocs/API.md§12
The public contract description: schema, locales, categories, limits.
Description: clients/openapi.json
Parameters
None. This route takes no path or query parameters.
Example request
curl -sS \
'https://vg.tempproject.online/v1/site/meta'import json
import os
import urllib.request
URL = "https://vg.tempproject.online/v1/site/meta"
def call() -> dict:
req = urllib.request.Request(URL, headers={})
with urllib.request.urlopen(req, timeout=15) as res:
print(res.status, res.headers.get("ETag"))
return json.loads(res.read().decode("utf-8"))
if __name__ == "__main__":
body = call()
print(json.dumps(body, indent=2, ensure_ascii=False)[:2000])const res = await fetch(
"https://vg.tempproject.online/v1/site/meta",
{
method: "GET",
headers: {},
},
);
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(res.headers.get("etag"), await res.json());The requests are generated from the path template and the parameters in clients/openapi.json, so a new parameter appears here without an edit to this site.
Example response
{"schema_version":1,"api_version":"1.0.0","locales":["en","zh-Hans"],"categories":["markets","macro","commodities","fx","crypto","central_banks","corporate","energy","technology"],"policy_version":"2026-11-12.1","default_locale":"en","limits":{"max_page_size":200}}Same body as GET /v1/meta (docs/API.md §14: byte-for-byte), Response example in docs/API.md §12 (GET /v1/meta)
Failures
This operation can answer 200, 304, 400, 429, 503. The full envelope for each status, with its body, is on Errors.