Closed VerasThiago closed 4 years ago
I like the workflow, it's a good ideal. I just want to clarify one thing:
Updated projects are delivered to the same monitor that received the submission of the original project?
I like the workflow, it's a good ideal. I just want to clarify one thing:
Updated projects are delivered to the same monitor that received the submission of the original project?
Yes and you got the monitor info in the POST localhost:8080/project/check
request, so you can email the user project to the same monitor.
Based on #21
Project work flow:
1. Check if user have already submitted a file to that current project.
1.1 This request will return
STATUS 200 OK
if the project have a previous submission1.2 This request will return
STATUS 404 Not Found
if the project don't have a previous submission2. According to the first step, the front need to alert the user that have already a submission to that project type and ask if he wants to overwrite the current submission (show submission info and handle the project status if needed)
2.1 In case that don't have a submission to that file
2.2 In case that have a submission to that file
PS: The
PUT localhost:8080/project
request change theStatus
toUpdated