For AI agents: fetch the complete documentation index at /llms.txt, the full documentation corpus at /llms-full.txt, the agent skill at /skill.md, or this page as Markdown at /zh-tw/docs/mobile/content.md (or send Accept: text/markdown).
內容管理
在應用中建立、編輯併發布工作區內容。
內容介面
GET /api/mobile/content 列出工作區條目並附帶逐行 writable 標誌 —— 列表檢視不下發正文,正文留在服務端。POST 建立草稿,GET /api/mobile/content/:id 返回正文供編輯,PATCH 同時更新欄位與狀態 —— draft、published 或 archived —— DELETE 刪除條目。
服務端強制執行的規則
寫入要求工作區成員或更高角色,訪客會被拒絕。正文上限 1 MiB,留空 slug 時從標題派生;條目帶有 locale、excerpt 與 requiredEntitlement 欄位以支援按權益門控釋出。列表檢視已納入離線讀取快取。
驗證與排障
建立草稿、釋出、歸檔,並確認訪客無法寫入。移動端表單面向快速編輯 —— 長文撰寫與定時釋出仍在 Web 內容介面。