# 说明

创建项目里程碑支线

# url

https://apiv2.tapd.tencent.com/workspace_milestones_branch

# 支持格式

JSON/XML(默认JSON格式)

# HTTP请求方式

POST

# 请求参数

字段名 必选 类型及范围 说明 特殊规则
workspace_id integer 项目ID
name string 标题
creator string 创建人

# 调用示例及返回结果

# 创建项目里程碑支线

# curl 使用 Basic Auth 鉴权调用示例

curl -u 'api_user:api_password' -d 'workspace_id=10104801&name=第一支线&creator=xxxx' 'https://apiv2.tapd.tencent.com/workspace_milestones_branch'

# curl 使用 OAuth Access Token 鉴权调用示例

curl -H 'Authorization: Bearer ACCESS_TOKEN' -d 'workspace_id=10104801&name=第一支线&creator=xxxx' 'https://apiv2.tapd.tencent.com/workspace_milestones_branch'

# 返回结果

{
    "status": 1,
    "data": {
        "MilestoneBranch": {
            "id": "1010104801000000710",
            "name": "第一支线",
            "created": "2025-05-20 10:43:52",
            "modified": "2025-05-20 10:43:52",
            "creator": "v_xuanfang",
            "modifier": null,
            "workspace_id": "10104801",
            "sort": "71000000",
            "type": ""
        }
    },
    "info": "success"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

# 里程碑相关字段说明

# 里程碑相关重要字段说明

字段 说明
id id
name 标题
workspace_id 项目ID
created 创建时间
creator 创建者的名字
modified 最后修改时间
modifier 最后修改人
上次更新: 2025-05-20 10:47:11