anitab-org / anitab-org/mentorship-backend
Add to List Users API the ability to filter users who need or want to provide mentoring
- Langage dominant
- Python
- Étoiles
- 200
- Forks
- 449
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
## Description
As a member of the app,
I need be able to filter other members for their availability,
so that I can choose the member I want to create a mentorship relation with.
APIs used to fetch Users, don't have an option to filter users by `need_mentoring` and `available_to_mentor` attributes.
## Acceptance Criteria
### Update [Required]
- [ ] Add a query parameter support to `GET /users` and `GET /users/verified`, to filter users by `need_mentoring` and `available_to_mentor` attributes.
- [ ] Update Swagger UI documentation for this API.
- [ ] Write at least one test to prove your new feature is working.
## Definition of Done
- [ ] All of the required items are completed.
- [x] Approval by 1 mentor.
## Estimation
4 hours
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.