As an inspector or on-site manager, I should be able to update the progress of a project, so that I can take the project nearer to completion. #79
Labels
user story
A brief explanation of a functionality or an interaction with the system, from a user's perspective
Summary
As an
inspector or on-site manager
, I should be able to update the progress of a project, so that I can take the project nearer to completion.Acceptance Criteria
GIVEN a
inspector or on-site manager
is editing the progress of a project in the desktop appWHEN the app hits the
projects/:id
endpoint with a valid PATCH request, containing:-The path parameter:
:id
, the unique id of the project which is being edited.And any of the following body parameters:
THEN the app should receive a status
200
AND in the response, the following information should be returned:
Sample Request/Sample Response
Resources
Dev Notes
{Some complementary notes if necessary}
Testing Notes
Scenario 1: PATCH request is successful
/projects/:id
endpoint updatingprogress
key in the body should return a status code 200./projects/:id
endpoint should return a status code 200 and the projects details with the updated progress i.e. matching the initially sent progress.Scenario 2: PATCH request is forbidden
/projects/:id
endpoint updating any other key (e.g.budget
) in the body.The text was updated successfully, but these errors were encountered: