Admin
Publish the current draft for a slug
Changed onPlatform moderator/admin only (#998). Copies the draft onto the published block, bumps version by one and stamps publishedAt/publishedBy — which is what changes the public GET /api/content/{slug} payload and its ETag. Refused with VALIDATION_ERROR when the draft has a blank title; 404 when the slug does not exist.
post/api/admin/content/{slug}/publish
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Path parameters
slugstring required
Response
{ success, data: AdminCopy }
Changes
- info
endpoint added
- info