GET /projects/:id
Get project details
Request header
Name |
Type |
Mandatory fields |
Description |
Token |
String |
Yes |
Authentication credentials Token |
Request response
Name |
Type |
Mandatory fields |
Description |
id |
int |
Yes |
project ID |
parent |
int |
Yes |
affiliated program |
model |
string |
Yes |
project model (scrum | waterfall) |
budget |
int |
Yes |
project budget |
budgetUnit |
string |
Yes |
budget currency(CNY | USD) |
name |
string |
Yes |
project name |
code |
string |
Yes |
project code |
begin |
date |
Yes |
estimated start time |
end |
date |
Yes |
estimated finish time |
realBegan |
date |
Yes |
actual start time |
realEnd |
date |
Yes |
actual finish time |
status |
string |
Yes |
project status(wait | doing | suspend | closed) |
desc |
string |
Yes |
project description |
openedBy |
user |
Yes |
create by |
openedDate |
datetime |
Yes |
create time |
PM |
user |
Yes |
project manager |
acl |
string |
Yes |
access control(open | private) |
whitelist |
array |
Yes |
whitelist |
Response example
{
"id": 7,
"project": 0,
"model": "scrum",
"type": "project",
"lifetime": "sprint",
"budget": "0",
"budgetUnit": "CNY",
"attribute": "",
"percent": 0,
"milestone": "0",
"output": "",
"auth": "extend",
"parent": 6,
"path": ",6,7,",
"grade": 2,
"name": "business management sysytem",
"code": "",
"begin": "2021-06-05",
"end": "2022-06-04",
"realBegan": null,
"realEnd": null,
"days": 0,
"status": "doing",
"subStatus": "",
"pri": "1",
"desc": "",
"version": 0,
"parentVersion": 0,
"planDuration": 0,
"realDuration": 0,
"openedBy": "admin",
"openedDate": "2021-04-28T03:22:04Z",
"openedVersion": "15.0.rc3",
"lastEditedBy": "admin",
"lastEditedDate": "2021-04-28T03:22:04Z",
"closedBy": "",
"closedDate": null,
"canceledBy": "",
"canceledDate": null,
"PO": "",
"PM": "projectManager",
"QD": "",
"RD": "",
"team": "",
"acl": "open",
"whitelist": ",tester3,admin",
"order": 35,
"deleted": false,
"caseReview": false
}