-
Notifications
You must be signed in to change notification settings - Fork 3
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
getter contest APIs #80
Conversation
39e7ca5
to
b267098
Compare
b1088f0
to
600b952
Compare
600b952
to
962ee13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some query optimisations.
Co-authored-by: Chirag Jain <[email protected]>
1d3f64c
to
a7ad11a
Compare
Co-authored-by: NIKHIL BN <[email protected]>
Co-authored-by: NIKHIL BN <[email protected]>
Co-authored-by: NIKHIL BN <[email protected]>
86718eb
to
d74463c
Compare
Co-authored-by: NIKHIL BN <[email protected]>
bd8ef62
to
59ed58c
Compare
Co-authored-by: NIKHIL BN <[email protected]>
59ed58c
to
fa04706
Compare
@cjchirag7 @NBNARADHYA other than |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some changes are required, as mentioned in below comments.
Apart from those, getContests should also be modified, as discussed earlier, to keep the queries simple and remove the need of sortContests()
151c4bb
to
79415c5
Compare
Co-authored-by: Chirag Jain <[email protected]>
79415c5
to
b9afe3c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few changes required
Co-authored-by: Chirag Jain <[email protected]>
Co-authored-by: Chirag Jain <[email protected]>
Co-authored-by: Chirag Jain <[email protected]>
Co-authored-by: Chirag Jain <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@NBNARADHYA , you may also review once. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
Issue at work: #60
APIs:
getContest
GET /contests/:contest_id
getContestDetails
GET /contests/:contest_id/details
getContests
GET /contests?status=active&limit=5
getModeratorContests
GET /contests/moderator_contests?limit=5
getContestModerators
GET /contests/:contest_id/moderators
participate
POST /contests/:contest_id/participate
getAllParticipants
GET /contests/:contest_id/participants
getAllParticipantsDetails
GET /contests/:contest_id/participants_details