# 说明

获取当前用户参与的项目列表(无分页)

# url

https://apiv2.tapd.tencent.com/workspaces/get_participant_projects

# 支持格式

JSON/XML(默认JSON格式)

# HTTP请求方式

GET

# 请求数限制

  • 此接口不支持 Basic Auth 调用
  • 仅支持用户态 OAuth Access Token 调用
  • 一次返回所有符合条件的值

# 请求参数

字段名 必选 类型及范围 说明 特殊规则
status string 项目状态,多个状态用逗号隔开“normal,suspend”,缺失该参数时默认所有状态

# 调用示例及返回结果

# 获取当前用户参与的项目列表

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

curl -H 'Authorization: Bearer ACCESS_TOKEN' 'https://apiv2.tapd.tencent.com/workspaces/get_participant_projects'

# 返回结果

{
    "status": 1,
    "data": [
        {
            "Workspace": {
                "id": "755",
                "name": "TAPD平台",
                "pretty_name": "tapd",
                "category": "product",
                "status": "normal",
                "description": "研发管理平台",
                "begin_date": "2006-04-13",
                "end_date": "2017-09-27",
                "external_on": "1",
                "creator": "",
                "created": "2007-05-01 00:00:00"
            }
        },
        {
            "Workspace": {
                "id": "10022001",
                "name": "Demo项目",
                "pretty_name": "tapd_demo",
                "category": "product",
                "status": "normal",
                "description": "",
                "begin_date": "2015-07-04",
                "end_date": "2015-07-31",
                "external_on": "1",
                "creator": "",
                "created": "2010-04-19 18:46:30"
            }
        },
        {
            "Workspace": {
                "id": "10037251",
                "name": "接口自动化测试专用项目(勿动)",
                "pretty_name": "rtx_5001",
                "category": "project",
                "status": "normal",
                "description": "5001 人工处理记录 BUG单,统计数据。",
                "begin_date": "2012-04-10",
                "end_date": null,
                "external_on": "1",
                "creator": "",
                "created": "2011-06-03 17:27:31"
            }
        }
    ],
    "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

# 项目相关字段说明

# 项目相关重要字段说明

字段 说明
id 项目 id
name 项目名称
pretty_name 项目英文昵称
category 项目类别
status 项目状态: normal 正常,closed 关闭,suspend 挂起
description 项目描述
begin_date 开始时间
end_date 结束时间
external_on 是否开通外网
creator 项目创建者的名字
created 项目创建时间
上次更新: 2024-07-09 16:49:11