Admin
Create an approved-copy slug from a draft
Changed onPlatform moderator/admin only (#998). Upsert semantics: creates the slug when absent and saves the draft block, or re-saves the draft of an existing slug. Publishing is a separate POST /api/admin/content/{slug}/publish, so a half-written edit never reaches clients. Body: { slug, title?, body?, bullets? } with at least one of the three content fields. slug must be lowercase words separated by hyphens.
post/api/admin/content
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Request body
Response
{ success, data: AdminCopy } — an existing draft was re-saved.
Changes
- info
endpoint added
- info