{"action":"created","issue":{"url":"https://api.github.com/repos/pyk/rojak/issues/36","repository_url":"https://api.github.com/repos/pyk/rojak","labels_url":"https://api.github.com/repos/pyk/rojak/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/pyk/rojak/issues/36/comments","events_url":"https://api.github.com/repos/pyk/rojak/issues/36/events","html_url":"https://github.com/pyk/rojak/pull/36","id":181860258,"number":36,"title":"[rojak-api] [WIP] Improve API spec draft","user":{"login":"bobbypriambodo","id":4920820,"avatar_url":"https://avatars.githubusercontent.com/u/4920820?v=3","gravatar_id":"","url":"https://api.github.com/users/bobbypriambodo","html_url":"https://github.com/bobbypriambodo","followers_url":"https://api.github.com/users/bobbypriambodo/followers","following_url":"https://api.github.com/users/bobbypriambodo/following{/other_user}","gists_url":"https://api.github.com/users/bobbypriambodo/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbypriambodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbypriambodo/subscriptions","organizations_url":"https://api.github.com/users/bobbypriambodo/orgs","repos_url":"https://api.github.com/users/bobbypriambodo/repos","events_url":"https://api.github.com/users/bobbypriambodo/events{/privacy}","received_events_url":"https://api.github.com/users/bobbypriambodo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyk/rojak/labels/tim-api","name":"tim-api","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pyk/rojak/milestones/1","html_url":"https://github.com/pyk/rojak/milestones/Rojak%20v1.0.0","labels_url":"https://api.github.com/repos/pyk/rojak/milestones/1/labels","id":2042617,"number":1,"title":"Rojak v1.0.0","description":"Rojak 1.0.0 merupakan codename untuk MVP yang akan kita deliver ke masyarakat saat masa kampanye di mulai 26 Okt - 31 Okt 2016","creator":{"login":"pyk","id":2213646,"avatar_url":"https://avatars.githubusercontent.com/u/2213646?v=3","gravatar_id":"","url":"https://api.github.com/users/pyk","html_url":"https://github.com/pyk","followers_url":"https://api.github.com/users/pyk/followers","following_url":"https://api.github.com/users/pyk/following{/other_user}","gists_url":"https://api.github.com/users/pyk/gists{/gist_id}","starred_url":"https://api.github.com/users/pyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyk/subscriptions","organizations_url":"https://api.github.com/users/pyk/orgs","repos_url":"https://api.github.com/users/pyk/repos","events_url":"https://api.github.com/users/pyk/events{/privacy}","received_events_url":"https://api.github.com/users/pyk/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":19,"state":"open","created_at":"2016-10-02T21:06:37Z","updated_at":"2016-10-09T02:20:13Z","due_on":"2016-10-31T00:00:00Z","closed_at":null},"comments":3,"created_at":"2016-10-09T02:19:52Z","updated_at":"2016-10-09T02:38:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pyk/rojak/pulls/36","html_url":"https://github.com/pyk/rojak/pull/36","diff_url":"https://github.com/pyk/rojak/pull/36.diff","patch_url":"https://github.com/pyk/rojak/pull/36.patch"},"body":"Improvement on the initial API spec draft.\r\n\r\nUse cases:\r\n\r\n- [x] List calon pasangan (`/pairings`)\r\n- [x] List media (`/media`)\r\n- [x] List berita (`/news`)\r\n- [x] Given id pasangan calon, return berita yg mention calon tsb (`/pairings/1/news`)\r\n- [x] Given id pasangan calon, return overall sentimen untuk pasangan calon tersebut (`/pairings/1/sentiments`)\r\n- [x] Given id pasangan calon, return sentiment untuk pasangan calon tersebut dari tiap-tiap media (`/pairings/1/sentiments/media`)\r\n- [x] Given id pasangan calon & id media, return score tiap sentimen pro/kontra/net (`/pairings/1/sentiments/media/1`)\r\n- [x] Given id pasangan calon & id media, return list of berita beserta sentimen nya (`/pairings/1/sentiments/media/1/news`)\r\n- [x] Given id media, return list of berita beserta sentimen nya (`/media/1/news`)\r\n- [x] Given id media, return list of candidates beserta score sentimen nya (`/media/1/sentiments`)\r\n- [x] Lihat daftar cagub atau cawagub (`/candidates`)\r\n- [x] Given id calon, return profilnya (`/candidates/1`)\r\n- [x] Given id calon, return daftar berita yang mention calon tersebut (`/candidates/1/news`)\r\n- [x] Given id berita, return calon yang disebut dalam berita tersebut (`/news/1/candidates`)\r\n- [x] Given id berita, return sentiment berita tersebut terhadap calon di dalamnya (`/news/1/sentiments`)\r\n\r\nList akan diupdate sesuai kebutuhan. Kalau ada yang kurang, silakan comment di PR ini. Kalau ada URL yang tidak masuk akal (bisa diperbaiki) juga silakan berikan saran perbaikan."},"comment":{"url":"https://api.github.com/repos/pyk/rojak/issues/comments/252460579","html_url":"https://github.com/pyk/rojak/pull/36#issuecomment-252460579","issue_url":"https://api.github.com/repos/pyk/rojak/issues/36","id":252460579,"user":{"login":"fajarmf","id":191735,"avatar_url":"https://avatars.githubusercontent.com/u/191735?v=3","gravatar_id":"","url":"https://api.github.com/users/fajarmf","html_url":"https://github.com/fajarmf","followers_url":"https://api.github.com/users/fajarmf/followers","following_url":"https://api.github.com/users/fajarmf/following{/other_user}","gists_url":"https://api.github.com/users/fajarmf/gists{/gist_id}","starred_url":"https://api.github.com/users/fajarmf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fajarmf/subscriptions","organizations_url":"https://api.github.com/users/fajarmf/orgs","repos_url":"https://api.github.com/users/fajarmf/repos","events_url":"https://api.github.com/users/fajarmf/events{/privacy}","received_events_url":"https://api.github.com/users/fajarmf/received_events","type":"User","site_admin":false},"created_at":"2016-10-09T02:38:57Z","updated_at":"2016-10-09T02:38:57Z","body":"Kalo sentiment itu cuma ke pairing ya, ga ke candidate juga?"}}
{"actor":{"display_login":"fajarmf"}}