-
Notifications
You must be signed in to change notification settings - Fork 344
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
API / debugAPI design #1289
Comments
sweet 🤙 can we generalise this to include also the api and gateway mode? |
guys here are some sketch user roles i made a while ago. there are a lot of ways to cut it but i think these are quite distinct and easy to reason with.
|
I think the 3 points by @Eknir describe well the current situation and I can easily image that they provide a way to move forward.
|
Two API requests:
|
I spoke about this with Janos, and we concluded the following:
Responding to @agazso : 1: there is currently only one such 'developer' endpoint ( 2: Good suggestion. There are currently no experimental and deprecated features. Will keep your suggestion in mind for the future. 3: We spoke about this with @janos and agreed that there is no fundamental difference between "normal" websites (which can incur bandwidth that costs/costed money) and web3 endpoints. Nevertheless, I sympathize with you here, as it might be better to be cautiousness than reckless in the beginning. @janos , wdyt about making all API endpoints protected by some authentication? |
document gateway-mode issue: ethersphere/bee-docs#163 |
To me it seems that there is a difference between certain endpoints. Otherwise why are they disabled in gateway mode? |
We are actively researching the permissioned API topic. I'm closing this in the meanwhile as some more ripe conclusions should emerge out of that very soon. A possible coalescing of both API is in the cards with role based APIs |
Right now, API is:
Right now, debugAPI is:
Some features which are exposed from the debugAPI need to be exposed to developers to interact with the bee node from the browser (e.g. bee-status. @alsakhaev requested CORS on the debugAPI (#1280)
All together, the situation calls for an analysis for the different API routers we expose, their functionality and their protection.
The text was updated successfully, but these errors were encountered: