The API doesn't return the MD5 hash of deleted posts.
Example of a deleted post:
https://e621.net/post/show.xml?id=1360652
Example of an active post:
https://e621.net/post/show.xml?id=367001
When a file is downloaded from e621, the name defaults to the MD5 hash of the file (for more info see https://e621.net/forum/show/243902 ).
Considering the wave of deletion regarding https://e621.net/forum/show/244542 (and just in general) I thought it might be useful to be able to tell whether I have a local copy of a deleted post. This would be especially useful for finding holes in pools (for example https://e621.net/pool/show/3482 ).
The easiest way of getting the MD5 hash of a post would be the API, but unfortunately it doesn't offer that data.
I know that the MD5 is still stored in the database because searching for a deleted post's MD5 still returns that post: https://e621.net/post/index/1/status:any%20md5:f3c1a9a124b98fef83dddf2921329885
So I'd say that the API should return the MD5 hash too.
Also: Why are deleted posts only returned by /post/index/ and /post/index.html, but not by /post/index.xml and /post/index.json?
Example: https://e621.net/post/index.xml?tags=status:any%20md5:f3c1a9a124b98fef83dddf2921329885
This is documented in https://e621.net/help/show/api#posts_list but it strikes me as weird because now there is no way get the ID of a deleted post found in a search.
Updated by Fifteen