Get published approved copy by slug
Changed onPublished, Legal-approved client copy (#998), unauthenticated. data is { slug, version, updatedAt, blocks: { title, body, bullets } }. version is a publish counter for the served snapshot, not comparable across locale deletion/recreation or English fallback. updatedAt is the last publish instant; use locale-keyed ETags for revalidation. Responds 304 with no body when If-None-Match matches the served ETag (weak, over the whole envelope). Cache-Control: public, s-maxage=300, stale-while-revalidate=3600 — copy changes rarely. 404 for an unknown or never-published slug (a draft is never served); 400 for a slug that is not lowercase words separated by hyphens. First slug: rep-explainer — seeded as an unpublished draft, so it 404s until Legal publishes real wording; clients keep their bundled copy in that window. On a 304 the cached server copy is still current and should be kept; the bundle is only for when no usable cached copy exists. Authored locales (#1044): Accept-Language resolves en/fr-CH/it-IT. Only reviewed published JSON snapshots are served, otherwise English; never machine translation. Every 200/304 sets Vary: Accept-Language and actual Content-Language (en on fallback/empty; en, <requested> on mixed changelog feeds). English bytes/ETags stay legacy; non-English ETags include negotiated locale even on fallback. Cache by negotiated locale. ApprovedCopy version is locale-owned, changelog app version remains base-owned; variant updatedAt is its publish time. Locale deletion/recreation resets its publish counter. Missing new locale table during rollout falls back; unrelated failures return 500.
Request
- Base URLhttps://app.d-sports.org
- Authnone required
Path parameters
Content slug, e.g. rep-explainer.
Headers
Shared language negotiation; missing/unsupported headers resolve to en.
Validator for this negotiated locale. Wildcard matches any current representation.
Response
{ success, data: { slug, version, updatedAt, blocks } }
Changes
- info
endpoint added
- info