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

[Home Page] - Create getTeamDesignReviews Endpoint #2800

Closed
2 tasks
caiodasilva2005 opened this issue Sep 7, 2024 · 0 comments
Closed
2 tasks

[Home Page] - Create getTeamDesignReviews Endpoint #2800

caiodasilva2005 opened this issue Sep 7, 2024 · 0 comments

Comments

@caiodasilva2005
Copy link
Contributor

caiodasilva2005 commented Sep 7, 2024

Description

We need a way to get all design reviews assigned to a specific team. We need to create a new endpoint under the route ‘teams/design-reviews/:teamid’ that does not take in a payload in the teams router that will retrieve all of the design reviews associated with the team id passed in through the params.

Include unit tests and a screenshot of postman manual testing to ensure the endpoint is working properly.

blocked by #2798

Acceptance Criteria

  • Endpoint that returns all of a team’s design reviews based on a team id
  • Unit test and postman screenshot

Proposed Solution

Take a look at some of the other endpoints in the teams router to get a reference for how to set up this endpoint.
You can access all of a team’s design reviews by accessing the projects in the team, which is a wbs_element that has design reviews.. Use the getTeamProjects util to access all the projects assigned to a team.

Mocks

No response

@caiodasilva2005 caiodasilva2005 changed the title [Home Page] - Create getTeamDesignReview Endpoint [Home Page] - Create getTeamDesignReviews Endpoint Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant