{"action":"created","issue":{"url":"https://api.github.com/repos/Pirate-Parties-International/PPI-rest-api/issues/4","repository_url":"https://api.github.com/repos/Pirate-Parties-International/PPI-rest-api","labels_url":"https://api.github.com/repos/Pirate-Parties-International/PPI-rest-api/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Pirate-Parties-International/PPI-rest-api/issues/4/comments","events_url":"https://api.github.com/repos/Pirate-Parties-International/PPI-rest-api/issues/4/events","html_url":"https://github.com/Pirate-Parties-International/PPI-rest-api/issues/4","id":38839906,"number":4,"title":"Add filter parameter to API","user":{"login":"Putr","id":616239,"avatar_url":"https://avatars.githubusercontent.com/u/616239?v=3","gravatar_id":"","url":"https://api.github.com/users/Putr","html_url":"https://github.com/Putr","followers_url":"https://api.github.com/users/Putr/followers","following_url":"https://api.github.com/users/Putr/following{/other_user}","gists_url":"https://api.github.com/users/Putr/gists{/gist_id}","starred_url":"https://api.github.com/users/Putr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Putr/subscriptions","organizations_url":"https://api.github.com/users/Putr/orgs","repos_url":"https://api.github.com/users/Putr/repos","events_url":"https://api.github.com/users/Putr/events{/privacy}","received_events_url":"https://api.github.com/users/Putr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Pirate-Parties-International/PPI-rest-api/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"j-h-s","id":17653575,"avatar_url":"https://avatars.githubusercontent.com/u/17653575?v=3","gravatar_id":"","url":"https://api.github.com/users/j-h-s","html_url":"https://github.com/j-h-s","followers_url":"https://api.github.com/users/j-h-s/followers","following_url":"https://api.github.com/users/j-h-s/following{/other_user}","gists_url":"https://api.github.com/users/j-h-s/gists{/gist_id}","starred_url":"https://api.github.com/users/j-h-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-h-s/subscriptions","organizations_url":"https://api.github.com/users/j-h-s/orgs","repos_url":"https://api.github.com/users/j-h-s/repos","events_url":"https://api.github.com/users/j-h-s/events{/privacy}","received_events_url":"https://api.github.com/users/j-h-s/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Pirate-Parties-International/PPI-rest-api/milestones/2","html_url":"https://github.com/Pirate-Parties-International/PPI-rest-api/milestones/Alpha%202","labels_url":"https://api.github.com/repos/Pirate-Parties-International/PPI-rest-api/milestones/2/labels","id":1572838,"number":2,"title":"Alpha 2","description":"","creator":{"login":"Putr","id":616239,"avatar_url":"https://avatars.githubusercontent.com/u/616239?v=3","gravatar_id":"","url":"https://api.github.com/users/Putr","html_url":"https://github.com/Putr","followers_url":"https://api.github.com/users/Putr/followers","following_url":"https://api.github.com/users/Putr/following{/other_user}","gists_url":"https://api.github.com/users/Putr/gists{/gist_id}","starred_url":"https://api.github.com/users/Putr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Putr/subscriptions","organizations_url":"https://api.github.com/users/Putr/orgs","repos_url":"https://api.github.com/users/Putr/repos","events_url":"https://api.github.com/users/Putr/events{/privacy}","received_events_url":"https://api.github.com/users/Putr/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":5,"state":"open","created_at":"2016-02-09T16:07:29Z","updated_at":"2016-02-18T15:01:59Z","due_on":"2016-02-14T23:00:00Z","closed_at":null},"comments":2,"created_at":"2014-07-27T14:29:40Z","updated_at":"2016-03-16T18:05:34Z","closed_at":null,"body":"Add filtering to the /api/v1/parties/ endpoint.\r\n\r\nThis should filter by:\r\n- member of PPI yes/no\r\n- member of PPEU yes/no\r\n- defunct yes/no\r\n- country (pass country code, get parties from that country only)\r\n- type\r\n- region\r\n- parentParty\r\n\r\nDon't forget to add it to the /doc/api/v1 documentation (via annotations)."},"comment":{"url":"https://api.github.com/repos/Pirate-Parties-International/PPI-rest-api/issues/comments/197461379","html_url":"https://github.com/Pirate-Parties-International/PPI-rest-api/issues/4#issuecomment-197461379","issue_url":"https://api.github.com/repos/Pirate-Parties-International/PPI-rest-api/issues/4","id":197461379,"user":{"login":"j-h-s","id":17653575,"avatar_url":"https://avatars.githubusercontent.com/u/17653575?v=3","gravatar_id":"","url":"https://api.github.com/users/j-h-s","html_url":"https://github.com/j-h-s","followers_url":"https://api.github.com/users/j-h-s/followers","following_url":"https://api.github.com/users/j-h-s/following{/other_user}","gists_url":"https://api.github.com/users/j-h-s/gists{/gist_id}","starred_url":"https://api.github.com/users/j-h-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-h-s/subscriptions","organizations_url":"https://api.github.com/users/j-h-s/orgs","repos_url":"https://api.github.com/users/j-h-s/repos","events_url":"https://api.github.com/users/j-h-s/events{/privacy}","received_events_url":"https://api.github.com/users/j-h-s/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T18:05:34Z","updated_at":"2016-03-16T18:05:34Z","body":"@Putr Is that something like what you had in mind?"}}