{"action":"created","issue":{"url":"https://api.github.com/repos/fp7mplane/protocol-ri/issues/23","labels_url":"https://api.github.com/repos/fp7mplane/protocol-ri/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/fp7mplane/protocol-ri/issues/23/comments","events_url":"https://api.github.com/repos/fp7mplane/protocol-ri/issues/23/events","html_url":"https://github.com/fp7mplane/protocol-ri/issues/23","id":54992387,"number":23,"title":"Delete receipt after redemption gives an exception ","user":{"login":"MKV21","id":4974411,"avatar_url":"https://avatars.githubusercontent.com/u/4974411?v=3","gravatar_id":"","url":"https://api.github.com/users/MKV21","html_url":"https://github.com/MKV21","followers_url":"https://api.github.com/users/MKV21/followers","following_url":"https://api.github.com/users/MKV21/following{/other_user}","gists_url":"https://api.github.com/users/MKV21/gists{/gist_id}","starred_url":"https://api.github.com/users/MKV21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MKV21/subscriptions","organizations_url":"https://api.github.com/users/MKV21/orgs","repos_url":"https://api.github.com/users/MKV21/repos","events_url":"https://api.github.com/users/MKV21/events{/privacy}","received_events_url":"https://api.github.com/users/MKV21/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fp7mplane/protocol-ri/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-21T08:50:56Z","updated_at":"2015-02-06T13:31:11Z","closed_at":"2015-02-06T13:31:11Z","body":"If we receive results from a repeated measurement we don't delete the receipt at the moment. If it is a finite repeated measurement at some point the client gets an exception (should be a 404 exception once status codes are implemented) that the job does no longer exist (and all results have been retrieved). The receipt can be deleted then."},"comment":{"url":"https://api.github.com/repos/fp7mplane/protocol-ri/issues/comments/73236259","html_url":"https://github.com/fp7mplane/protocol-ri/issues/23#issuecomment-73236259","issue_url":"https://api.github.com/repos/fp7mplane/protocol-ri/issues/23","id":73236259,"user":{"login":"stepenta","id":7126334,"avatar_url":"https://avatars.githubusercontent.com/u/7126334?v=3","gravatar_id":"","url":"https://api.github.com/users/stepenta","html_url":"https://github.com/stepenta","followers_url":"https://api.github.com/users/stepenta/followers","following_url":"https://api.github.com/users/stepenta/following{/other_user}","gists_url":"https://api.github.com/users/stepenta/gists{/gist_id}","starred_url":"https://api.github.com/users/stepenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepenta/subscriptions","organizations_url":"https://api.github.com/users/stepenta/orgs","repos_url":"https://api.github.com/users/stepenta/repos","events_url":"https://api.github.com/users/stepenta/events{/privacy}","received_events_url":"https://api.github.com/users/stepenta/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T13:31:11Z","updated_at":"2015-02-06T13:31:11Z","body":"Solved.\r\nFor repeated measurements, the client keeps the receipt until the measurement is running, and can ask for partial results to the component. The component will remove the result only when the measurement is completed and the result is sent to the client."}}