GET/api/v1/documents/{slug}/comments/insights

Comment 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.

Token optional60 per minute per IPMCP: comment_insights

Guide: Comments

Code samples and Try it

Path parameters

#
  • slugstringRequired

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

Query parameters

#
  • range"7d" | "30d" | "90d" | "all"

    The period to count: 7d, 30d, 90d or all. Default "30d".

Headers

#
  • X-Read-Passwordstring

    The password of a password-protected document.

  • 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.
  • 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?