GET
/api/v1/documents/{slug}/versions/{n}Get a page version
One version's Markdown and image links, with the page as it is now (current_doc) to compare.
Guide: Version history
Code samples and Try itPath parameters
#slugstringRequiredThe document's address: the part after
markdrop.in/.nintegerRequiredThe version number, from List page versions.
Headers
#X-Markdrop-WorkspacestringA 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.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.