GET
/api/v1/documents/{slug}/commentsList comments
The comment threads on a page or markdown document you can read, with their messages, what each points at (anchor: quoted text, a block or the page; anchor_status is changed when the text was edited away, with original), and what you may do (can). Signed in, or anyone when the owner shows comments publicly. status filters open or resolved; mine keeps threads you're in.
Guide: Comments
Code samples and Try itPath parameters
#slugstringRequiredThe document's address: the part after
markdrop.in/.
Query parameters
#status"open" | "resolved" | "all"Default
"all".minebooleanDefault
false.
Headers
#X-Read-PasswordstringThe password of a password-protected document.
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.401Sign in to see comments (codesignin).403Comments are off for this item (codecomments_off).404No such document, or it can't have comments (codecomments_unavailable: encrypted, a file, or no owner).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.