Save the private draft
Changed onReplaces the whole draft file list. Compare-and-swap: send the draft_rev you last saw, or 0 to start a draft. Drafts are never served; publish to go live.
put/drops/{slug}/draft
Request
- Base URL: https://ship.page
- URL: https://ship.page/drops/{slug}/draft
- Auth: HTTP bearer
Request body
Response
Draft saved.
Example response
{
"files": [
{
"path": "css/site.css"
}
]
}Changes
- info
endpoint added
- info