Skip to content
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

feat: adds /peers endpoint #628

Merged
merged 1 commit into from
Dec 9, 2024
Merged

feat: adds /peers endpoint #628

merged 1 commit into from
Dec 9, 2024

Conversation

nathanielc
Copy link
Collaborator

With this change a new API endpoint is added for accessing connected peers. The API is similar to the /api/v0/swarm/peers endpoint however it allows for multiple addresses and does not have to remain Kubo RPC compatible.

The endpoint allows posting an address and therefore connecting to a new peer.

Fixes: #608

@nathanielc nathanielc requested review from stbrody, a team and dav1do as code owners December 6, 2024 16:54
@nathanielc nathanielc requested review from ukstv and removed request for a team December 6, 2024 16:54
Base automatically changed from feat/pairwise-peer-sync to main December 9, 2024 00:22
With this change a new API endpoint is added for accessing connected
peers. The API is similar to the /api/v0/swarm/peers endpoint however it
allows for multiple addresses and does not have to remain Kubo RPC
compatible.

The endpoint allows posting an address and therefore connecting to a new
peer.

Fixes: #608
@nathanielc nathanielc force-pushed the feat/peer-api-endpoint branch from e3e587d to 9c382bb Compare December 9, 2024 19:02
@nathanielc nathanielc enabled auto-merge December 9, 2024 19:02
@nathanielc nathanielc added this pull request to the merge queue Dec 9, 2024
Merged via the queue into main with commit 0321da0 Dec 9, 2024
5 checks passed
@nathanielc nathanielc deleted the feat/peer-api-endpoint branch December 9, 2024 20:14
@smrz2001 smrz2001 mentioned this pull request Dec 9, 2024
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.

2 participants