-
Notifications
You must be signed in to change notification settings - Fork 56
Clarify the different APIs #25
Comments
Currently, we have API descriptions in 3 places:
Only https://github.com/ipfs/interface-ipfs-core provides tests to ensure that the implementation is compliant with the spec. The http-api needs more than just documentation and tests, it needs to be fully revisited to remove the current limitations: https://github.com/ipfs/http-api-spec/issues/116 As for the CLI API, we have sharness tests, but no real spec. One of the things that comes often is to break the sharness tests in its own repo so that they can be run against any CLI implementation, we could call it |
@diasdavid @whyrusleeping Just to clarify, I know
|
@Mr0grog The HTTP apis should be exactly the same. The CLI's in my opinion don't need to be, theres really no reason for js-ipfs to have a CLI other than for testing (look at all the effort we've spent making a nice CLI program in go ;) ) We're working on a 'coreapi' that should be roughly the same between the two languages, at least in structure. Other library interfaces should be similar, and in general we are aiming towards having the same structural layout where that makes sense. |
Hehe... interesting statement regarding js-ipfs. If the main aim of js-ipfs is not the CLI (which I agree with), why have one at all then? |
I’m going to close this as complete for now:
There are undoubtedly more places we could hit these concepts and explain more (e.g. #60), but I think we’ve covered this from the big-picture perspective. We should open specific issues for any specific shortcomings we have/improvements we should make. Please comment if you think we should re-open. |
Update the documentation to clarify how are these related
Put that info into the main landing places where people seek API documentation (ie. https://ipfs.io/docs)
The text was updated successfully, but these errors were encountered: