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

Create previously taken courses endpoint for AntAlmanac integration #518

Open
js0mmer opened this issue Nov 22, 2024 · 0 comments
Open

Create previously taken courses endpoint for AntAlmanac integration #518

js0mmer opened this issue Nov 22, 2024 · 0 comments
Labels
backend Back End tasks

Comments

@js0mmer
Copy link
Member

js0mmer commented Nov 22, 2024

icssc/AntAlmanac#1028

  • Set up a REST endpoint in our API for querying previously taken courses that takes a google account id and the current quarter as params
    • should create a new express router for this endpoint (and any future ones)
  • Verify a secret key that is passed in the Authorization header so only AntAlmanac can use this endpoint
  • Respond with a string[] of course ids for all courses that come before the specified quarter in the user's planner(s)

Note, our backend is same-origin, need to make sure to allow CORS for just this endpoint so AntAlmanac can access it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Back End tasks
Projects
Status: Backlog
Development

No branches or pull requests

1 participant