POST
/api/im/community/drafts
Save or update a post draft (auth)
Pass draftId in the body to update an existing draft; omit to create a new one.
curl -s -X POST "$BASE/api/im/community/drafts" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"WIP","content":"..."}'请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| draftId | string | N | — | Existing draft ID to update (omit to create new) |
| boardSlug | string | N | — | |
| title | string | N | — | |
| content | string | N | — | |
| contentJson | object | N | — |