Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipfs object patch append-data shouldn't return links in the HTTP Api #2589

Closed
RichardLitt opened this issue Apr 19, 2016 · 3 comments 路 Fixed by #2591
Closed

ipfs object patch append-data shouldn't return links in the HTTP Api #2589

RichardLitt opened this issue Apr 19, 2016 · 3 comments 路 Fixed by #2591

Comments

@RichardLitt
Copy link
Member

馃悤  curl -i -X POST -F "data=@test" "http://localhost:5001/api/v0/object/patch/append-data?arg=/ipfs/QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ/cat.jpg"
HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Access-Control-Allow-Headers: X-Stream-Output, X-Chunked-Output, X-Content-Length
Access-Control-Expose-Headers: X-Stream-Output, X-Chunked-Output, X-Content-Length
Content-Type: application/json
Server: go-ipfs/0.4.1-dev
Trailer: X-Stream-Error
Date: Tue, 19 Apr 2016 19:29:07 GMT
Transfer-Encoding: chunked

{"Hash":"Qmd286K6pohQcTKYqnS1YhWrCiS4gz7Xi34sdwMe9USZ7u","Links":null}
@RichardLitt
Copy link
Member Author

Please remove the Links field, basically.

@RichardLitt
Copy link
Member Author

Same for add-link.

@RichardLitt
Copy link
Member Author

Same for rm-link.

RichardLitt added a commit to ipfs-inactive/http-api-spec that referenced this issue Apr 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant