# 说明

返回符合查询条件的所有板块(分页显示,默认一页30条)

# url

https://api.tapd.cn/board_columns

# 支持格式

JSON/XML(默认JSON格式)

# HTTP请求方式

GET

# 请求数限制

默认返回 30 条。可通过传 limit 参数设置,最大取 200。也可以传 page 参数翻页

# 请求参数

字段名 必选 类型及范围 说明 特殊规则
workspace_id integer 项目ID
id integer 板块ID
name string 板块名称
board_id integer 看板ID
status string 状态
created datetime 创建时间
creator string 创建人
limit integer 设置返回数量限制,默认为30
page integer 返回当前数量限制下第N页的数据,默认为1(第一页)
order string 排序规则,规则:字段名 ASC或者DESC,然后 urlencode 如按创建时间逆序:order=created%20desc
fields string 设置获取的字段,多个字段间以','逗号隔开

# 调用示例及返回结果

curl -u 'api_user:api_password' 'https://api.tapd.cn/board_columns?workspace_id=10104801'

# 返回结果

{
    "status": 1,
    "data": [
        {
            "Column": {
                "id": "1010104801000032321",
                "name": "已上线",
                "board_id": "1010104801000007781",
                "status": "open",
                "sort": "7",
                "created": "2018-07-19 16:46:04",
                "creator": "TAPD",
                "workspace_id": "10104801"
            }
        },
        {
            "Column": {
                "id": "1010104801000032319",
                "name": "开发中",
                "board_id": "1010104801000007781",
                "status": "open",
                "sort": "6",
                "created": "2018-07-19 16:46:04",
                "creator": "TAPD",
                "workspace_id": "10104801"
            }
        },
        {
            "Column": {
                "id": "1010104801000032317",
                "name": "设计中",
                "board_id": "1010104801000007781",
                "status": "open",
                "sort": "5",
                "created": "2018-07-19 16:46:04",
                "creator": "TAPD",
                "workspace_id": "10104801"
            }
        },
        {
            "Column": {
                "id": "1010104801000032315",
                "name": "需求排期",
                "board_id": "1010104801000007781",
                "status": "open",
                "sort": "4",
                "created": "2018-07-19 16:46:04",
                "creator": "TAPD",
                "workspace_id": "10104801"
            }
        },
        {
            "Column": {
                "id": "1010104801000032313",
                "name": "需求评审",
                "board_id": "1010104801000007781",
                "status": "open",
                "sort": "3",
                "created": "2018-07-19 16:46:04",
                "creator": "TAPD",
                "workspace_id": "10104801"
            }
        }
    ],
    "info": "success"
}
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66

# 板块字段说明

# 板块重要字段说明

字段 说明
workspace_id 项目ID
id 板块ID
name 板块名称
board_id 看板ID
status 状态
created 创建时间
creator 创建人
sort 计数
上次更新: 2022-06-28 16:07:18