feat: Implement Update Project Route (SCRUM-11) (!28)
Co-authored-by: Phan Huy Tran <p.tran@neusta.de> Reviewed-on: #28 Reviewed-by: Jan Gleytenhoover <krisellp9@gmail.com> Co-authored-by: Phan Huy Tran <ptran@noreply.localhost> Co-committed-by: Phan Huy Tran <ptran@noreply.localhost>
This commit is contained in:
parent
cbb77cc1ca
commit
4eb7626c10
23 changed files with 1065 additions and 786 deletions
|
@ -1,3 +1,3 @@
|
|||
### GET request to example server
|
||||
GET http://localhost:8080/projects/2
|
||||
Authorization: Bearer {{auth_token}}
|
||||
### GET request to example server
|
||||
GET http://localhost:8080/projects/1
|
||||
Authorization: Bearer {{auth_token}}
|
||||
|
|
15
requests/updateProject.http
Normal file
15
requests/updateProject.http
Normal file
|
@ -0,0 +1,15 @@
|
|||
### GET request to example server
|
||||
PUT http://localhost:8080/projects/1
|
||||
Authorization: Bearer {{auth_token}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"name": "newName",
|
||||
"leading_employee": 2,
|
||||
"employees": [],
|
||||
"contractor": 9,
|
||||
"contractor_name": "New Contractor name",
|
||||
"comment": "new goal of project",
|
||||
"start_date": "01.01.2010",
|
||||
"planned_end_date": "01.01.2021"
|
||||
}
|
Reference in a new issue