Cabinhub News API v1.0.0

Docs / One edition by UTC date

One edition by UTC date

One UTC day's edition, grouped by subject.

GET/v1/site/digest/{locale}/{day}
Auth
none
Cache-Control
public, max-age=60, stale-while-revalidate=300, stale-if-error=600
Validators
ETag
Source of truth
clients/openapi.json and docs/API.md §12

One UTC day's edition, grouped by subject.

Description: clients/openapi.json

Parameters

NameInRequiredTypeExampleNotes
localepathyesstringenA well-formed locale tag. Read the supported set from GET /v1/meta → locales.
daypathyesstring2026-11-03UTC date, YYYY-MM-DD.

Example request

curl
Shell
curl -sS \
  'https://vg.tempproject.online/v1/site/digest/en/2026-11-03'
Python, standard library only
Python
import json
import os
import urllib.request

URL = "https://vg.tempproject.online/v1/site/digest/en/2026-11-03"


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])
TypeScript, Node 18+, no dependencies
TypeScript
const res = await fetch(
  "https://vg.tempproject.online/v1/site/digest/en/2026-11-03",
  {
    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

Response body
HTTP
cache-control: public, max-age=60, stale-while-revalidate=300, stale-if-error=600
# validators: ETag
content-type: application/octet-stream

No JSON body on this route; the headers are the ones docs/API.md §2 documents for it

Failures

This operation can answer 200, 304, 400, 404, 422, 429, 503. The full envelope for each status, with its body, is on Errors.