{"action":"opened","number":1893,"pull_request":{"url":"https://api.github.com/repos/coreos/rkt/pulls/1893","id":54058034,"html_url":"https://github.com/coreos/rkt/pull/1893","diff_url":"https://github.com/coreos/rkt/pull/1893.diff","patch_url":"https://github.com/coreos/rkt/pull/1893.patch","issue_url":"https://api.github.com/repos/coreos/rkt/issues/1893","number":1893,"state":"open","locked":false,"title":"api_service: Minor refactoring on what to return for different pod state.","user":{"login":"yifan-gu","id":3278588,"avatar_url":"https://avatars.githubusercontent.com/u/3278588?v=3","gravatar_id":"","url":"https://api.github.com/users/yifan-gu","html_url":"https://github.com/yifan-gu","followers_url":"https://api.github.com/users/yifan-gu/followers","following_url":"https://api.github.com/users/yifan-gu/following{/other_user}","gists_url":"https://api.github.com/users/yifan-gu/gists{/gist_id}","starred_url":"https://api.github.com/users/yifan-gu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifan-gu/subscriptions","organizations_url":"https://api.github.com/users/yifan-gu/orgs","repos_url":"https://api.github.com/users/yifan-gu/repos","events_url":"https://api.github.com/users/yifan-gu/events{/privacy}","received_events_url":"https://api.github.com/users/yifan-gu/received_events","type":"User","site_admin":false},"body":"If a pod is in Embryo, Preparing, AbortedPrepare state, we only return the id and state.\r\n    \r\nIf a pod is in other states, the pod manifest is returned.\r\n    \r\nValid pid and networks are only returned when a pod is in Running.\r\n","created_at":"2015-12-18T02:22:48Z","updated_at":"2015-12-18T02:22:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7eb68798ffc458170e64caa058f87f833f8ed01b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coreos/rkt/pulls/1893/commits","review_comments_url":"https://api.github.com/repos/coreos/rkt/pulls/1893/comments","review_comment_url":"https://api.github.com/repos/coreos/rkt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/rkt/issues/1893/comments","statuses_url":"https://api.github.com/repos/coreos/rkt/statuses/999eebbaa9b987ca9ce81e0655a1d3a9edfea9d9","head":{"label":"yifan-gu:fix_api_service","ref":"fix_api_service","sha":"999eebbaa9b987ca9ce81e0655a1d3a9edfea9d9","user":{"login":"yifan-gu","id":3278588,"avatar_url":"https://avatars.githubusercontent.com/u/3278588?v=3","gravatar_id":"","url":"https://api.github.com/users/yifan-gu","html_url":"https://github.com/yifan-gu","followers_url":"https://api.github.com/users/yifan-gu/followers","following_url":"https://api.github.com/users/yifan-gu/following{/other_user}","gists_url":"https://api.github.com/users/yifan-gu/gists{/gist_id}","starred_url":"https://api.github.com/users/yifan-gu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifan-gu/subscriptions","organizations_url":"https://api.github.com/users/yifan-gu/orgs","repos_url":"https://api.github.com/users/yifan-gu/repos","events_url":"https://api.github.com/users/yifan-gu/events{/privacy}","received_events_url":"https://api.github.com/users/yifan-gu/received_events","type":"User","site_admin":false},"repo":{"id":31437138,"name":"rocket","full_name":"yifan-gu/rocket","owner":{"login":"yifan-gu","id":3278588,"avatar_url":"https://avatars.githubusercontent.com/u/3278588?v=3","gravatar_id":"","url":"https://api.github.com/users/yifan-gu","html_url":"https://github.com/yifan-gu","followers_url":"https://api.github.com/users/yifan-gu/followers","following_url":"https://api.github.com/users/yifan-gu/following{/other_user}","gists_url":"https://api.github.com/users/yifan-gu/gists{/gist_id}","starred_url":"https://api.github.com/users/yifan-gu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifan-gu/subscriptions","organizations_url":"https://api.github.com/users/yifan-gu/orgs","repos_url":"https://api.github.com/users/yifan-gu/repos","events_url":"https://api.github.com/users/yifan-gu/events{/privacy}","received_events_url":"https://api.github.com/users/yifan-gu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yifan-gu/rocket","description":"App Container runtime","fork":true,"url":"https://api.github.com/repos/yifan-gu/rocket","forks_url":"https://api.github.com/repos/yifan-gu/rocket/forks","keys_url":"https://api.github.com/repos/yifan-gu/rocket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yifan-gu/rocket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yifan-gu/rocket/teams","hooks_url":"https://api.github.com/repos/yifan-gu/rocket/hooks","issue_events_url":"https://api.github.com/repos/yifan-gu/rocket/issues/events{/number}","events_url":"https://api.github.com/repos/yifan-gu/rocket/events","assignees_url":"https://api.github.com/repos/yifan-gu/rocket/assignees{/user}","branches_url":"https://api.github.com/repos/yifan-gu/rocket/branches{/branch}","tags_url":"https://api.github.com/repos/yifan-gu/rocket/tags","blobs_url":"https://api.github.com/repos/yifan-gu/rocket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yifan-gu/rocket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yifan-gu/rocket/git/refs{/sha}","trees_url":"https://api.github.com/repos/yifan-gu/rocket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yifan-gu/rocket/statuses/{sha}","languages_url":"https://api.github.com/repos/yifan-gu/rocket/languages","stargazers_url":"https://api.github.com/repos/yifan-gu/rocket/stargazers","contributors_url":"https://api.github.com/repos/yifan-gu/rocket/contributors","subscribers_url":"https://api.github.com/repos/yifan-gu/rocket/subscribers","subscription_url":"https://api.github.com/repos/yifan-gu/rocket/subscription","commits_url":"https://api.github.com/repos/yifan-gu/rocket/commits{/sha}","git_commits_url":"https://api.github.com/repos/yifan-gu/rocket/git/commits{/sha}","comments_url":"https://api.github.com/repos/yifan-gu/rocket/comments{/number}","issue_comment_url":"https://api.github.com/repos/yifan-gu/rocket/issues/comments{/number}","contents_url":"https://api.github.com/repos/yifan-gu/rocket/contents/{+path}","compare_url":"https://api.github.com/repos/yifan-gu/rocket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yifan-gu/rocket/merges","archive_url":"https://api.github.com/repos/yifan-gu/rocket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yifan-gu/rocket/downloads","issues_url":"https://api.github.com/repos/yifan-gu/rocket/issues{/number}","pulls_url":"https://api.github.com/repos/yifan-gu/rocket/pulls{/number}","milestones_url":"https://api.github.com/repos/yifan-gu/rocket/milestones{/number}","notifications_url":"https://api.github.com/repos/yifan-gu/rocket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yifan-gu/rocket/labels{/name}","releases_url":"https://api.github.com/repos/yifan-gu/rocket/releases{/id}","created_at":"2015-02-27T20:12:42Z","updated_at":"2015-04-01T01:18:09Z","pushed_at":"2015-12-18T02:21:48Z","git_url":"git://github.com/yifan-gu/rocket.git","ssh_url":"git@github.com:yifan-gu/rocket.git","clone_url":"https://github.com/yifan-gu/rocket.git","svn_url":"https://github.com/yifan-gu/rocket","homepage":"","size":17908,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"faee138c9a397c975311692903a6eb168e2178ea","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":26509369,"name":"rkt","full_name":"coreos/rkt","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/rkt","description":"rkt is an App Container runtime for Linux","fork":false,"url":"https://api.github.com/repos/coreos/rkt","forks_url":"https://api.github.com/repos/coreos/rkt/forks","keys_url":"https://api.github.com/repos/coreos/rkt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/rkt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/rkt/teams","hooks_url":"https://api.github.com/repos/coreos/rkt/hooks","issue_events_url":"https://api.github.com/repos/coreos/rkt/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/rkt/events","assignees_url":"https://api.github.com/repos/coreos/rkt/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/rkt/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/rkt/tags","blobs_url":"https://api.github.com/repos/coreos/rkt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/rkt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/rkt/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/rkt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/rkt/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/rkt/languages","stargazers_url":"https://api.github.com/repos/coreos/rkt/stargazers","contributors_url":"https://api.github.com/repos/coreos/rkt/contributors","subscribers_url":"https://api.github.com/repos/coreos/rkt/subscribers","subscription_url":"https://api.github.com/repos/coreos/rkt/subscription","commits_url":"https://api.github.com/repos/coreos/rkt/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/rkt/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/rkt/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/rkt/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/rkt/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/rkt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/rkt/merges","archive_url":"https://api.github.com/repos/coreos/rkt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/rkt/downloads","issues_url":"https://api.github.com/repos/coreos/rkt/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/rkt/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/rkt/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/rkt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/rkt/labels{/name}","releases_url":"https://api.github.com/repos/coreos/rkt/releases{/id}","created_at":"2014-11-11T23:13:18Z","updated_at":"2015-12-17T11:08:25Z","pushed_at":"2015-12-18T02:22:48Z","git_url":"git://github.com/coreos/rkt.git","ssh_url":"git@github.com:coreos/rkt.git","clone_url":"https://github.com/coreos/rkt.git","svn_url":"https://github.com/coreos/rkt","homepage":"","size":21607,"stargazers_count":4937,"watchers_count":4937,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":420,"mirror_url":null,"open_issues_count":204,"forks":420,"open_issues":204,"watchers":4937,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/rkt/pulls/1893"},"html":{"href":"https://github.com/coreos/rkt/pull/1893"},"issue":{"href":"https://api.github.com/repos/coreos/rkt/issues/1893"},"comments":{"href":"https://api.github.com/repos/coreos/rkt/issues/1893/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/rkt/pulls/1893/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/rkt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/rkt/pulls/1893/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/rkt/statuses/999eebbaa9b987ca9ce81e0655a1d3a9edfea9d9"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":62,"deletions":59,"changed_files":3}}