{"action":"created","issue":{"url":"https://api.github.com/repos/Bitmessage/PyBitmessage/issues/504","labels_url":"https://api.github.com/repos/Bitmessage/PyBitmessage/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/Bitmessage/PyBitmessage/issues/504/comments","events_url":"https://api.github.com/repos/Bitmessage/PyBitmessage/issues/504/events","html_url":"https://github.com/Bitmessage/PyBitmessage/issues/504","id":19638918,"number":504,"title":"add 'emptyTrash' and 'emptySentTrash' api calls","user":{"login":"chovy","id":27381,"avatar_url":"https://avatars.githubusercontent.com/u/27381?v=3","gravatar_id":"","url":"https://api.github.com/users/chovy","html_url":"https://github.com/chovy","followers_url":"https://api.github.com/users/chovy/followers","following_url":"https://api.github.com/users/chovy/following{/other_user}","gists_url":"https://api.github.com/users/chovy/gists{/gist_id}","starred_url":"https://api.github.com/users/chovy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chovy/subscriptions","organizations_url":"https://api.github.com/users/chovy/orgs","repos_url":"https://api.github.com/users/chovy/repos","events_url":"https://api.github.com/users/chovy/events{/privacy}","received_events_url":"https://api.github.com/users/chovy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-09-17T19:53:48Z","updated_at":"2015-10-18T10:38:56Z","closed_at":null,"body":"There needs to be a way to delete the trash from the API. Otherwise trashed message still reside on disk and can be a liability.\r\n\r\n```\r\nDELETE FROM inbox WHERE folder =\"trash\"\r\nDELETE FROM sent WHERE folder =\"trash\"\r\n```"},"comment":{"url":"https://api.github.com/repos/Bitmessage/PyBitmessage/issues/comments/149000508","html_url":"https://github.com/Bitmessage/PyBitmessage/issues/504#issuecomment-149000508","issue_url":"https://api.github.com/repos/Bitmessage/PyBitmessage/issues/504","id":149000508,"user":{"login":"PeterSurda","id":3815204,"avatar_url":"https://avatars.githubusercontent.com/u/3815204?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterSurda","html_url":"https://github.com/PeterSurda","followers_url":"https://api.github.com/users/PeterSurda/followers","following_url":"https://api.github.com/users/PeterSurda/following{/other_user}","gists_url":"https://api.github.com/users/PeterSurda/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterSurda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterSurda/subscriptions","organizations_url":"https://api.github.com/users/PeterSurda/orgs","repos_url":"https://api.github.com/users/PeterSurda/repos","events_url":"https://api.github.com/users/PeterSurda/events{/privacy}","received_events_url":"https://api.github.com/users/PeterSurda/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T10:38:56Z","updated_at":"2015-10-18T10:38:56Z","body":"I plan to have a trash expiration."}}