{"action":"created","comment":{"url":"https://api.github.com/repos/ipfs/http-api-spec/pulls/comments/53382309","id":53382309,"diff_hunk":"@@ -1738,6 +1738,699 @@ root will not be listable, as it is virtual. Access known paths directly.\n ## restart\n \n # Group update\n+Update IPFS\n+   \n+## update [GET /update]\n+\n++ Request Without Arguments\n+\n+    #### curl\n+\n+        curl -i \"http://localhost:5001/api/v0/update\"\n+\n+    + Body\n+\n+        ```\n+        curl -i \"http://localhost:5001/api/v0/update\"\n+        ```\n+\n++ Response 200\n+\n+    + Headers\n+\n+        ```\n+        Access-Control-Allow-Headers: X-Stream-Output, X-Chunked-Output\n+        Access-Control-Expose-Headers: X-Stream-Output, X-Chunked-Output\n+        Content-Type: text/plain\n+        Server: go-ipfs/0.4.0-dev\n+        Trailer: X-Stream-Error\n+        Transfer-Encoding: chunked\n+        X-Stream-Output: 1\n+        Date: Thu, 11 Feb 2016 22:20:00 GMT\n+        Transfer-Encoding: chunked\n+        ```\n+\n+    + Attributes (string)\n+\n+    + Body\n+\n+        ```\n+        NAME:\n+           ipfs-update - update ipfs\n+\n+        USAGE:\n+           ipfs-update [global options] command [command options] [arguments...]\n+           \n+        VERSION:\n+           0.1.0\n+           \n+        COMMANDS:\n+           versions print out all available versions\n+           version  print out currently installed version\n+           install  install a version of ipfs\n+           stash    stashes copy of currently installed ipfs binary\n+           revert   revert to previously installed version of ipfs\n+           fetch    fetch a given (default: latest) version of ipfs\n+           help, h  Shows a list of commands or help for one command\n+           \n+        GLOBAL OPTIONS:\n+           --verbose        print verbose output\n+           --help, -h       show help\n+           --version, -v    print the version\n+        ```","path":"apiary.apib","position":63,"original_position":63,"commit_id":"8d2c216194e89d2a3070e967da943e9ce00393ff","original_commit_id":"8d2c216194e89d2a3070e967da943e9ce00393ff","user":{"login":"RichardLitt","id":910753,"avatar_url":"https://avatars.githubusercontent.com/u/910753?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardLitt","html_url":"https://github.com/RichardLitt","followers_url":"https://api.github.com/users/RichardLitt/followers","following_url":"https://api.github.com/users/RichardLitt/following{/other_user}","gists_url":"https://api.github.com/users/RichardLitt/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardLitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardLitt/subscriptions","organizations_url":"https://api.github.com/users/RichardLitt/orgs","repos_url":"https://api.github.com/users/RichardLitt/repos","events_url":"https://api.github.com/users/RichardLitt/events{/privacy}","received_events_url":"https://api.github.com/users/RichardLitt/received_events","type":"User","site_admin":false},"body":"What should we do, instead? ","created_at":"2016-02-18T21:06:53Z","updated_at":"2016-02-18T21:06:53Z","html_url":"https://github.com/ipfs/http-api-spec/pull/54#discussion_r53382309","pull_request_url":"https://api.github.com/repos/ipfs/http-api-spec/pulls/54","_links":{"self":{"href":"https://api.github.com/repos/ipfs/http-api-spec/pulls/comments/53382309"},"html":{"href":"https://github.com/ipfs/http-api-spec/pull/54#discussion_r53382309"},"pull_request":{"href":"https://api.github.com/repos/ipfs/http-api-spec/pulls/54"}}},"pull_request":{"url":"https://api.github.com/repos/ipfs/http-api-spec/pulls/54","id":59106149,"html_url":"https://github.com/ipfs/http-api-spec/pull/54","diff_url":"https://github.com/ipfs/http-api-spec/pull/54.diff","patch_url":"https://github.com/ipfs/http-api-spec/pull/54.patch","issue_url":"https://api.github.com/repos/ipfs/http-api-spec/issues/54","number":54,"state":"open","locked":false,"title":"Added Group `update`","user":{"login":"RichardLitt","id":910753,"avatar_url":"https://avatars.githubusercontent.com/u/910753?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardLitt","html_url":"https://github.com/RichardLitt","followers_url":"https://api.github.com/users/RichardLitt/followers","following_url":"https://api.github.com/users/RichardLitt/following{/other_user}","gists_url":"https://api.github.com/users/RichardLitt/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardLitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardLitt/subscriptions","organizations_url":"https://api.github.com/users/RichardLitt/orgs","repos_url":"https://api.github.com/users/RichardLitt/repos","events_url":"https://api.github.com/users/RichardLitt/events{/privacy}","received_events_url":"https://api.github.com/users/RichardLitt/received_events","type":"User","site_admin":false},"body":"I have no idea why this works or how","created_at":"2016-02-11T22:42:32Z","updated_at":"2016-02-18T21:06:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8786f8665af4e9d2f0182bfe5e849cad91085729","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ipfs/http-api-spec/pulls/54/commits","review_comments_url":"https://api.github.com/repos/ipfs/http-api-spec/pulls/54/comments","review_comment_url":"https://api.github.com/repos/ipfs/http-api-spec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ipfs/http-api-spec/issues/54/comments","statuses_url":"https://api.github.com/repos/ipfs/http-api-spec/statuses/8d2c216194e89d2a3070e967da943e9ce00393ff","head":{"label":"ipfs:feature/update","ref":"feature/update","sha":"8d2c216194e89d2a3070e967da943e9ce00393ff","user":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"repo":{"id":34368207,"name":"http-api-spec","full_name":"ipfs/http-api-spec","owner":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipfs/http-api-spec","description":"Apiary IPFS HTTP API description","fork":false,"url":"https://api.github.com/repos/ipfs/http-api-spec","forks_url":"https://api.github.com/repos/ipfs/http-api-spec/forks","keys_url":"https://api.github.com/repos/ipfs/http-api-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipfs/http-api-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipfs/http-api-spec/teams","hooks_url":"https://api.github.com/repos/ipfs/http-api-spec/hooks","issue_events_url":"https://api.github.com/repos/ipfs/http-api-spec/issues/events{/number}","events_url":"https://api.github.com/repos/ipfs/http-api-spec/events","assignees_url":"https://api.github.com/repos/ipfs/http-api-spec/assignees{/user}","branches_url":"https://api.github.com/repos/ipfs/http-api-spec/branches{/branch}","tags_url":"https://api.github.com/repos/ipfs/http-api-spec/tags","blobs_url":"https://api.github.com/repos/ipfs/http-api-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipfs/http-api-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipfs/http-api-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipfs/http-api-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipfs/http-api-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/ipfs/http-api-spec/languages","stargazers_url":"https://api.github.com/repos/ipfs/http-api-spec/stargazers","contributors_url":"https://api.github.com/repos/ipfs/http-api-spec/contributors","subscribers_url":"https://api.github.com/repos/ipfs/http-api-spec/subscribers","subscription_url":"https://api.github.com/repos/ipfs/http-api-spec/subscription","commits_url":"https://api.github.com/repos/ipfs/http-api-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipfs/http-api-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipfs/http-api-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipfs/http-api-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipfs/http-api-spec/contents/{+path}","compare_url":"https://api.github.com/repos/ipfs/http-api-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipfs/http-api-spec/merges","archive_url":"https://api.github.com/repos/ipfs/http-api-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipfs/http-api-spec/downloads","issues_url":"https://api.github.com/repos/ipfs/http-api-spec/issues{/number}","pulls_url":"https://api.github.com/repos/ipfs/http-api-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/ipfs/http-api-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/ipfs/http-api-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipfs/http-api-spec/labels{/name}","releases_url":"https://api.github.com/repos/ipfs/http-api-spec/releases{/id}","deployments_url":"https://api.github.com/repos/ipfs/http-api-spec/deployments","created_at":"2015-04-22T04:17:56Z","updated_at":"2016-01-13T23:47:46Z","pushed_at":"2016-02-18T20:58:04Z","git_url":"git://github.com/ipfs/http-api-spec.git","ssh_url":"git@github.com:ipfs/http-api-spec.git","clone_url":"https://github.com/ipfs/http-api-spec.git","svn_url":"https://github.com/ipfs/http-api-spec","homepage":"http://docs.ipfs.apiary.io","size":162,"stargazers_count":11,"watchers_count":11,"language":"API Blueprint","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":31,"forks":5,"open_issues":31,"watchers":11,"default_branch":"master"}},"base":{"label":"ipfs:master","ref":"master","sha":"7232510012d29e32bfcbbdc8a979f79c910b81c5","user":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"repo":{"id":34368207,"name":"http-api-spec","full_name":"ipfs/http-api-spec","owner":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipfs/http-api-spec","description":"Apiary IPFS HTTP API description","fork":false,"url":"https://api.github.com/repos/ipfs/http-api-spec","forks_url":"https://api.github.com/repos/ipfs/http-api-spec/forks","keys_url":"https://api.github.com/repos/ipfs/http-api-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipfs/http-api-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipfs/http-api-spec/teams","hooks_url":"https://api.github.com/repos/ipfs/http-api-spec/hooks","issue_events_url":"https://api.github.com/repos/ipfs/http-api-spec/issues/events{/number}","events_url":"https://api.github.com/repos/ipfs/http-api-spec/events","assignees_url":"https://api.github.com/repos/ipfs/http-api-spec/assignees{/user}","branches_url":"https://api.github.com/repos/ipfs/http-api-spec/branches{/branch}","tags_url":"https://api.github.com/repos/ipfs/http-api-spec/tags","blobs_url":"https://api.github.com/repos/ipfs/http-api-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipfs/http-api-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipfs/http-api-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipfs/http-api-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipfs/http-api-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/ipfs/http-api-spec/languages","stargazers_url":"https://api.github.com/repos/ipfs/http-api-spec/stargazers","contributors_url":"https://api.github.com/repos/ipfs/http-api-spec/contributors","subscribers_url":"https://api.github.com/repos/ipfs/http-api-spec/subscribers","subscription_url":"https://api.github.com/repos/ipfs/http-api-spec/subscription","commits_url":"https://api.github.com/repos/ipfs/http-api-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipfs/http-api-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipfs/http-api-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipfs/http-api-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipfs/http-api-spec/contents/{+path}","compare_url":"https://api.github.com/repos/ipfs/http-api-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipfs/http-api-spec/merges","archive_url":"https://api.github.com/repos/ipfs/http-api-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipfs/http-api-spec/downloads","issues_url":"https://api.github.com/repos/ipfs/http-api-spec/issues{/number}","pulls_url":"https://api.github.com/repos/ipfs/http-api-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/ipfs/http-api-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/ipfs/http-api-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipfs/http-api-spec/labels{/name}","releases_url":"https://api.github.com/repos/ipfs/http-api-spec/releases{/id}","deployments_url":"https://api.github.com/repos/ipfs/http-api-spec/deployments","created_at":"2015-04-22T04:17:56Z","updated_at":"2016-01-13T23:47:46Z","pushed_at":"2016-02-18T20:58:04Z","git_url":"git://github.com/ipfs/http-api-spec.git","ssh_url":"git@github.com:ipfs/http-api-spec.git","clone_url":"https://github.com/ipfs/http-api-spec.git","svn_url":"https://github.com/ipfs/http-api-spec","homepage":"http://docs.ipfs.apiary.io","size":162,"stargazers_count":11,"watchers_count":11,"language":"API Blueprint","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":31,"forks":5,"open_issues":31,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ipfs/http-api-spec/pulls/54"},"html":{"href":"https://github.com/ipfs/http-api-spec/pull/54"},"issue":{"href":"https://api.github.com/repos/ipfs/http-api-spec/issues/54"},"comments":{"href":"https://api.github.com/repos/ipfs/http-api-spec/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/ipfs/http-api-spec/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/ipfs/http-api-spec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ipfs/http-api-spec/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/ipfs/http-api-spec/statuses/8d2c216194e89d2a3070e967da943e9ce00393ff"}}}}