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

Enrollment Changes REST & GraphQL Endpoint #59

Open
andrew-wang0 opened this issue Dec 19, 2024 · 0 comments
Open

Enrollment Changes REST & GraphQL Endpoint #59

andrew-wang0 opened this issue Dec 19, 2024 · 0 comments
Assignees

Comments

@andrew-wang0
Copy link
Member

Create a endpoints to support AA notification system.

Example query:

GET https://anteaterapi.com/v2/rest/enrollmentChanges?term=2024-WINTER&sections=123456,234567

Example response

{
  "ok": true,
  "data": {
    "courses": [
      {
        "deptCode": "BIO SCI",
        "courseTitle": "DNA TO ORGANISMS",
        "courseNumber": "93",
        "sections": [
          {
            "sectionCode": "12345",
            "maxCapacity": "75",
            "status": {
              "from": "Waitl",
              "to": "OPEN"
            },
            "numCurrentlyEnrolled": {
              "totalEnrolled": "72",
              "sectionEnrolled": ""
            },
            "numRequested": "85",
            "numOnWaitlist": "0",
            "numWaitlistCap": "10"
          }
        ]
      }
    ],
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants