获取产品详情 分享链接

作者:王怡栋 最后编辑:禅道软件 于 2022-03-17 15:10:02 浏览量:5241
GET
/products/:id

获取产品详情

请求头

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

请求响应

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

响应示例

{
    "id": 1,
    "program": 6,
    "name": "公司企业网站建设1",
    "code": "companyWebsite",
    "bind": "0",
    "line": 0,
    "type": "normal",
    "status": "normal",
    "subStatus": "",
    "desc": "建立公司企业网站,可以更好对外展示。<br />",
    "PO": {
        "id": 2,
        "account": "productManager",
        "avatar": "",
        "realname": "产品经理"
    },
    "QD": {
        "id": 10,
        "account": "testManager",
        "avatar": "",
        "realname": "测试经理"
    },
    "RD": {
        "id": 2,
        "account": "productManager",
        "avatar": "",
        "realname": "产品经理"
    },
    "acl": "open",
    "whitelist": [],
    "reviewer": "",
    "createdBy": {
        "id": 2,
        "account": "productManager",
        "avatar": "",
        "realname": "产品经理"
    },
    "createdDate": "2012-06-05T01:57:07Z",
    "createdVersion": "",
    "order": 5,
    "deleted": "0",
    "stories": {
        "active": 5,
        "draft": 3,
        "": 0,
        "closed": 0,
        "changed": 0
    },
    "plans": 0,
    "releases": 0,
    "builds": 0,
    "cases": 5,
    "projects": 0,
    "executions": 0,
    "bugs": 5,
    "docs": 0,
    "progress": 0,
    "caseReview": false
}