Skip to content

feat: add id_with_options method#141

Open
miraclx wants to merge 4 commits intoferristseng:masterfrom
miraclx:miraclx/id-with-options
Open

feat: add id_with_options method#141
miraclx wants to merge 4 commits intoferristseng:masterfrom
miraclx:miraclx/id-with-options

Conversation

@miraclx
Copy link

@miraclx miraclx commented Dec 16, 2023

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.

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 this pull request may close these issues.

1 participant