Agent discovery
Thanh Tung Blog API
This page documents the small public/admin API surface used by the blog and its admin dashboard. Machine-readable API metadata is available at /openapi.json and /.well-known/api-catalog.
Comments
POST /api/comments accepts anonymous comments and stores them for owner moderation.
Admin
/api/admin/post/{slug}, /api/admin/media, and
/api/admin/upload are owner-only endpoints protected by a bearer token.
Markdown for Agents
Agents can request public pages with Accept: text/markdown to receive Markdown instead of HTML.