{"action":"created","issue":{"url":"https://api.github.com/repos/netguru/review/issues/12","labels_url":"https://api.github.com/repos/netguru/review/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/netguru/review/issues/12/comments","events_url":"https://api.github.com/repos/netguru/review/issues/12/events","html_url":"https://github.com/netguru/review/issues/12","id":29637098,"number":12,"title":"Trade API","user":{"login":"bartoszkopinski","id":1584002,"avatar_url":"https://avatars.githubusercontent.com/u/1584002?v=3","gravatar_id":"","url":"https://api.github.com/users/bartoszkopinski","html_url":"https://github.com/bartoszkopinski","followers_url":"https://api.github.com/users/bartoszkopinski/followers","following_url":"https://api.github.com/users/bartoszkopinski/following{/other_user}","gists_url":"https://api.github.com/users/bartoszkopinski/gists{/gist_id}","starred_url":"https://api.github.com/users/bartoszkopinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartoszkopinski/subscriptions","organizations_url":"https://api.github.com/users/bartoszkopinski/orgs","repos_url":"https://api.github.com/users/bartoszkopinski/repos","events_url":"https://api.github.com/users/bartoszkopinski/events{/privacy}","received_events_url":"https://api.github.com/users/bartoszkopinski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/netguru/review/labels/planned","name":"planned","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/netguru/review/milestones/1","html_url":"https://github.com/netguru/review/milestones/0.1","labels_url":"https://api.github.com/repos/netguru/review/milestones/1/labels","id":588029,"number":1,"title":"0.1","description":"","creator":{"login":"mamut","id":251024,"avatar_url":"https://avatars.githubusercontent.com/u/251024?v=3","gravatar_id":"","url":"https://api.github.com/users/mamut","html_url":"https://github.com/mamut","followers_url":"https://api.github.com/users/mamut/followers","following_url":"https://api.github.com/users/mamut/following{/other_user}","gists_url":"https://api.github.com/users/mamut/gists{/gist_id}","starred_url":"https://api.github.com/users/mamut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mamut/subscriptions","organizations_url":"https://api.github.com/users/mamut/orgs","repos_url":"https://api.github.com/users/mamut/repos","events_url":"https://api.github.com/users/mamut/events{/privacy}","received_events_url":"https://api.github.com/users/mamut/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":6,"state":"open","created_at":"2014-03-05T10:48:00Z","updated_at":"2015-08-20T10:11:32Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2014-03-18T11:20:42Z","updated_at":"2015-08-20T14:09:25Z","closed_at":null,"body":"Trade needs a global token with access to the status of all projects at once.\r\nRequired info per Trade Info entity:\r\n* Counts of unreviewed commits by user's GitHub handle or UID\r\n* Total counts of unreviewed commits by their state\r\n* Project names\r\n* Client / Owner name\r\n* Trade details (internal trade / global trade / no trade)\r\n* Closest expiration date\r\n* Link to a review page\r\n\r\nImplementation remarks:\r\n* This API cares about **unreviewed** commits only\r\n* It should be easily extendable and fast -> preferably no realtime computations"},"comment":{"url":"https://api.github.com/repos/netguru/review/issues/comments/133023183","html_url":"https://github.com/netguru/review/issues/12#issuecomment-133023183","issue_url":"https://api.github.com/repos/netguru/review/issues/12","id":133023183,"user":{"login":"mamut","id":251024,"avatar_url":"https://avatars.githubusercontent.com/u/251024?v=3","gravatar_id":"","url":"https://api.github.com/users/mamut","html_url":"https://github.com/mamut","followers_url":"https://api.github.com/users/mamut/followers","following_url":"https://api.github.com/users/mamut/following{/other_user}","gists_url":"https://api.github.com/users/mamut/gists{/gist_id}","starred_url":"https://api.github.com/users/mamut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mamut/subscriptions","organizations_url":"https://api.github.com/users/mamut/orgs","repos_url":"https://api.github.com/users/mamut/repos","events_url":"https://api.github.com/users/mamut/events{/privacy}","received_events_url":"https://api.github.com/users/mamut/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T14:09:25Z","updated_at":"2015-08-20T14:09:25Z","body":"Rather than exposing the data that would allow to figure out which projects could trade, we should just provide the API that would return the possible trades. That way, app that once did this job now would only need to concern itself with how to display that info on e.g. slack."}}