Publish the draft

Changed on

Makes the draft live at the drop's URL, or with as_new: true publishes it to a new link and keeps this drop unchanged. Safe to retry: reuse the same idempotency_key until you get a 200 or a 4xx.

post/drops/{slug}/publish

Request

  • Base URL: https://ship.page
  • URL: https://ship.page/drops/{slug}/publish
  • Auth: HTTP bearer

Request body

draft_revinteger required
base_content_revinteger required

content_rev from GET /drops/{slug}/tree.

titlestring nullable

Shown in the revision history; trimmed to 120 characters.

idempotency_keystring uuid required
as_newboolean

Response

Published.

slugstring required
urlstring uri required
content_revinteger required
as_newboolean required

Changes