Admin

Publish the current draft for a slug

Changed on

Platform 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 URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Path parameters

slugstring required

Response

{ success, data: AdminCopy }

Changes