GET
/api/v1/documents/{slug}/comments/insightsComment insights
How the discussion on an item is going: open and resolved threads, messages and people, the typical time to a first reply (first_reply.median_s, seconds) and how many open threads still wait for one, time to resolve, the most-discussed sections, a daily series for range and who comments most. Anyone who can see the item's comments.
Guide: Comments
Code samples and Try itPath parameters
#slugstringRequiredThe document's address: the part after
markdrop.in/.
Query parameters
#range"7d" | "30d" | "90d" | "all"The period to count:
7d,30d,90dorall. Default"30d".
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.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.