← Todas as ideias

Docs: Add a Markdown endpoint to read and write a page body in the public API

NovaDocsIdeia

Notion's API returns and accepts page content as Markdown through GET /pages/{id}/markdown (https://matthiasfrank.de/en/notion-updates/api-markdown-and-transcript-support/). Docs has export to Markdown in the UI (lib/docs-markdown.ts) and a public API (lib/docs-v1.ts), but scripts and AI tools must handle the block JSON. First scope: GET and PUT /api/v1/docs/pages/{id}/markdown behind docs:read and docs:write, reusing the existing exporter and the paste-Markdown parser.

Comentários 0

Ainda sem comentários.