ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
16.2k stars 3.03k forks source link

IPFS RPC API documentation #10446

Closed stolab closed 2 months ago

stolab commented 5 months ago

Checklist

Location

No response

Description

Is there some documentation available on how to use the RPC API for kubo](https://pkg.go.dev/github.com/ipfs/kubo/client/rpc) ? It feels like it's capable of doing a loooot of stuff but it's really hard (at least for me) to understand how to use that.

For example I cannot understand how to get an asset from a localAPI based on the CID....

stolab commented 5 months ago

Which means even the example at the top does not work anymore......

gammazero commented 2 months ago

The example above has been updated and should work now: https://github.com/ipfs/kubo/tree/master/client/rpc#coreifacecoreapi-over-http-rpc

The reference documentation will be updated with the upcoming release, and should close this issue.

lidel commented 2 months ago

https://pkg.go.dev/github.com/ipfs/kubo/client/rpc now reflects 0.30.0