GET /testtasks
Get test request list
Request header
Name | Type | Required or Optional | Description |
---|---|---|---|
Token | String | Required | Authentication credentials Token |
Request parameters
Name | Type | Required or Optional | Description |
---|---|---|---|
page | String | Current page number, and the default value is 1. | |
limit | String | The number of test requests per page, and the default value is 20. | |
order | String | Sorting. The id_desc is sorted in reverse order of ID by default. | |
product | String | Affiliated product. | |
branch | String | Affiliated branch. |
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 } ] }