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

Monitored APIs #103

Open
5 tasks
GetPsyched opened this issue Mar 16, 2024 · 0 comments
Open
5 tasks

Monitored APIs #103

GetPsyched opened this issue Mar 16, 2024 · 0 comments
Labels
feature New feature or request
Milestone

Comments

@GetPsyched
Copy link
Member

In the spirit of developing a coding culture in our college, we plan to make a bunch of public API routes that anyone in the college can use for building their own tools. However, these APIs will only be accessible to any user logged into our website, i.e., no one outside of our college will be able to use these APIs.

Flow

  • Each user on the platform gets their own token. This can be randomly generated or siphon some token that NextAuth uses.
  • Using this token, a user can send API requests to our endpoints. Different types of users will have different levels of access to the APIs; the APIs will follow the same role based system that the website follows.

Steps

  • A RESTful API mapping select models,
  • Authentication,
  • Authorisation,
  • Enforcing rate limits,
  • Documenting the APIs.
@GetPsyched GetPsyched added this to the v2 milestone Mar 16, 2024
@GetPsyched GetPsyched removed this from the v2 milestone Sep 15, 2024
@GetPsyched GetPsyched added the feature New feature or request label Sep 15, 2024
@GetPsyched GetPsyched added this to the next milestone Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant