产品

获取产品列表 分享链接

作者:王怡栋 最后编辑:禅道软件 于 2022-03-17 15:06:07 浏览量:9645
GET
/products

获取产品列表

请求头

名称类型必填描述
TokenString认证凭证Token

请求响应

名称类型必填描述
productsarray
  ∟  idint产品ID
  ∟  programint所属项目集
  ∟  namestring产品名称
  ∟  codestring产品代号
  ∟  lineint所属产品线
  ∟  PO产品负责人
  ∟  QD测试负责人
  ∟  RD发布负责人
  ∟  typestring产品类型(normal 正常 | branch 多分支 | platform 多平台)
  ∟  descstring产品描述
  ∟  aclstring访问控制(open 公开 | private 私有)
  ∟  whitelistarray白名单
  ∟  createdBy创建人
  ∟  createdDatedatetime创建时间

响应示例

{
    "total": 1,
    "products": [
        {
            "id": 6,
            "program": 6,
            "name": "测试",
            "code": "",
            "bind": "1",
            "line": 0,
            "type": "normal",
            "status": "normal",
            "subStatus": "",
            "desc": "",
            "PO": {
                "id": 2,
                "account": "productManager",
                "avatar": "",
                "realname": "产品经理"
            },
            "QD": {
                "id": 1,
                "account": "admin",
                "avatar": "",
                "realname": "管理员"
            },
            "RD": {
                "id": 2,
                "account": "productManager",
                "avatar": "",
                "realname": "产品经理"
            },
            "acl": "private",
            "whitelist": [
                {
                    "id": 1,
                    "account": "admin",
                    "avatar": "",
                    "realname": "管理员"
                },
                {
                    "id": 2,
                    "account": "productManager",
                    "avatar": "",
                    "realname": "产品经理"
                }
            ],
            "reviewer": "",
            "createdBy": {
                "id": 1,
                "account": "admin",
                "avatar": "",
                "realname": "管理员"
            },
            "createdDate": "2021-12-01T05:17:04Z",
            "createdVersion": "15.8",
            "order": 30,
            "deleted": "0",
            "lineName": "",
            "programName": "企业管理",
            "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
        }
    ]
}
返回顶部
张淑钧
高级客户经理
13156280939
2082428410
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。