# 说明

计算符合查询条件的特性数量并返回

# url

https://api.tapd.cn/features/count

# 支持格式

JSON/XML(默认JSON格式)

# HTTP请求方式

GET

# 请求数限制

只返回特性数量

# 请求参数

字段名 必选 类型及范围 说明 特殊规则
id integer id 支持多ID查询
name string 标题 支持模糊匹配
description string 详细描述
owner string 负责人
created datetime 创建时间 支持时间查询
workspace_id integer 项目ID

# 调用示例及返回结果

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

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

curl 'Authorization: Bearer ACCESS_TOKEN' 'https://api.tapd.cn/features/count?workspace_id=10104801'

# 返回结果

{
    "status": 1,
    "data": {
        "count": 6
    },
    "info": "success"
}
1
2
3
4
5
6
7
上次更新: 2023-02-17 10:22:17