-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
core/corehttp!: remove /api/v0 from gateway port #10352
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
Changes from all commits
cffc921
31c6b6b
36bbe62
8357ccb
6dc20dd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,22 @@ | |
- [Overview](#overview) | ||
- [🔦 Highlights](#-highlights) | ||
- [RPC client: removed deprecated DHT API](#rpc-client-removed-deprecated-dht-api) | ||
- [Gateway: `/api/v0` is removed](#gateway-apiv0-is-removed) | ||
- [📝 Changelog](#-changelog) | ||
- [👨👩👧👦 Contributors](#-contributors) | ||
|
||
### Overview | ||
|
||
### 🔦 Highlights | ||
|
||
#### RPC client: removed deprecated DHT API | ||
|
||
The deprecated DHT API commands in the RPC client have been removed. Instead, use the Routing API. | ||
|
||
#### Gateway: `/api/v0` is removed | ||
|
||
The legacy subset of the Kubo RPC that was available via the Gateway port and was deprecated is now completely removed. You can read more in <https://github.com/ipfs/kubo/issues/10312>. | ||
|
||
If you have a legacy software that relies on this behavior, and want to expose parts of `/api/v0` next to `/ipfs`, use reverse-proxy in front of Kubo to mount both Gateway and RPC on the same port. NOTE: exposing RPC to the internet comes with security risk: make sure to specify access control via [API.Authorizations](https://github.com/ipfs/kubo/blob/master/docs/config.md#apiauthorizations). | ||
Comment on lines
+20
to
+24
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👌 |
||
|
||
### 📝 Changelog | ||
|
||
### 👨👩👧👦 Contributors |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ test_expect_success "docker image runs" ' | |
' | ||
|
||
test_expect_success "docker container gateway is up" ' | ||
pollEndpoint -host=/ip4/127.0.0.1/tcp/8080 -http-url http://localhost:8080/api/v0/version -v -tries 30 -tout 1s | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💭 I suspect
https://github.com/search?q=repo%3Aipshipyard%2Fwaterworks-infra+api%2Fv0%2Fversion&type=code Maybe @ns4plabs knows other places. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
pollEndpoint -host=/ip4/127.0.0.1/tcp/8080 -http-url http://localhost:8080/ipfs/bafkqaddimvwgy3zao5xxe3debi -v -tries 30 -tout 1s | ||
' | ||
|
||
test_expect_success "docker container API is up" ' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💭 if someone needs replacement for
/api/v0/resolve
we could tell them to usex-ipfs-roots
: