Get the product list
- 2022-12-21 11:02:10
- Kelsea
- 1037
- Last edited by Hongyan on 2023-06-16 11:00:54
- Share links
GET /products
Get the product list
Request Headers
Name | Type | Required or Optional | Description |
---|---|---|---|
token | string | required | Access Credentials Token |
Request Response
Name | Type | Required or Optional | Description |
---|---|---|---|
products | array | required | |
∟ id | int | required | product id |
∟ program | int | required | belong to which program |
∟ name | string | required | product name |
∟ code | string | required | product code |
∟ line | int | required | belong to which product line |
∟ PO | optional | product owner | |
∟ QD | optional | test manager | |
∟ RD | optional | release manager | |
∟ type | string | required | product type (normal|branch|platform) |
∟ desc | string | required | description of product |
∟ acl | string | required | access control (open or private) |
∟ whitelist | array | optional | whitelist |
∟ createdBy | required | created by | |
∟ createdDate | datetime | required | create time |
Response Example
{
"total": 1,
"products": [
{
"id": 6,
"program": 6,
"name": "test",
"code": "",
"bind": "1",
"line": 0,
"type": "normal",
"status": "normal",
"subStatus": "",
"desc": "",
"PO": {
"id": 2,
"account": "productManager",
"avatar": "",
"realname": "productManager"
},
"QD": {
"id": 1,
"account": "admin",
"avatar": "",
"realname": "admin"
},
"RD": {
"id": 2,
"account": "productManager",
"avatar": "",
"realname": "productManager"
},
"acl": "private",
"whitelist": [
{
"id": 1,
"account": "admin",
"avatar": "",
"realname": "admin"
},
{
"id": 2,
"account": "productManager",
"avatar": "",
"realname": "productManager"
}
],
"reviewer": "",
"createdBy": {
"id": 1,
"account": "admin",
"avatar": "",
"realname": "admin"
},
"createdDate": "2021-12-01T05:17:04Z",
"createdVersion": "15.8",
"order": 30,
"deleted": "0",
"lineName": "",
"programName": "enterpriseManagement",
"stories": {
"0": "",
"1": "draft",
"2": "active",
"3": "closed",
"4": "changed",
"": 0,
"draft": 0,
"active": 0,
"closed": 0,
"changed": 0
},
"requirements": {
"0": "",
"1": "draft",
"2": "active",
"3": "closed",
"4": "changed",
"": 0,
"draft": 0,
"active": 0,
"closed": 0,
"changed": 0
},
"plans": 0,
"releases": 0,
"bugs": 0,
"unResolved": 0,
"closedBugs": 0,
"fixedBugs": 0,
"thisWeekBugs": 0,
"assignToNull": 0,
"progress": 0
}
]
}
Write a Comment
Support
- Book a Demo
- Tech Forum
- GitHub
- SourceForge
About Us
- Company
- Privacy Policy
- Term of Use
- Blogs
- Partners
Contact Us
- Leave a Message
- Email Us: support@zentaoalm.com