代码拉取完成,页面将自动刷新
{
"swagger": "2.0",
"info": {
"title": "ZenTao API",
"description": "ZenTao Project Management System API",
"version": "17.3.1"
},
"host": "your-zentao-domain.com",
"basePath": "/zentao",
"schemes": [
"http",
"https"
],
"paths": {
"/api-getProduct": {
"get": {
"tags": [
"Product"
],
"summary": "获取产品信息",
"description": "根据产品 ID 获取产品详细信息",
"parameters": [
{
"name": "productID",
"in": "query",
"description": "产品 ID",
"required": true,
"type": "integer"
}
],
"responses": {
"200": {
"description": "成功获取产品信息",
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "产品 ID"
},
"name": {
"type": "string",
"description": "产品名称"
},
"code": {
"type": "string",
"description": "产品代码"
},
"type": {
"type": "string",
"description": "产品类型"
}
}
}
}
}
}
},
"/api-getBuild": {
"get": {
"tags": [
"Build"
],
"summary": "获取构建信息",
"description": "根据构建 ID 获取构建详细信息",
"parameters": [
{
"name": "buildID",
"in": "query",
"description": "构建 ID",
"required": true,
"type": "integer"
}
],
"responses": {
"200": {
"description": "成功获取构建信息",
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "构建 ID"
},
"product": {
"type": "integer",
"description": "所属产品 ID"
},
"build": {
"type": "string",
"description": "构建编号"
},
"name": {
"type": "string",
"description": "构建名称"
},
"date": {
"type": "string",
"description": "构建日期"
}
}
}
}
}
}
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。