{"action":"created","issue":{"url":"https://api.github.com/repos/decred/decrediton/issues/1479","repository_url":"https://api.github.com/repos/decred/decrediton","labels_url":"https://api.github.com/repos/decred/decrediton/issues/1479/labels{/name}","comments_url":"https://api.github.com/repos/decred/decrediton/issues/1479/comments","events_url":"https://api.github.com/repos/decred/decrediton/issues/1479/events","html_url":"https://github.com/decred/decrediton/pull/1479","id":332908509,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1Mjc4NjA0","number":1479,"title":"[stakepools] allow adding custom stakepool","user":{"login":"matheusd","id":1752493,"node_id":"MDQ6VXNlcjE3NTI0OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1752493?v=4","gravatar_id":"","url":"https://api.github.com/users/matheusd","html_url":"https://github.com/matheusd","followers_url":"https://api.github.com/users/matheusd/followers","following_url":"https://api.github.com/users/matheusd/following{/other_user}","gists_url":"https://api.github.com/users/matheusd/gists{/gist_id}","starred_url":"https://api.github.com/users/matheusd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheusd/subscriptions","organizations_url":"https://api.github.com/users/matheusd/orgs","repos_url":"https://api.github.com/users/matheusd/repos","events_url":"https://api.github.com/users/matheusd/events{/privacy}","received_events_url":"https://api.github.com/users/matheusd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-15T20:44:05Z","updated_at":"2018-06-25T15:16:35Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/decred/decrediton/pulls/1479","html_url":"https://github.com/decred/decrediton/pull/1479","diff_url":"https://github.com/decred/decrediton/pull/1479.diff","patch_url":"https://github.com/decred/decrediton/pull/1479.patch"},"body":"Close #1464 \r\n\r\nAdds the ability to add a custom stakepool by typing its address in the stakepool select drop down, and selecting and option to add that stakepool.\r\n\r\nBefore adding the stakepool, a request is made to its `/api/v1/stats` endpoint, to check if it exists and get its available api versions. Only then is the stakepool added to the supported list.\r\n\r\nEasiest way to test it is probably to run a local webserver (eg: via `php -S` or python simplewebserver) that returns a fixed json with the required fields (eg: copy from an existing stakepool). "},"comment":{"url":"https://api.github.com/repos/decred/decrediton/issues/comments/399988494","html_url":"https://github.com/decred/decrediton/pull/1479#issuecomment-399988494","issue_url":"https://api.github.com/repos/decred/decrediton/issues/1479","id":399988494,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTk4ODQ5NA==","user":{"login":"alexlyp","id":4388501,"node_id":"MDQ6VXNlcjQzODg1MDE=","avatar_url":"https://avatars0.githubusercontent.com/u/4388501?v=4","gravatar_id":"","url":"https://api.github.com/users/alexlyp","html_url":"https://github.com/alexlyp","followers_url":"https://api.github.com/users/alexlyp/followers","following_url":"https://api.github.com/users/alexlyp/following{/other_user}","gists_url":"https://api.github.com/users/alexlyp/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlyp/subscriptions","organizations_url":"https://api.github.com/users/alexlyp/orgs","repos_url":"https://api.github.com/users/alexlyp/repos","events_url":"https://api.github.com/users/alexlyp/events{/privacy}","received_events_url":"https://api.github.com/users/alexlyp/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T15:16:34Z","updated_at":"2018-06-25T15:16:34Z","author_association":"MEMBER","body":"Yah I think this will do for now, and I suppose this feature will only be used pretty rarely so no need to implement a new endpoint for this one"}}
{"actor":{"display_login":"alexlyp"}}