{"action":"created","comment":{"url":"https://api.github.com/repos/docker-java/docker-java/pulls/comments/46485208","id":46485208,"diff_hunk":"@@ -119,8 +121,37 @@\n \n     public LogContainerCmd logContainerCmd(String containerId);\n \n+    /**\n+     * Copy resource from container to local machine.\n+     * Since docker API version 1.20 and above.\n+     *\n+     * @param containerId id of the container\n+     * @param resource    path to container's resource\n+     * @return created command\n+     */\n+    public CopyArchiveFromContainerCmd copyArchiveFromContainerCmd(String containerId, String resource);\n+\n+    /**\n+     * Copy resource from container to local machine.\n+     * Deprecated, since docker API version 1.20 and above use copyArchiveFromContainerCmd instead.","path":"src/main/java/com/github/dockerjava/api/DockerClient.java","position":25,"original_position":25,"commit_id":"82320496385e7483ae535fd8da1122c361d6be26","original_commit_id":"82320496385e7483ae535fd8da1122c361d6be26","user":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"body":"`@deprecated` javadoc","created_at":"2015-12-02T22:23:53Z","updated_at":"2015-12-02T22:23:53Z","html_url":"https://github.com/docker-java/docker-java/pull/347#discussion_r46485208","pull_request_url":"https://api.github.com/repos/docker-java/docker-java/pulls/347","_links":{"self":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/comments/46485208"},"html":{"href":"https://github.com/docker-java/docker-java/pull/347#discussion_r46485208"},"pull_request":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/347"}}},"pull_request":{"url":"https://api.github.com/repos/docker-java/docker-java/pulls/347","id":47990731,"html_url":"https://github.com/docker-java/docker-java/pull/347","diff_url":"https://github.com/docker-java/docker-java/pull/347.diff","patch_url":"https://github.com/docker-java/docker-java/pull/347.patch","issue_url":"https://api.github.com/repos/docker-java/docker-java/issues/347","number":347,"state":"open","locked":false,"title":"Implementations of Copy file to container command","user":{"login":"vuminhkh","id":6248367,"avatar_url":"https://avatars.githubusercontent.com/u/6248367?v=3","gravatar_id":"","url":"https://api.github.com/users/vuminhkh","html_url":"https://github.com/vuminhkh","followers_url":"https://api.github.com/users/vuminhkh/followers","following_url":"https://api.github.com/users/vuminhkh/following{/other_user}","gists_url":"https://api.github.com/users/vuminhkh/gists{/gist_id}","starred_url":"https://api.github.com/users/vuminhkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuminhkh/subscriptions","organizations_url":"https://api.github.com/users/vuminhkh/orgs","repos_url":"https://api.github.com/users/vuminhkh/repos","events_url":"https://api.github.com/users/vuminhkh/events{/privacy}","received_events_url":"https://api.github.com/users/vuminhkh/received_events","type":"User","site_admin":false},"body":"Hello,\r\n\r\nI've implemented \"Copy file to container command\", but it seems that migrating to 1.20 API breaks other part (8 tests failure). The commands that I modified, the test works well.\r\n\r\nAs I don't have enough knowledge of the project to fix them all, I still perform the pull request, hoping that it will be useful.\r\n\r\nThanks,\r\n\r\nMinh Khang VU\r\n\r\n","created_at":"2015-10-17T17:07:52Z","updated_at":"2015-12-02T22:23:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6590bd3e99bcbd82f4bdfc4783c170a75717054c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker-java/docker-java/pulls/347/commits","review_comments_url":"https://api.github.com/repos/docker-java/docker-java/pulls/347/comments","review_comment_url":"https://api.github.com/repos/docker-java/docker-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker-java/docker-java/issues/347/comments","statuses_url":"https://api.github.com/repos/docker-java/docker-java/statuses/82320496385e7483ae535fd8da1122c361d6be26","head":{"label":"vuminhkh:master","ref":"master","sha":"82320496385e7483ae535fd8da1122c361d6be26","user":{"login":"vuminhkh","id":6248367,"avatar_url":"https://avatars.githubusercontent.com/u/6248367?v=3","gravatar_id":"","url":"https://api.github.com/users/vuminhkh","html_url":"https://github.com/vuminhkh","followers_url":"https://api.github.com/users/vuminhkh/followers","following_url":"https://api.github.com/users/vuminhkh/following{/other_user}","gists_url":"https://api.github.com/users/vuminhkh/gists{/gist_id}","starred_url":"https://api.github.com/users/vuminhkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuminhkh/subscriptions","organizations_url":"https://api.github.com/users/vuminhkh/orgs","repos_url":"https://api.github.com/users/vuminhkh/repos","events_url":"https://api.github.com/users/vuminhkh/events{/privacy}","received_events_url":"https://api.github.com/users/vuminhkh/received_events","type":"User","site_admin":false},"repo":{"id":44432851,"name":"docker-java","full_name":"vuminhkh/docker-java","owner":{"login":"vuminhkh","id":6248367,"avatar_url":"https://avatars.githubusercontent.com/u/6248367?v=3","gravatar_id":"","url":"https://api.github.com/users/vuminhkh","html_url":"https://github.com/vuminhkh","followers_url":"https://api.github.com/users/vuminhkh/followers","following_url":"https://api.github.com/users/vuminhkh/following{/other_user}","gists_url":"https://api.github.com/users/vuminhkh/gists{/gist_id}","starred_url":"https://api.github.com/users/vuminhkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuminhkh/subscriptions","organizations_url":"https://api.github.com/users/vuminhkh/orgs","repos_url":"https://api.github.com/users/vuminhkh/repos","events_url":"https://api.github.com/users/vuminhkh/events{/privacy}","received_events_url":"https://api.github.com/users/vuminhkh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vuminhkh/docker-java","description":"Java Docker API Client","fork":true,"url":"https://api.github.com/repos/vuminhkh/docker-java","forks_url":"https://api.github.com/repos/vuminhkh/docker-java/forks","keys_url":"https://api.github.com/repos/vuminhkh/docker-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vuminhkh/docker-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vuminhkh/docker-java/teams","hooks_url":"https://api.github.com/repos/vuminhkh/docker-java/hooks","issue_events_url":"https://api.github.com/repos/vuminhkh/docker-java/issues/events{/number}","events_url":"https://api.github.com/repos/vuminhkh/docker-java/events","assignees_url":"https://api.github.com/repos/vuminhkh/docker-java/assignees{/user}","branches_url":"https://api.github.com/repos/vuminhkh/docker-java/branches{/branch}","tags_url":"https://api.github.com/repos/vuminhkh/docker-java/tags","blobs_url":"https://api.github.com/repos/vuminhkh/docker-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vuminhkh/docker-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vuminhkh/docker-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/vuminhkh/docker-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vuminhkh/docker-java/statuses/{sha}","languages_url":"https://api.github.com/repos/vuminhkh/docker-java/languages","stargazers_url":"https://api.github.com/repos/vuminhkh/docker-java/stargazers","contributors_url":"https://api.github.com/repos/vuminhkh/docker-java/contributors","subscribers_url":"https://api.github.com/repos/vuminhkh/docker-java/subscribers","subscription_url":"https://api.github.com/repos/vuminhkh/docker-java/subscription","commits_url":"https://api.github.com/repos/vuminhkh/docker-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/vuminhkh/docker-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/vuminhkh/docker-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/vuminhkh/docker-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/vuminhkh/docker-java/contents/{+path}","compare_url":"https://api.github.com/repos/vuminhkh/docker-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vuminhkh/docker-java/merges","archive_url":"https://api.github.com/repos/vuminhkh/docker-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vuminhkh/docker-java/downloads","issues_url":"https://api.github.com/repos/vuminhkh/docker-java/issues{/number}","pulls_url":"https://api.github.com/repos/vuminhkh/docker-java/pulls{/number}","milestones_url":"https://api.github.com/repos/vuminhkh/docker-java/milestones{/number}","notifications_url":"https://api.github.com/repos/vuminhkh/docker-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vuminhkh/docker-java/labels{/name}","releases_url":"https://api.github.com/repos/vuminhkh/docker-java/releases{/id}","created_at":"2015-10-17T10:27:20Z","updated_at":"2015-10-17T10:27:23Z","pushed_at":"2015-11-27T21:52:59Z","git_url":"git://github.com/vuminhkh/docker-java.git","ssh_url":"git@github.com:vuminhkh/docker-java.git","clone_url":"https://github.com/vuminhkh/docker-java.git","svn_url":"https://github.com/vuminhkh/docker-java","homepage":"","size":2301,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"docker-java:master","ref":"master","sha":"570fa096b681993dc99a987ed526d7c9b08dd2b7","user":{"login":"docker-java","id":7772003,"avatar_url":"https://avatars.githubusercontent.com/u/7772003?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-java","html_url":"https://github.com/docker-java","followers_url":"https://api.github.com/users/docker-java/followers","following_url":"https://api.github.com/users/docker-java/following{/other_user}","gists_url":"https://api.github.com/users/docker-java/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-java/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-java/subscriptions","organizations_url":"https://api.github.com/users/docker-java/orgs","repos_url":"https://api.github.com/users/docker-java/repos","events_url":"https://api.github.com/users/docker-java/events{/privacy}","received_events_url":"https://api.github.com/users/docker-java/received_events","type":"Organization","site_admin":false},"repo":{"id":20415251,"name":"docker-java","full_name":"docker-java/docker-java","owner":{"login":"docker-java","id":7772003,"avatar_url":"https://avatars.githubusercontent.com/u/7772003?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-java","html_url":"https://github.com/docker-java","followers_url":"https://api.github.com/users/docker-java/followers","following_url":"https://api.github.com/users/docker-java/following{/other_user}","gists_url":"https://api.github.com/users/docker-java/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-java/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-java/subscriptions","organizations_url":"https://api.github.com/users/docker-java/orgs","repos_url":"https://api.github.com/users/docker-java/repos","events_url":"https://api.github.com/users/docker-java/events{/privacy}","received_events_url":"https://api.github.com/users/docker-java/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker-java/docker-java","description":"Java Docker API Client","fork":true,"url":"https://api.github.com/repos/docker-java/docker-java","forks_url":"https://api.github.com/repos/docker-java/docker-java/forks","keys_url":"https://api.github.com/repos/docker-java/docker-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker-java/docker-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker-java/docker-java/teams","hooks_url":"https://api.github.com/repos/docker-java/docker-java/hooks","issue_events_url":"https://api.github.com/repos/docker-java/docker-java/issues/events{/number}","events_url":"https://api.github.com/repos/docker-java/docker-java/events","assignees_url":"https://api.github.com/repos/docker-java/docker-java/assignees{/user}","branches_url":"https://api.github.com/repos/docker-java/docker-java/branches{/branch}","tags_url":"https://api.github.com/repos/docker-java/docker-java/tags","blobs_url":"https://api.github.com/repos/docker-java/docker-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker-java/docker-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker-java/docker-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker-java/docker-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker-java/docker-java/statuses/{sha}","languages_url":"https://api.github.com/repos/docker-java/docker-java/languages","stargazers_url":"https://api.github.com/repos/docker-java/docker-java/stargazers","contributors_url":"https://api.github.com/repos/docker-java/docker-java/contributors","subscribers_url":"https://api.github.com/repos/docker-java/docker-java/subscribers","subscription_url":"https://api.github.com/repos/docker-java/docker-java/subscription","commits_url":"https://api.github.com/repos/docker-java/docker-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker-java/docker-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker-java/docker-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker-java/docker-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker-java/docker-java/contents/{+path}","compare_url":"https://api.github.com/repos/docker-java/docker-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker-java/docker-java/merges","archive_url":"https://api.github.com/repos/docker-java/docker-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker-java/docker-java/downloads","issues_url":"https://api.github.com/repos/docker-java/docker-java/issues{/number}","pulls_url":"https://api.github.com/repos/docker-java/docker-java/pulls{/number}","milestones_url":"https://api.github.com/repos/docker-java/docker-java/milestones{/number}","notifications_url":"https://api.github.com/repos/docker-java/docker-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker-java/docker-java/labels{/name}","releases_url":"https://api.github.com/repos/docker-java/docker-java/releases{/id}","created_at":"2014-06-02T18:47:31Z","updated_at":"2015-11-30T04:33:10Z","pushed_at":"2015-12-02T22:20:19Z","git_url":"git://github.com/docker-java/docker-java.git","ssh_url":"git@github.com:docker-java/docker-java.git","clone_url":"https://github.com/docker-java/docker-java.git","svn_url":"https://github.com/docker-java/docker-java","homepage":"","size":2775,"stargazers_count":278,"watchers_count":278,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":191,"mirror_url":null,"open_issues_count":40,"forks":191,"open_issues":40,"watchers":278,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/347"},"html":{"href":"https://github.com/docker-java/docker-java/pull/347"},"issue":{"href":"https://api.github.com/repos/docker-java/docker-java/issues/347"},"comments":{"href":"https://api.github.com/repos/docker-java/docker-java/issues/347/comments"},"review_comments":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/347/comments"},"review_comment":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/347/commits"},"statuses":{"href":"https://api.github.com/repos/docker-java/docker-java/statuses/82320496385e7483ae535fd8da1122c361d6be26"}}}}