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

List page versions

A page's saved versions, newest first, with who made each one and when. For people who can edit the page. An end-to-end encrypted document has no history: available is false.

API token required60 per minute per IPMCP: list_page_versions

Guide: Version history

Code samples and Try it

Path parameters

#
  • slugstringRequired

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

Query parameters

#
  • cursorinteger

    The next_cursor of the previous page. At least 1.

  • limitinteger

    How many to return, up to 100. From 1 to 100. Default 50.

Headers

#
  • X-Markdrop-Workspacestring

    A workspace's id: answer only if the document is in that workspace, else 404. Workspace domains send it; you rarely need it.

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?