{"action":"opened","number":889,"pull_request":{"url":"https://api.github.com/repos/docker/docker-py/pulls/889","id":55046865,"html_url":"https://github.com/docker/docker-py/pull/889","diff_url":"https://github.com/docker/docker-py/pull/889.diff","patch_url":"https://github.com/docker/docker-py/pull/889.patch","issue_url":"https://api.github.com/repos/docker/docker-py/issues/889","number":889,"state":"open","locked":false,"title":"Improve host devices support","user":{"login":"shin-","id":1086876,"avatar_url":"https://avatars.githubusercontent.com/u/1086876?v=3","gravatar_id":"","url":"https://api.github.com/users/shin-","html_url":"https://github.com/shin-","followers_url":"https://api.github.com/users/shin-/followers","following_url":"https://api.github.com/users/shin-/following{/other_user}","gists_url":"https://api.github.com/users/shin-/gists{/gist_id}","starred_url":"https://api.github.com/users/shin-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shin-/subscriptions","organizations_url":"https://api.github.com/users/shin-/orgs","repos_url":"https://api.github.com/users/shin-/repos","events_url":"https://api.github.com/users/shin-/events{/privacy}","received_events_url":"https://api.github.com/users/shin-/received_events","type":"User","site_admin":false},"body":"- Add unit tests for `utils.parse_devices`\r\n- Rewrite documentation\r\n- Support dict and string format for device declaration\r\n\r\nFixes #725 ","created_at":"2016-01-05T02:02:04Z","updated_at":"2016-01-05T02:02:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker-py/pulls/889/commits","review_comments_url":"https://api.github.com/repos/docker/docker-py/pulls/889/comments","review_comment_url":"https://api.github.com/repos/docker/docker-py/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker-py/issues/889/comments","statuses_url":"https://api.github.com/repos/docker/docker-py/statuses/ba0543e4acb6bf3268ae453fa6fead1a06ba660a","head":{"label":"docker:725-devices-format","ref":"725-devices-format","sha":"ba0543e4acb6bf3268ae453fa6fead1a06ba660a","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":10247874,"name":"docker-py","full_name":"docker/docker-py","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker-py","description":"An API client for docker written in Python","fork":false,"url":"https://api.github.com/repos/docker/docker-py","forks_url":"https://api.github.com/repos/docker/docker-py/forks","keys_url":"https://api.github.com/repos/docker/docker-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker-py/teams","hooks_url":"https://api.github.com/repos/docker/docker-py/hooks","issue_events_url":"https://api.github.com/repos/docker/docker-py/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker-py/events","assignees_url":"https://api.github.com/repos/docker/docker-py/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker-py/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker-py/tags","blobs_url":"https://api.github.com/repos/docker/docker-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker-py/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker-py/languages","stargazers_url":"https://api.github.com/repos/docker/docker-py/stargazers","contributors_url":"https://api.github.com/repos/docker/docker-py/contributors","subscribers_url":"https://api.github.com/repos/docker/docker-py/subscribers","subscription_url":"https://api.github.com/repos/docker/docker-py/subscription","commits_url":"https://api.github.com/repos/docker/docker-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker-py/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker-py/merges","archive_url":"https://api.github.com/repos/docker/docker-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker-py/downloads","issues_url":"https://api.github.com/repos/docker/docker-py/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker-py/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker-py/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker-py/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker-py/releases{/id}","created_at":"2013-05-23T16:15:07Z","updated_at":"2016-01-04T12:32:16Z","pushed_at":"2016-01-05T02:02:04Z","git_url":"git://github.com/docker/docker-py.git","ssh_url":"git@github.com:docker/docker-py.git","clone_url":"https://github.com/docker/docker-py.git","svn_url":"https://github.com/docker/docker-py","homepage":"","size":3440,"stargazers_count":1231,"watchers_count":1231,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":470,"mirror_url":null,"open_issues_count":66,"forks":470,"open_issues":66,"watchers":1231,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"ee0788e4ad07349bb2856a0f1bb40b3e9501d622","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":10247874,"name":"docker-py","full_name":"docker/docker-py","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker-py","description":"An API client for docker written in Python","fork":false,"url":"https://api.github.com/repos/docker/docker-py","forks_url":"https://api.github.com/repos/docker/docker-py/forks","keys_url":"https://api.github.com/repos/docker/docker-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker-py/teams","hooks_url":"https://api.github.com/repos/docker/docker-py/hooks","issue_events_url":"https://api.github.com/repos/docker/docker-py/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker-py/events","assignees_url":"https://api.github.com/repos/docker/docker-py/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker-py/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker-py/tags","blobs_url":"https://api.github.com/repos/docker/docker-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker-py/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker-py/languages","stargazers_url":"https://api.github.com/repos/docker/docker-py/stargazers","contributors_url":"https://api.github.com/repos/docker/docker-py/contributors","subscribers_url":"https://api.github.com/repos/docker/docker-py/subscribers","subscription_url":"https://api.github.com/repos/docker/docker-py/subscription","commits_url":"https://api.github.com/repos/docker/docker-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker-py/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker-py/merges","archive_url":"https://api.github.com/repos/docker/docker-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker-py/downloads","issues_url":"https://api.github.com/repos/docker/docker-py/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker-py/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker-py/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker-py/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker-py/releases{/id}","created_at":"2013-05-23T16:15:07Z","updated_at":"2016-01-04T12:32:16Z","pushed_at":"2016-01-05T02:02:04Z","git_url":"git://github.com/docker/docker-py.git","ssh_url":"git@github.com:docker/docker-py.git","clone_url":"https://github.com/docker/docker-py.git","svn_url":"https://github.com/docker/docker-py","homepage":"","size":3440,"stargazers_count":1231,"watchers_count":1231,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":470,"mirror_url":null,"open_issues_count":66,"forks":470,"open_issues":66,"watchers":1231,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker-py/pulls/889"},"html":{"href":"https://github.com/docker/docker-py/pull/889"},"issue":{"href":"https://api.github.com/repos/docker/docker-py/issues/889"},"comments":{"href":"https://api.github.com/repos/docker/docker-py/issues/889/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker-py/pulls/889/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker-py/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker-py/pulls/889/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker-py/statuses/ba0543e4acb6bf3268ae453fa6fead1a06ba660a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":83,"deletions":20,"changed_files":5}}