Docs / Latest edition of the day's stories
Latest edition of the day's stories
Today's edition: the latest stories, grouped by subject.
GET/v1/site/digest/{locale}
- Auth
- none
- Cache-Control
public, max-age=60, stale-while-revalidate=300, stale-if-error=600- Validators
ETag- Source of truth
clients/openapi.jsonanddocs/API.md§12
Today's edition: the latest stories, grouped by subject.
Description: clients/openapi.json
Parameters
| Name | In | Required | Type | Example | Notes |
|---|---|---|---|---|---|
locale | path | yes | string | en | A well-formed locale tag. Read the supported set from GET /v1/meta → locales. |
include | query | no | string | lead_image adds the first story's public image and credit |
Example request
curl -sS \
'https://vg.tempproject.online/v1/site/digest/en'import json
import os
import urllib.request
URL = "https://vg.tempproject.online/v1/site/digest/en"
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/digest/en",
{
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
{
"locale": "en",
"day": "2026-11-03",
"generated_at": "2026-11-03T18:07:00Z",
"headline": "Fed holds policy rate as core inflation cools to 2.4%",
"summary": "Officials left the target range unchanged ...",
"sections": [
{
"category": "central_banks",
"items": [
{
"id": "11111111-1111-5111-9111-111111111111",
"title": "Fed holds policy rate as core inflation cools to 2.4%",
"summary": "Officials left the target range unchanged ...",
"bullets": ["Bullet one", "Bullet two"],
"source": {"name": "Federal Reserve — Monetary Policy", "url": "https://...", "canonical_url": "https://...", "retrieved_at": "2026-11-03T18:03:00Z"},
"published_at": "2026-11-03T18:00:00Z",
"image_url": "/v1/images/img-b404bcc0af786cb0c2f3e40d1333436c",
"author": "By Ember",
"ai_generated": true,
"ai_label": "AI-generated content"
}
]
}
],
"disclaimer": "This content is provided for information purposes only. ...",
"counts": {"items": 2, "sections": 2, "by_category": {"central_banks": 1, "energy": 1}}
}Captured /v1/digest/{locale} envelope, docs/API.md §12 - the route answers the latest edition in exactly this shape (day is the edition's own date)
Failures
This operation can answer 200, 304, 400, 404, 422, 429, 503. The full envelope for each status, with its body, is on Errors.