(api) add API route to fetch document content

This allows API users to process document content, enabling the
use of Docs as a headless CMS for instance, or any kind of document
processing. Fixes #1206.
This commit is contained in:
Sylvain Zimmer
2025-07-24 02:31:50 +02:00
committed by Manuel Raynaud
parent 0ac9f059b6
commit 8a8a1460e5
19 changed files with 687 additions and 74 deletions

View File

@@ -783,6 +783,7 @@ class Document(MP_Node, BaseModel):
"children_list": can_get,
"children_create": can_create_children,
"collaboration_auth": can_get,
"content": can_get,
"cors_proxy": can_get,
"descendants": can_get,
"destroy": can_destroy,