rust-ipfs-api icon indicating copy to clipboard operation
rust-ipfs-api copied to clipboard

feat: add `id_with_options` method

Open miraclx opened this issue 1 year ago • 0 comments

Kubo permits the use of peerid-base as a parameter when making a call to /api/v0/id. This crate should too.

In my tests, Kubo doesn't seem to respect the format parameter. It always returns JSON.

In this patch, I'm retaining it for compatibility with the spec, but disabling the ability to construct it.

miraclx avatar Dec 16 '23 17:12 miraclx