apc-unb / apc-api

MIT License
4 stars 0 forks source link

Update response of Create Project #34

Closed Gguidini closed 4 years ago

Gguidini commented 4 years ago

The end-point to create projects returns the information listed below, note that the id of that new project submission is not returned.

Screen Shot 2019-10-22 at 3 06 16 PM

However it is necessary to update the Project status (as per documentation):

Screen Shot 2019-10-22 at 3 06 28 PM

It would be beneficial to return the ID of the project along with the name and email of the monitor that was assigned to it, so that updates to the project's status can be done without having to get the entire list of project submissions for the student and look in it for the correct id.

Plus, with that arrangement the email sent to the designated monitor can include a link ready to update the project status upon being pressed.

This suggestion is open to debate, obviously, but I do think it's a good idea.

VerasThiago commented 4 years ago

The end-point to create projects returns the information listed below, note that the id of that new project submission is not returned.

Screen Shot 2019-10-22 at 3 06 16 PM

However it is necessary to update the Project status (as per documentation):

Screen Shot 2019-10-22 at 3 06 28 PM

It would be beneficial to return the ID of the project along with the name and email of the monitor that was assigned to it, so that updates to the project's status can be done without having to get the entire list of project submissions for the student and look in it for the correct id.

Plus, with that arrangement the email sent to the designated monitor can include a link ready to update the project status upon being pressed.

This suggestion is open to debate, obviously, but I do think it's a good idea.

This sugestion is very interesting because the monitor can easily update the project status, so that the student can know that the monitor have successfully received the e-mail.