This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 3, | |
"tasks": [ | |
{ | |
"task": 1, | |
"title": "Oct 31 Task 1 of 2 (file & text)", | |
"description": "Oct 31 Task 1 of 2 belongs to “Oct 31 Milestone”. This task contains two inputs.", | |
"status": "active", | |
"inputs": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
We are posting this object to: | |
localhost:8000/v1/employee/12/milestone/1/ | |
Only Task2 has real data now. | |
*/ | |
{ | |
"tasks": [ | |
{ | |
"task": 1, // this task contains empty values | |
"inputs": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* localhost:8000/v1/milestone/template/1/ */ | |
{ | |
"id": 1, | |
"title": "Oct 31 Milestone", | |
"category": "dummy", | |
"description": "Oct 31 Milestone will contain two Tasks, each of which will contain two Inputs.", | |
"average_time": 22001.0, | |
"tasks": [ | |
{ |