{"action":"created","issue":{"url":"https://api.github.com/repos/raiden-network/raiden/issues/986","repository_url":"https://api.github.com/repos/raiden-network/raiden","labels_url":"https://api.github.com/repos/raiden-network/raiden/issues/986/labels{/name}","comments_url":"https://api.github.com/repos/raiden-network/raiden/issues/986/comments","events_url":"https://api.github.com/repos/raiden-network/raiden/issues/986/events","html_url":"https://github.com/raiden-network/raiden/pull/986","id":255770303,"number":986,"title":"Add ability to leave all channels of token network","user":{"login":"LefterisJP","id":1658405,"avatar_url":"https://avatars1.githubusercontent.com/u/1658405?v=4","gravatar_id":"","url":"https://api.github.com/users/LefterisJP","html_url":"https://github.com/LefterisJP","followers_url":"https://api.github.com/users/LefterisJP/followers","following_url":"https://api.github.com/users/LefterisJP/following{/other_user}","gists_url":"https://api.github.com/users/LefterisJP/gists{/gist_id}","starred_url":"https://api.github.com/users/LefterisJP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LefterisJP/subscriptions","organizations_url":"https://api.github.com/users/LefterisJP/orgs","repos_url":"https://api.github.com/users/LefterisJP/repos","events_url":"https://api.github.com/users/LefterisJP/events{/privacy}","received_events_url":"https://api.github.com/users/LefterisJP/received_events","type":"User","site_admin":false},"labels":[{"id":456349535,"url":"https://api.github.com/repos/raiden-network/raiden/labels/dev:%20Work%20In%20Progress","name":"dev: Work In Progress","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-06T23:21:29Z","updated_at":"2017-09-07T03:01:35Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/raiden-network/raiden/pulls/986","html_url":"https://github.com/raiden-network/raiden/pull/986","diff_url":"https://github.com/raiden-network/raiden/pull/986.diff","patch_url":"https://github.com/raiden-network/raiden/pull/986.patch"},"body":"- Adds the ability to leave all channels of a token network instead of just those that have received transfers. The default remains the current option, but with an extra argument given to the REST endpoint you can leave all channels you are part of in the token\r\n\r\n- The `leave` endpoint now returns a response. The list of all closed/settled channels.\r\n\r\n- Simplified the schema for returning a list of addresses. It was quite wasteful to return a list of one-key dictionaries with the same `\"address\"` key. We now use a simple `AddressList` schema for a list of addresses to be returned by the REST API. Used it also in the endpoint returning the list of tokens. @andrevmatos I think that the webui uses that endpoint so there is going to be a change in its consumption. Can you help point to where the change should happen?"},"comment":{"url":"https://api.github.com/repos/raiden-network/raiden/issues/comments/327670188","html_url":"https://github.com/raiden-network/raiden/pull/986#issuecomment-327670188","issue_url":"https://api.github.com/repos/raiden-network/raiden/issues/986","id":327670188,"user":{"login":"andrevmatos","id":587021,"avatar_url":"https://avatars1.githubusercontent.com/u/587021?v=4","gravatar_id":"","url":"https://api.github.com/users/andrevmatos","html_url":"https://github.com/andrevmatos","followers_url":"https://api.github.com/users/andrevmatos/followers","following_url":"https://api.github.com/users/andrevmatos/following{/other_user}","gists_url":"https://api.github.com/users/andrevmatos/gists{/gist_id}","starred_url":"https://api.github.com/users/andrevmatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrevmatos/subscriptions","organizations_url":"https://api.github.com/users/andrevmatos/orgs","repos_url":"https://api.github.com/users/andrevmatos/repos","events_url":"https://api.github.com/users/andrevmatos/events{/privacy}","received_events_url":"https://api.github.com/users/andrevmatos/received_events","type":"User","site_admin":false},"created_at":"2017-09-07T03:01:35Z","updated_at":"2017-09-07T03:01:35Z","author_association":"COLLABORATOR","body":"webUI isn't using this `/connection` API yet.. we identified some issues (which caused #921 to be reopened), which I'll address soon, so you can change it now without worries of it breaking webUI."}}
{"actor":{"display_login":"andrevmatos"}}