# 说明

获取计划变更历史

# url

https://api.tapd.cn/api/testx/plan/v1/namespaces/{namespace}/plans/{plan_uid}/histories

# 支持格式

JSON

# HTTP请求方式

GET

# 请求参数

# Request

字段名 必选 类型及范围 说明
PlanUid string 计划ID
Namespace string 命名空间
PageInfo PageInfo 分页信息

# pageinfo

字段名 必选 类型及范围 说明
Offset uint32 分页偏移位置
Limit uint32 每页数量

# 返回结果

{
    "Error": null,
    "Data": [
        {
            "Uid": "Uid",
            "Creator": "Creator",
            "CreateAt": "2025-07-16T17:12:10+08:00",
            "PlanUid": "PlanUid",
            "Fields": [
                {
                    "Uid": "Uid",
                    "Name": "测试字段一",
                    "PreValue": "test-pre",
                    "PostValue": "test"
                },
                {
                    "Uid": "Uid",
                    "Name": "测试字段二",
                    "PreValue": "",
                    "PostValue": "21"
                }
            ]
        }
    ],
    "TotalCount": 1
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

# 测试计划字段说明

# PlanHistory

字段名 必选 类型及范围 说明
Uid string 计划变更历史ID
Creator string 记录人
CreateAt string 记录时间
PlanUid string 所属计划ID
Fields repeated PlanHistoryField 变更字段详情

# PlanHistoryField

字段名 必选 类型及范围 说明
Uid string 字段变更ID
Name string 变更字段名称
PreValue string 变更前值
PostValue string 变更后值
上次更新: 2025-07-22 14:18:47