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

Routes for group specific vocab activation #93

Open
noctera opened this issue Sep 25, 2022 · 0 comments
Open

Routes for group specific vocab activation #93

noctera opened this issue Sep 25, 2022 · 0 comments
Assignees
Labels
difficulty/medium kind/docs Improvements or additions to documentation kind/enhancement New feature or request priority/medium
Milestone

Comments

@noctera
Copy link
Member

noctera commented Sep 25, 2022

In order to implement the group specific activation in the frontend we need some routes in the backend.

  1. Update Route
    /api/languagePackage/:languagePackageId/group
    Add query Parameter ?staged=true to only return groups that contain unactivated/staged vocabs

  2. Update Route
    /api/group/:groupId/vocabulary
    Add query Parameter ?staged=true to only return vocabs that are unactivated

  3. Update Route
    /languagePackage/:languagePackageId/query
    Add query Parameter ?groupId={groupId}&groupId={groupId} to return only vocabs from these group
    (the staged parameter is already implemented. If groupIds are given this route should give back vocabs independently of the current status/stage. This gives the ability to add custom learning in the future Custom Learning vocascan-frontend#126)

@noctera noctera added kind/enhancement New feature or request kind/docs Improvements or additions to documentation difficulty/medium priority/medium labels Sep 25, 2022
@noctera noctera self-assigned this Sep 25, 2022
@noctera noctera added this to Todo Sep 25, 2022
@noctera noctera moved this to 🗒️ ToDo in Todo Sep 25, 2022
@noctera noctera added this to the v1.4.0 milestone Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/medium kind/docs Improvements or additions to documentation kind/enhancement New feature or request priority/medium
Projects
Status: 🗒️ ToDo
Development

No branches or pull requests

1 participant