{"action":"closed","number":35,"pull_request":{"url":"https://api.github.com/repos/okkur/dailymile/pulls/35","id":170885126,"html_url":"https://github.com/okkur/dailymile/pull/35","diff_url":"https://github.com/okkur/dailymile/pull/35.diff","patch_url":"https://github.com/okkur/dailymile/pull/35.patch","issue_url":"https://api.github.com/repos/okkur/dailymile/issues/35","number":35,"state":"closed","locked":false,"title":"Refactor callServer function and add ability to retrieve active/inactive milestones","user":{"login":"dbriesz","id":20975751,"avatar_url":"https://avatars1.githubusercontent.com/u/20975751?v=4","gravatar_id":"","url":"https://api.github.com/users/dbriesz","html_url":"https://github.com/dbriesz","followers_url":"https://api.github.com/users/dbriesz/followers","following_url":"https://api.github.com/users/dbriesz/following{/other_user}","gists_url":"https://api.github.com/users/dbriesz/gists{/gist_id}","starred_url":"https://api.github.com/users/dbriesz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbriesz/subscriptions","organizations_url":"https://api.github.com/users/dbriesz/orgs","repos_url":"https://api.github.com/users/dbriesz/repos","events_url":"https://api.github.com/users/dbriesz/events{/privacy}","received_events_url":"https://api.github.com/users/dbriesz/received_events","type":"User","site_admin":false},"body":"**What this PR does / why we need it**:\r\nRefactors the callServer function so that it includes pagination and returns a []milestoneAPI. Also adds the ability to retrieve active and inactive milestones.","created_at":"2018-02-22T22:33:33Z","updated_at":"2018-02-23T18:01:03Z","closed_at":"2018-02-23T18:01:03Z","merged_at":"2018-02-23T18:01:03Z","merge_commit_sha":"44a3ecaf5e00fa2021b53595b84a309b900d1897","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/okkur/dailymile/pulls/35/commits","review_comments_url":"https://api.github.com/repos/okkur/dailymile/pulls/35/comments","review_comment_url":"https://api.github.com/repos/okkur/dailymile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/okkur/dailymile/issues/35/comments","statuses_url":"https://api.github.com/repos/okkur/dailymile/statuses/1413d839399e8856542e9a0fcffe51fc5fd99f1d","head":{"label":"dbriesz:refactor-new","ref":"refactor-new","sha":"1413d839399e8856542e9a0fcffe51fc5fd99f1d","user":{"login":"dbriesz","id":20975751,"avatar_url":"https://avatars1.githubusercontent.com/u/20975751?v=4","gravatar_id":"","url":"https://api.github.com/users/dbriesz","html_url":"https://github.com/dbriesz","followers_url":"https://api.github.com/users/dbriesz/followers","following_url":"https://api.github.com/users/dbriesz/following{/other_user}","gists_url":"https://api.github.com/users/dbriesz/gists{/gist_id}","starred_url":"https://api.github.com/users/dbriesz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbriesz/subscriptions","organizations_url":"https://api.github.com/users/dbriesz/orgs","repos_url":"https://api.github.com/users/dbriesz/repos","events_url":"https://api.github.com/users/dbriesz/events{/privacy}","received_events_url":"https://api.github.com/users/dbriesz/received_events","type":"User","site_admin":false},"repo":{"id":117714059,"name":"dailymile","full_name":"dbriesz/dailymile","owner":{"login":"dbriesz","id":20975751,"avatar_url":"https://avatars1.githubusercontent.com/u/20975751?v=4","gravatar_id":"","url":"https://api.github.com/users/dbriesz","html_url":"https://github.com/dbriesz","followers_url":"https://api.github.com/users/dbriesz/followers","following_url":"https://api.github.com/users/dbriesz/following{/other_user}","gists_url":"https://api.github.com/users/dbriesz/gists{/gist_id}","starred_url":"https://api.github.com/users/dbriesz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbriesz/subscriptions","organizations_url":"https://api.github.com/users/dbriesz/orgs","repos_url":"https://api.github.com/users/dbriesz/repos","events_url":"https://api.github.com/users/dbriesz/events{/privacy}","received_events_url":"https://api.github.com/users/dbriesz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dbriesz/dailymile","description":"Daily milestone (todo) generation for Gitlab.","fork":true,"url":"https://api.github.com/repos/dbriesz/dailymile","forks_url":"https://api.github.com/repos/dbriesz/dailymile/forks","keys_url":"https://api.github.com/repos/dbriesz/dailymile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dbriesz/dailymile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dbriesz/dailymile/teams","hooks_url":"https://api.github.com/repos/dbriesz/dailymile/hooks","issue_events_url":"https://api.github.com/repos/dbriesz/dailymile/issues/events{/number}","events_url":"https://api.github.com/repos/dbriesz/dailymile/events","assignees_url":"https://api.github.com/repos/dbriesz/dailymile/assignees{/user}","branches_url":"https://api.github.com/repos/dbriesz/dailymile/branches{/branch}","tags_url":"https://api.github.com/repos/dbriesz/dailymile/tags","blobs_url":"https://api.github.com/repos/dbriesz/dailymile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dbriesz/dailymile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dbriesz/dailymile/git/refs{/sha}","trees_url":"https://api.github.com/repos/dbriesz/dailymile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dbriesz/dailymile/statuses/{sha}","languages_url":"https://api.github.com/repos/dbriesz/dailymile/languages","stargazers_url":"https://api.github.com/repos/dbriesz/dailymile/stargazers","contributors_url":"https://api.github.com/repos/dbriesz/dailymile/contributors","subscribers_url":"https://api.github.com/repos/dbriesz/dailymile/subscribers","subscription_url":"https://api.github.com/repos/dbriesz/dailymile/subscription","commits_url":"https://api.github.com/repos/dbriesz/dailymile/commits{/sha}","git_commits_url":"https://api.github.com/repos/dbriesz/dailymile/git/commits{/sha}","comments_url":"https://api.github.com/repos/dbriesz/dailymile/comments{/number}","issue_comment_url":"https://api.github.com/repos/dbriesz/dailymile/issues/comments{/number}","contents_url":"https://api.github.com/repos/dbriesz/dailymile/contents/{+path}","compare_url":"https://api.github.com/repos/dbriesz/dailymile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dbriesz/dailymile/merges","archive_url":"https://api.github.com/repos/dbriesz/dailymile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dbriesz/dailymile/downloads","issues_url":"https://api.github.com/repos/dbriesz/dailymile/issues{/number}","pulls_url":"https://api.github.com/repos/dbriesz/dailymile/pulls{/number}","milestones_url":"https://api.github.com/repos/dbriesz/dailymile/milestones{/number}","notifications_url":"https://api.github.com/repos/dbriesz/dailymile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dbriesz/dailymile/labels{/name}","releases_url":"https://api.github.com/repos/dbriesz/dailymile/releases{/id}","deployments_url":"https://api.github.com/repos/dbriesz/dailymile/deployments","created_at":"2018-01-16T17:04:40Z","updated_at":"2018-01-16T17:04:41Z","pushed_at":"2018-02-22T22:22:58Z","git_url":"git://github.com/dbriesz/dailymile.git","ssh_url":"git@github.com:dbriesz/dailymile.git","clone_url":"https://github.com/dbriesz/dailymile.git","svn_url":"https://github.com/dbriesz/dailymile","homepage":null,"size":2220,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"okkur:master","ref":"master","sha":"2f2d7826f0d7e0557727ebc93b7a9092afd5aa4d","user":{"login":"okkur","id":31181753,"avatar_url":"https://avatars1.githubusercontent.com/u/31181753?v=4","gravatar_id":"","url":"https://api.github.com/users/okkur","html_url":"https://github.com/okkur","followers_url":"https://api.github.com/users/okkur/followers","following_url":"https://api.github.com/users/okkur/following{/other_user}","gists_url":"https://api.github.com/users/okkur/gists{/gist_id}","starred_url":"https://api.github.com/users/okkur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okkur/subscriptions","organizations_url":"https://api.github.com/users/okkur/orgs","repos_url":"https://api.github.com/users/okkur/repos","events_url":"https://api.github.com/users/okkur/events{/privacy}","received_events_url":"https://api.github.com/users/okkur/received_events","type":"Organization","site_admin":false},"repo":{"id":101048879,"name":"dailymile","full_name":"okkur/dailymile","owner":{"login":"okkur","id":31181753,"avatar_url":"https://avatars1.githubusercontent.com/u/31181753?v=4","gravatar_id":"","url":"https://api.github.com/users/okkur","html_url":"https://github.com/okkur","followers_url":"https://api.github.com/users/okkur/followers","following_url":"https://api.github.com/users/okkur/following{/other_user}","gists_url":"https://api.github.com/users/okkur/gists{/gist_id}","starred_url":"https://api.github.com/users/okkur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okkur/subscriptions","organizations_url":"https://api.github.com/users/okkur/orgs","repos_url":"https://api.github.com/users/okkur/repos","events_url":"https://api.github.com/users/okkur/events{/privacy}","received_events_url":"https://api.github.com/users/okkur/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/okkur/dailymile","description":"Daily milestone (todo) generation for Gitlab.","fork":false,"url":"https://api.github.com/repos/okkur/dailymile","forks_url":"https://api.github.com/repos/okkur/dailymile/forks","keys_url":"https://api.github.com/repos/okkur/dailymile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okkur/dailymile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okkur/dailymile/teams","hooks_url":"https://api.github.com/repos/okkur/dailymile/hooks","issue_events_url":"https://api.github.com/repos/okkur/dailymile/issues/events{/number}","events_url":"https://api.github.com/repos/okkur/dailymile/events","assignees_url":"https://api.github.com/repos/okkur/dailymile/assignees{/user}","branches_url":"https://api.github.com/repos/okkur/dailymile/branches{/branch}","tags_url":"https://api.github.com/repos/okkur/dailymile/tags","blobs_url":"https://api.github.com/repos/okkur/dailymile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okkur/dailymile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okkur/dailymile/git/refs{/sha}","trees_url":"https://api.github.com/repos/okkur/dailymile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okkur/dailymile/statuses/{sha}","languages_url":"https://api.github.com/repos/okkur/dailymile/languages","stargazers_url":"https://api.github.com/repos/okkur/dailymile/stargazers","contributors_url":"https://api.github.com/repos/okkur/dailymile/contributors","subscribers_url":"https://api.github.com/repos/okkur/dailymile/subscribers","subscription_url":"https://api.github.com/repos/okkur/dailymile/subscription","commits_url":"https://api.github.com/repos/okkur/dailymile/commits{/sha}","git_commits_url":"https://api.github.com/repos/okkur/dailymile/git/commits{/sha}","comments_url":"https://api.github.com/repos/okkur/dailymile/comments{/number}","issue_comment_url":"https://api.github.com/repos/okkur/dailymile/issues/comments{/number}","contents_url":"https://api.github.com/repos/okkur/dailymile/contents/{+path}","compare_url":"https://api.github.com/repos/okkur/dailymile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okkur/dailymile/merges","archive_url":"https://api.github.com/repos/okkur/dailymile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okkur/dailymile/downloads","issues_url":"https://api.github.com/repos/okkur/dailymile/issues{/number}","pulls_url":"https://api.github.com/repos/okkur/dailymile/pulls{/number}","milestones_url":"https://api.github.com/repos/okkur/dailymile/milestones{/number}","notifications_url":"https://api.github.com/repos/okkur/dailymile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okkur/dailymile/labels{/name}","releases_url":"https://api.github.com/repos/okkur/dailymile/releases{/id}","deployments_url":"https://api.github.com/repos/okkur/dailymile/deployments","created_at":"2017-08-22T09:59:33Z","updated_at":"2017-08-25T21:50:07Z","pushed_at":"2018-02-23T18:01:03Z","git_url":"git://github.com/okkur/dailymile.git","ssh_url":"git@github.com:okkur/dailymile.git","clone_url":"https://github.com/okkur/dailymile.git","svn_url":"https://github.com/okkur/dailymile","homepage":null,"size":2215,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":3,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/okkur/dailymile/pulls/35"},"html":{"href":"https://github.com/okkur/dailymile/pull/35"},"issue":{"href":"https://api.github.com/repos/okkur/dailymile/issues/35"},"comments":{"href":"https://api.github.com/repos/okkur/dailymile/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/okkur/dailymile/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/okkur/dailymile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/okkur/dailymile/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/okkur/dailymile/statuses/1413d839399e8856542e9a0fcffe51fc5fd99f1d"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"stp-ip","id":3768412,"avatar_url":"https://avatars2.githubusercontent.com/u/3768412?v=4","gravatar_id":"","url":"https://api.github.com/users/stp-ip","html_url":"https://github.com/stp-ip","followers_url":"https://api.github.com/users/stp-ip/followers","following_url":"https://api.github.com/users/stp-ip/following{/other_user}","gists_url":"https://api.github.com/users/stp-ip/gists{/gist_id}","starred_url":"https://api.github.com/users/stp-ip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stp-ip/subscriptions","organizations_url":"https://api.github.com/users/stp-ip/orgs","repos_url":"https://api.github.com/users/stp-ip/repos","events_url":"https://api.github.com/users/stp-ip/events{/privacy}","received_events_url":"https://api.github.com/users/stp-ip/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":9,"additions":103,"deletions":79,"changed_files":2}}
{"actor":{"display_login":"stp-ip"}}