Skip to content

Commit ab45d97

Browse files
committed
feat: future-proof DHT API with /peers/ segment
rename /routing/v1/dht/closest/{peer-id} to /routing/v1/dht/closest/peers/{peer-id} for future-proofing, as we may add API for querying entire keyspace in the future also update document date to 2025-08-19
1 parent d4e94a8 commit ab45d97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routing/http-routing-v1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: >
44
Delegated routing is a mechanism for IPFS implementations to use for offloading
55
content routing, peer routing and naming to another process/server. This specification describes
66
an HTTP API for delegated routing of content, peers, and IPNS.
7-
date: 2024-03-22
7+
date: 2025-08-19
88
maturity: reliable
99
editors:
1010
- name: Gus Eggert
@@ -155,7 +155,7 @@ Each object in the `Peers` list is a record conforming to the [Peer Schema](#pee
155155

156156
## DHT Routing API
157157

158-
### `GET /routing/v1/dht/closest/{peer-id}?[closerThan]&[count]`
158+
### `GET /routing/v1/dht/closest/peers/{peer-id}?[closerThan]&[count]`
159159

160160
#### Path Parameters
161161

0 commit comments

Comments
 (0)