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

Redirect ipfs.io/api/v0/* #870

Open
lidel opened this issue Apr 23, 2020 · 0 comments
Open

Redirect ipfs.io/api/v0/* #870

lidel opened this issue Apr 23, 2020 · 0 comments
Labels
effort/hours Estimated to take one or several hours help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature P2 Medium: Good to have, but can wait until someone steps up status/ready Ready to be worked

Comments

@lidel
Copy link
Member

lidel commented Apr 23, 2020

I suspect some apps may leverage the fact that a subset of APIs is exposed under ipfs.io/api/v0/.

Companion should redirect things like https://ipfs.io/api/v0/cat?arg=/ipns/docs.ipfs.io/assets/logo.svg (especially ones with ranges and offsets) to maximize the use of local nodes.


  • Q: could this be a partial replacement for window.ipfs?
    • A: Yes, for basic read-only commands like ipfs.cat. People could simply code against https://ipfs.io/api/v0 and browsers with native support (or companion extension) would just redirect those requests to local node.
@lidel lidel added the need/triage Needs initial labeling and prioritization label Apr 23, 2020
@lidel lidel added help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature P2 Medium: Good to have, but can wait until someone steps up status/ready Ready to be worked effort/hours Estimated to take one or several hours and removed need/triage Needs initial labeling and prioritization labels Jun 5, 2020
@galargh galargh moved this to To do in IPFS-GUI (PL EngRes) Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/hours Estimated to take one or several hours help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature P2 Medium: Good to have, but can wait until someone steps up status/ready Ready to be worked
Projects
No open projects
Status: Needs Grooming
Development

No branches or pull requests

1 participant