{"action":"closed","issue":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/977","labels_url":"https://api.github.com/repos/torchbox/wagtail/issues/977/labels{/name}","comments_url":"https://api.github.com/repos/torchbox/wagtail/issues/977/comments","events_url":"https://api.github.com/repos/torchbox/wagtail/issues/977/events","html_url":"https://github.com/torchbox/wagtail/issues/977","id":57150552,"number":977,"title":"Add file_size and file_sha fields to images/docs","user":{"login":"kaedroho","id":1093808,"avatar_url":"https://avatars.githubusercontent.com/u/1093808?v=3","gravatar_id":"","url":"https://api.github.com/users/kaedroho","html_url":"https://github.com/kaedroho","followers_url":"https://api.github.com/users/kaedroho/followers","following_url":"https://api.github.com/users/kaedroho/following{/other_user}","gists_url":"https://api.github.com/users/kaedroho/gists{/gist_id}","starred_url":"https://api.github.com/users/kaedroho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaedroho/subscriptions","organizations_url":"https://api.github.com/users/kaedroho/orgs","repos_url":"https://api.github.com/users/kaedroho/repos","events_url":"https://api.github.com/users/kaedroho/events{/privacy}","received_events_url":"https://api.github.com/users/kaedroho/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/torchbox/wagtail/labels/Enhancement","name":"Enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-10T09:37:15Z","updated_at":"2015-06-11T13:31:43Z","closed_at":"2015-06-11T13:31:43Z","body":"``file_size`` - PositiveIntegerField set to the number of bytes in the file\r\n - Used for displaying filesize on the right hand side of the edit page\r\n - Works when files are not available (fixing #935)\r\n - Handy for finding large files quickly\r\n\r\n``file_sha`` - CharField containing the SHA1 hash of the contents of the file\r\n - Useful for finding duplicate files quickly\r\n - Also useful for generating cache keys/Etags quickly"}}