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

[FEATURE] [API] Add a new REST API endpoint for schedule #206

Open
theimpulson opened this issue Apr 11, 2024 · 0 comments
Open

[FEATURE] [API] Add a new REST API endpoint for schedule #206

theimpulson opened this issue Apr 11, 2024 · 0 comments
Labels
API 關於資料、API、網頁後端

Comments

@theimpulson
Copy link
Member

Is your feature request related to a problem? Please describe.

The current volunteer API doesn't provide a way to get the current/past schedule.

Describe the solution you'd like

This can be something like /schedule/{year} which returns the JSON schedule for COSCUP that year. If the schedule doesn't exist, a 404 error or empty JSON can be sent as a response. It will be nice if this endpoint doesn't require any authorization.

Describe alternatives you've considered

Downloading the session JSON manually and inflating it in the app database. This however will require an update to the app every time a new schedule is released/changed.

Additional context

Having the session list will allow us to show the volunteers' ongoing sessions and make the app a bit more usable without any kind of login.

@theimpulson theimpulson changed the title [FEATURE] [API] Add a new REST API endpoint to schedule [FEATURE] [API] Add a new REST API endpoint for schedule Apr 11, 2024
@toomore toomore added the API 關於資料、API、網頁後端 label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API 關於資料、API、網頁後端
Projects
None yet
Development

No branches or pull requests

2 participants