GET/api/v1/trash/lookup/{slug}

Look up a deleted item

What a link to a deleted item says to someone who could edit it: what it was, who deleted it and when, when it's deleted for good, and whether you can restore it. Anyone else gets 404, the same as an address that doesn't exist.

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?