GET/api/v1/pages/{slug}/cover

Get the cover

A page's cover now, and whether an automatic cover is still being picked (cover_pending). For anyone who can read the page.

Token optionalOr edit secret60 per minute per IP
Code samples and Try it

Path parameters

#
  • slugstringRequired

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

Headers

#
  • X-Edit-Secretstring

    The document's edit secret (sk_…), for a document published without an account. See Edit key.

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?