GET /projects/:id/testtasks
Get the test request of project
Request header
| Name | Type | Required or Optional | Description |
|---|---|---|---|
| Token | String | Required | Authentication credentials Token |
Request response
| Name | Type | Required or Optional | Description |
|---|---|---|---|
| page | int | Required | The current page. |
| total | int | Required | The total number of bugs. |
| limit | int | Required | The number of bugs per page. |
| testtasks | array | Required | Test request list. |
| ∟ id | int | Required | Code of test request. |
| ∟ project | int | Required | Affiliated project. |
| ∟ product | int | Required | Affiliated product. |
| ∟ name | string | Required | Name of test request. |
| ∟ execution | int | Required | Affiliated execution. |
| ∟ build | int | Required | Affiliated build. |
| ∟ type | string | Optional | Type. |
| ∟ owner | Optional | Responsible person. | |
| ∟ pri | int | Optional | Priority. |
| ∟ begin | date | Optional | Start date. |
| ∟ end | date | Optional | End date. |
| ∟ desc | string | Required | Description. |
| ∟ status | string | Required | Status (wait | doing | done | blocked) |
| ∟ branch | int | Required | Affiliated branch. |
Response example
{
"page": 1,
"total": 1,
"limit": 20,
"testtasks": [
{
"id": 1,
"project": 0,
"product": 1,
"name": "The first test task of the enterprise website",
"execution": 1,
"build": "1",
"type": "",
"owner": "testManager",
"pri": 0,
"begin": "2020-06-05",
"end": "2021-06-21",
"realFinishedDate": null,
"mailto": "",
"desc": "",
"report": "",
"status": "wait",
"testreport": 0,
"auto": "no",
"subStatus": "",
"deleted": "0",
"productName": "Enterprise website construction 1",
"executionName": "Enterprise Website Phase I",
"buildName": "First build",
"branch": 0
}
]
}