{"action":"reopened","number":17,"pull_request":{"url":"https://api.github.com/repos/ipfs/http-api-spec/pulls/17","id":55478139,"html_url":"https://github.com/ipfs/http-api-spec/pull/17","diff_url":"https://github.com/ipfs/http-api-spec/pull/17.diff","patch_url":"https://github.com/ipfs/http-api-spec/pull/17.patch","issue_url":"https://api.github.com/repos/ipfs/http-api-spec/issues/17","number":17,"state":"open","locked":false,"title":"Add Group add","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":"This is the chunk for `ipfs add`. Note that there are a few outstanding issues before this can be added to the API:\r\n\r\n- [ ] Parameters have not been adequately tested with the API, and I suspect none of them work.\r\n- [ ] `add` seems to me to be a POST request, but I'm not sure how to verify this, as `curl -F \"file=test\" http://localhost:5001/api/v0/add` seems to work just fine without needing `-x POST`. \r\n- [ ] I don't know if I should include the HTTP 100 status code as a response; I think not, as it is is just a continuation code. Can I have a second, on this? \r\n- [ ] The header `Transfer-encoding` is relayed twice on a successful response. This is invalid.\r\n- [ ] I am unable to add a directory recursively. Is this functionality possible? \r\n\r\nI have included a `curl` request with each request. This will be the format for PRs from now on, so everyone please take a look and let me know what you think. I think that PRs like this - adding bit by bit to the API, as we go along - is the right way to do things. At any point, we can merge this and add it, as accurately reflects the API. However, I think we should try and address any issues first if we can.\r\n\r\ncc @whyrusleeping @diasdavid @Dignifiedquire @jbenet ","created_at":"2016-01-08T16:06:51Z","updated_at":"2016-01-21T14:21:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc967bf3777fa4e968d7ac8457afe359ca585515","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ipfs/http-api-spec/pulls/17/commits","review_comments_url":"https://api.github.com/repos/ipfs/http-api-spec/pulls/17/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/17/comments","statuses_url":"https://api.github.com/repos/ipfs/http-api-spec/statuses/a972acb444f4da7f4d98af07ae6ecccff3861818","head":{"label":"ipfs:feature/add-add","ref":"feature/add-add","sha":"a972acb444f4da7f4d98af07ae6ecccff3861818","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}","created_at":"2015-04-22T04:17:56Z","updated_at":"2016-01-13T23:47:46Z","pushed_at":"2016-01-21T14:14:19Z","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":47,"stargazers_count":11,"watchers_count":11,"language":"API Blueprint","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":8,"forks":4,"open_issues":8,"watchers":11,"default_branch":"master"}},"base":{"label":"ipfs:master","ref":"master","sha":"9a94618eb3fcb9497b4a4f8cf4355326db20bd03","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}","created_at":"2015-04-22T04:17:56Z","updated_at":"2016-01-13T23:47:46Z","pushed_at":"2016-01-21T14:14:19Z","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":47,"stargazers_count":11,"watchers_count":11,"language":"API Blueprint","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":8,"forks":4,"open_issues":8,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ipfs/http-api-spec/pulls/17"},"html":{"href":"https://github.com/ipfs/http-api-spec/pull/17"},"issue":{"href":"https://api.github.com/repos/ipfs/http-api-spec/issues/17"},"comments":{"href":"https://api.github.com/repos/ipfs/http-api-spec/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/ipfs/http-api-spec/pulls/17/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/17/commits"},"statuses":{"href":"https://api.github.com/repos/ipfs/http-api-spec/statuses/a972acb444f4da7f4d98af07ae6ecccff3861818"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":13,"review_comments":16,"commits":1,"additions":412,"deletions":1,"changed_files":1}}