-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document the HTTP API #1706
Comments
@RichardLitt see #785 take a look at:
This would document both the HTTP API and the CLI API.
|
maybe we should move this discussion to another repo, called |
Hello :) How can I help ? |
+1, I wasn't aware that there is an HTTP API until I found this issue :) |
Interested in helping I can't get the API to work in a way that I expect, i.e. this CLI command echo '{ "Links": [],"Data": "\u0008\u0002\u0012\u000chello world\n\u0018\u000c"}' | ipfs object put should map to http POST to but I get back a 400 with "File argument 'data' is required" |
@jbenet Thanks. Been taking a look at those - pinged one of the cofounders of Readme.io in #785. I hope we can get Readme.io working automatically, it looks like it's all manual markup, which would not be ideal.
I'm confused - how would this be the node-api? Isn't that the function of ipfs/node-ipfs-api? |
@RichardLitt sorry, the word |
Let's move this to another repo, I think there's a few different strands that should have their own discussions and space to grow. Going to do that now, see if I can get the Readme parser working while I do it. I started this awesome-docs repo to start crowdsourcing the best documentation practices, examples, and resources. Surprised it didn't exist already. |
This has been solved. See ipfs/api and https://github.com/ipfs/specs/tree/master/api. |
We've been getting several questions about how the HTTP API works, it would be good to have a way to auto generate some docs for it.
@whyrusleeping @jbenet can you add the 'help wanted' label plz? @RichardLitt was interested in helping with this
The text was updated successfully, but these errors were encountered: