GET/api/v1/documents/{slug}/lock

Check the edit lock

Who holds a page's edit lock, without taking it: holder is null when it's free. Otherwise it says how long they've been idle, whether they have unsaved changes, when it releases by itself and whether you may take over.

API token required60 per minute per IP

Guide: Editing together

Code samples and Try it

Path parameters

#
  • slugstringRequired

    The document's address: the part after markdrop.in/.

Responses

#
  • 200OK.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
Did this page help?