> ## Documentation Index
> Fetch the complete documentation index at: https://supastack.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For the full documentation corpus in one file, fetch: https://supastack.dev/llms-full.txt

# 内容管理

在应用中创建、编辑并发布工作区内容。

## 内容界面

GET /api/mobile/content 列出工作区条目并附带逐行 writable 标志 —— 列表视图不下发正文，正文留在服务端。POST 创建草稿，GET /api/mobile/content/:id 返回正文供编辑，PATCH 同时更新字段与状态 —— draft、published 或 archived —— DELETE 删除条目。


## 服务端强制执行的规则

写入要求工作区成员或更高角色，访客会被拒绝。正文上限 1 MiB，留空 slug 时从标题派生；条目带有 locale、excerpt 与 requiredEntitlement 字段以支持按权益门控发布。列表视图已纳入离线读取缓存。


## 验证与排障

创建草稿、发布、归档，并确认访客无法写入。移动端表单面向快速编辑 —— 长文撰写与定时发布仍在 Web 内容界面。


## 下一篇

[移动端电商](https://supastack.dev/zh/docs/mobile/commerce.md)
