POST
/api/v1/documents/{slug}/lock/keepKeep unsaved text
Keeps text you couldn't save, because someone took over the page, as a version in its history. The page itself doesn't change.
API token required60 per minute per IP
Guide: Editing together
Code samples and Try itPath parameters
#slugstringRequiredThe document's address: the part after
markdrop.in/.
Request body
#application/json, required
titlestringShown on the page and in link previews. Up to 500 characters.
contentstringRequiredThe document's Markdown. Up to 2,000,000 characters.
base_revintegerreason"taken_over" | "lost" | "conflict"Default
"taken_over".
Responses
#200OK.401No token, or the token is revoked or mistyped.422The request didn't validate.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.