{"action":"created","issue":{"url":"https://api.github.com/repos/rails/activejob/issues/70","labels_url":"https://api.github.com/repos/rails/activejob/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/rails/activejob/issues/70/comments","events_url":"https://api.github.com/repos/rails/activejob/issues/70/events","html_url":"https://github.com/rails/activejob/issues/70","id":34546020,"number":70,"title":"[Feature request] Cancel jobs","user":{"login":"seuros","id":2394703,"avatar_url":"https://avatars.githubusercontent.com/u/2394703?v=3","gravatar_id":"","url":"https://api.github.com/users/seuros","html_url":"https://github.com/seuros","followers_url":"https://api.github.com/users/seuros/followers","following_url":"https://api.github.com/users/seuros/following{/other_user}","gists_url":"https://api.github.com/users/seuros/gists{/gist_id}","starred_url":"https://api.github.com/users/seuros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seuros/subscriptions","organizations_url":"https://api.github.com/users/seuros/orgs","repos_url":"https://api.github.com/users/seuros/repos","events_url":"https://api.github.com/users/seuros/events{/privacy}","received_events_url":"https://api.github.com/users/seuros/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2014-05-29T11:01:41Z","updated_at":"2015-04-23T06:58:17Z","closed_at":"2014-07-29T06:37:29Z","body":"@rafaelfranca , @cristianbica , @dhh \r\nShould we add API to cancel jobs that were enqueue and not performed yet ? "},"comment":{"url":"https://api.github.com/repos/rails/activejob/issues/comments/95465535","html_url":"https://github.com/rails/activejob/issues/70#issuecomment-95465535","issue_url":"https://api.github.com/repos/rails/activejob/issues/70","id":95465535,"user":{"login":"michaelimstepf","id":430682,"avatar_url":"https://avatars.githubusercontent.com/u/430682?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelimstepf","html_url":"https://github.com/michaelimstepf","followers_url":"https://api.github.com/users/michaelimstepf/followers","following_url":"https://api.github.com/users/michaelimstepf/following{/other_user}","gists_url":"https://api.github.com/users/michaelimstepf/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelimstepf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelimstepf/subscriptions","organizations_url":"https://api.github.com/users/michaelimstepf/orgs","repos_url":"https://api.github.com/users/michaelimstepf/repos","events_url":"https://api.github.com/users/michaelimstepf/events{/privacy}","received_events_url":"https://api.github.com/users/michaelimstepf/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T06:58:17Z","updated_at":"2015-04-23T06:58:17Z","body":"Here's our use case:\r\n\r\nWe send out text messages for appointment reminders. Sometimes appointments get cancelled, in which case we don't want a reminder (job) to be sent out. We would also like to delete and re-create a reminder (job) when the appointment time changes.\r\n\r\nDetails: http://stackoverflow.com/questions/29814262/active-job-delete-existing-job"}}