You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would allow apps to run in a "limited mode" downloading files and listing directories using the gateway instead of the HTTP API. Shouldn't be hard to get the directory listing in json format depending on request headers or parameters, the only way to do it now is to parse the HTML as far as I know.
The text was updated successfully, but these errors were encountered:
cryptix fazo: re #2107 - i think the json api is supposed to get a readonly version on the gateway
so you should be able to use the equiv of 'ipfs ls $hash' through https://ipfs.io/api/...
lgierth cryptix: yeah please test!
fazo very nice cryptix :) I hope it lands soon, so that my app can work on public gateways in read only mode
for now only a few features actually work because many rely on directory listing
lgierth :8080/api already exists -- if you need more commands make a PR :)
there's a simple whitelist of enabled commands
cryptix fazo: there you go.. :))
lgierth: need to roll back to go1.5.2 from 1.6b1. ipfs is quite a test case.. :))
fazo woah. thanks lgierth! is there any docs about it?
cryptix my ~/.ipfs weighs in at 19gigs today
fazo also I opened an issue here: https://github.com/ipfs/go-ipfs/issues/2107 you can close it and maybe provide links to documentation or what you said here
lgierth fazo: it's the same as :5001 -- but readonly and with a whitelist
cryptix snaps
lgierth ehm an allowlist
This would allow apps to run in a "limited mode" downloading files and listing directories using the gateway instead of the HTTP API. Shouldn't be hard to get the directory listing in json format depending on request headers or parameters, the only way to do it now is to parse the HTML as far as I know.
The text was updated successfully, but these errors were encountered: