Skip to content

POST /reviews endpoint #19

Open
@MathyouMB

Description

@MathyouMB

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions