-
Notifications
You must be signed in to change notification settings - Fork 10
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
expanding api & adding tokens #35
Comments
Imo ratelimits aren't really necessary since not much is being done on the backend when it's used, tokens are annoying, and people could just scrape if they want to bypass the ratelimits anyways. |
Maybe if you don't use a token you get standard access, but using (and getting a token with privilege) can let you do privlaged things like edit, unlist, delete (when added), and modify editors |
Tho highly privlaged tokens (ones with admin features will prob never be given out) |
@JetStream0 doing this here mat1/ReplDex#api-dev |
Checklist in #45 |
Closed #45 becuase it is outdated |
We might add this into v3, not too sure yet. |
so currently the limited repldex api doesn't have any tokens, and no way to ratelimit, or have restricted access, i suggest that using mongo db to store a token and there permissions, the permissions would be a list with all the permissions, and it would also store meta data in other properties, use as a ratelimit, or if it's request use a cache or not. These could also be controlled thru the admin panel.
checklist:
The text was updated successfully, but these errors were encountered: