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

Remove duplicated routes - Finishes #136 #137

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

afska
Copy link
Collaborator

@afska afska commented Jun 1, 2018

Fixes #136

I removed all the duplicated endpoints prefixed with /api and unified the two students endpoints.

⚠️ The /courses/:course/students endpoints was adding :detached=>{:$exists=>false} to the query and the /api/courses/:course/students wasn't. I'm assuming this was a bug, and we always want to add the detached filter.

@afska afska requested a review from aguspina June 1, 2018 18:37
@ghost ghost assigned afska Jun 1, 2018
@ghost ghost added the pending-review label Jun 1, 2018
@afska afska force-pushed the remove-duplicated-routes branch from fe28a76 to 2a4e720 Compare June 1, 2018 18:41
@flbulgarelli
Copy link
Member

Looks good, but please notice that such changes are not backward compatible. We should introduce them in 6.x series.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unificar APIs internas y externas
2 participants