# 说明
获取发布评审依据
# url
https://api.tapd.cn/launch_accessories
# 支持格式
JSON/XML(默认JSON格式)
# HTTP请求方式
GET
# 请求数限制
一次只能获取一个评审单的依据
# 请求参数
字段名 | 必选 | 类型及范围 | 说明 | 特殊规则 |
---|---|---|---|---|
workspace_id | 是 | integer | 项目ID | |
form_id | 是 | integer | 评审单ID | |
id | 否 | integer | 评审依据ID | |
created_by | 否 | string | 创建人 | |
created | 否 | datetime | 创建时间 | 支持时间查询 |
# 调用示例及返回结果
# 获取发布评审依据
# curl 使用 Basic Auth 鉴权调用示例
curl -u 'api_user:api_password' 'https://api.tapd.cn/launch_accessories?workspace_id=10104801&form_id=1010104801000402051'
# 返回结果
{
"status": 1,
"data": [
{
"LaunchAccessory": {
"id": "1010104801000253485",
"form_id": "1010104801000402051",
"workspace_id": "10104801",
"type": "launch_tasks_list",
"tag": null,
"title": "任务列表",
"content": "1010104801500601739",
"description": null,
"content_type": "task",
"created_by": "v_xuanfang",
"created": "2020-06-11 16:17:56",
"group_id": null,
"source": ""
}
},
{
"LaunchAccessory": {
"id": "1010104801000253483",
"form_id": "1010104801000402051",
"workspace_id": "10104801",
"type": "launch_bugs_list",
"tag": null,
"title": "缺陷列表",
"content": "1010104801500657621,1010104801500657725",
"description": null,
"content_type": "bug",
"created_by": "v_xuanfang",
"created": "2020-06-10 19:30:56",
"group_id": null,
"source": ""
}
},
{
"LaunchAccessory": {
"id": "1010104801000253481",
"form_id": "1010104801000402051",
"workspace_id": "10104801",
"type": "launch_tasks_list",
"tag": null,
"title": "任务列表",
"content": "1010104801854777111,1010104801500605567",
"description": null,
"content_type": "task",
"created_by": "v_xuanfang",
"created": "2020-06-10 19:30:56",
"group_id": null,
"source": ""
}
},
{
"LaunchAccessory": {
"id": "1010104801000253479",
"form_id": "1010104801000402051",
"workspace_id": "10104801",
"type": "launch_stories_list",
"tag": null,
"title": "需求列表",
"content": "1010104801854801053,1010104801854801021",
"description": null,
"content_type": "story",
"created_by": "v_xuanfang",
"created": "2020-06-10 19:30:56",
"group_id": null,
"source": ""
}
},
{
"LaunchAccessory": {
"id": "1010104801000253477",
"form_id": "1010104801000402051",
"workspace_id": "10104801",
"type": "launch_url",
"tag": null,
"title": "URL",
"content": "baidu.com",
"description": null,
"content_type": null,
"created_by": "v_xuanfang",
"created": "2020-06-10 19:30:56",
"group_id": null,
"source": ""
}
},
{
"LaunchAccessory": {
"id": "1010104801000194339",
"form_id": "1010104801000402051",
"workspace_id": "10104801",
"type": "launch_attachment_group",
"tag": "attachment_group",
"title": "附件",
"content": "1010104801000194337",
"description": "attachement_list",
"content_type": "attachment_list",
"created_by": "anyechen",
"created": "2017-09-01 11:11:27",
"group_id": null,
"source": ""
}
},
{
"LaunchAccessory": {
"id": "1010104801000194337",
"form_id": "1010104801000402051",
"workspace_id": "10104801",
"type": "launch_attachment",
"tag": "attachment",
"title": "raingeek.jpg",
"content": "/data/home/anyechen/public_html/tapd/app/webroot/files/launch_attachments/10104801/",
"description": null,
"content_type": "image/jpeg",
"created_by": "anyechen",
"created": "2017-09-01 11:11:27",
"group_id": "1010104801000194339",
"source": ""
}
}
],
"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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# 返回字段说明
字段 | 说明 |
---|---|
id | 评审依据ID |
workspace_id | 所属项目ID |
form_id | 评审单ID |
type | 类型列表 |
title | 标题 |
tag | 附件 |
content | 评审依据数据 |
description | 详细描述 |
content_type | 数据类型 |
created_by | 创建人 |
created | 创建时间 |