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

POST /reviews endpoint #19

Open
MathyouMB opened this issue Jun 23, 2024 · 0 comments · May be fixed by #23
Open

POST /reviews endpoint #19

MathyouMB opened this issue Jun 23, 2024 · 0 comments · May be fixed by #23
Assignees
Labels
enhancement New feature or request

Comments

@MathyouMB
Copy link
Member

As a judge, I need to be able to review a submission.

To enable this, we need to implement the following endpoint:

POST /reviews

body: {
  review: {
    submissionId: `UUID HERE`
    status: `APPROVED || REJECTED`
    comment: `text`
  }
}

Add this endpoint to the router here: config/express/router.ts

This endpoint should evoke the create method on the reviews service: app/challenges-platform/services/reviews-service.ts

@MathyouMB MathyouMB added the enhancement New feature or request label Jun 24, 2024
@MrRibcage MrRibcage self-assigned this Jun 26, 2024
@MrRibcage MrRibcage linked a pull request Jun 27, 2024 that will close this issue
@MrRibcage MrRibcage linked a pull request Jun 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: For Review - Completed
Development

Successfully merging a pull request may close this issue.

2 participants