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

Improve loading of challenge under the milestone #4466

Open
RishiRajSahu opened this issue Aug 17, 2021 · 1 comment
Open

Improve loading of challenge under the milestone #4466

RishiRajSahu opened this issue Aug 17, 2021 · 1 comment

Comments

@RishiRajSahu
Copy link
Contributor

RishiRajSahu commented Aug 17, 2021

Currently we are making individual call to challenge api in order to load all challenges for a milestone. We would need to improve that by creating a new endpoint under challenge api which could result in getting all challenges for a milestoneId.

for eg - https://api.topcoder.com/v5/challenges?sortBy=updated&sortOrder=desc&projectId=28454&status=Active&page=1&perPage=50

For this we would have to add the milestoneId at root of challenge Object.
Open Question : how to handle the challenges which are already added to milestone objects on projects app side but didn't had milestoneId field for challenge object.

fyi @elkhawajah

@elkhawajah
Copy link
Contributor

If we are adding milestoneId to challenge object, then we no more need to store the challenge ids in the mielstone object.

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

2 participants