{"action":"created","issue":{"url":"https://api.github.com/repos/pyk/rojak/issues/180","repository_url":"https://api.github.com/repos/pyk/rojak","labels_url":"https://api.github.com/repos/pyk/rojak/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/pyk/rojak/issues/180/comments","events_url":"https://api.github.com/repos/pyk/rojak/issues/180/events","html_url":"https://github.com/pyk/rojak/issues/180","id":187549491,"number":180,"title":"[rojak-api] Revisi spesifikasi API berdasarkan schema data v0.5","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":[{"id":453897627,"url":"https://api.github.com/repos/pyk/rojak/labels/tim-api","name":"tim-api","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pyk/rojak/milestones/2","html_url":"https://github.com/pyk/rojak/milestones/Rojak%20v2.0.0","labels_url":"https://api.github.com/repos/pyk/rojak/milestones/2/labels","id":2105909,"number":2,"title":"Rojak v2.0.0","description":"","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":15,"closed_issues":17,"state":"open","created_at":"2016-11-01T02:46:41Z","updated_at":"2016-11-06T22:13:03Z","due_on":"2016-11-30T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-11-06T09:53:35Z","updated_at":"2016-11-08T14:39:38Z","closed_at":null,"body":"Panduan: [`rojak_schema_latest.sql`](https://github.com/pyk/rojak/blob/master/rojak-database/rojak_schema_latest.sql).\r\n\r\nPerubahan paling utama yaitu pemindahan asosiasi `news_sentiment` dari sebelumnya `news-candidate` menjadi `news-pair_of_candidates`.\r\n\r\nDeliverable: spesifikasi API v0.3."},"comment":{"url":"https://api.github.com/repos/pyk/rojak/issues/comments/259153291","html_url":"https://github.com/pyk/rojak/issues/180#issuecomment-259153291","issue_url":"https://api.github.com/repos/pyk/rojak/issues/180","id":259153291,"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},"created_at":"2016-11-08T14:39:38Z","updated_at":"2016-11-08T14:39:38Z","body":"## Update\r\n\r\nDari spesifikasi di atas, ada beberapa perubahan:\r\n\r\n1. Pada trait `searchable` dari `news`, tadinya kita berniat menambahkan field untuk pencarian berdasarkan `pairing_id` dan `url`. Pencarian dengan `pairing_id` agak redundan dengan `candidate_id`, karena detail kandidat bisa di-`embed` pada `pairing`, maka kita hilangkan. Untuk `url` juga sepertinya masih belum bisa disupport saat ini (lihat #131), jadinya untuk sementara kita hilangkan juga.\r\n2. Tambahan endpoint `/stats` untuk mendapatkan statistik data pada Rojak saat ini. Data yang saat ini terpikirkan dapat diquery adalah `total_news_count`, `media_count`, `positive_news_count`, `negative_news_count`, `oot_news_count`.\r\n\r\nPR sedang otw, tinggal implemen yang `/stats`, harusnya bisa besok 😄 "}}
{"actor":{"display_login":"bobbypriambodo"}}