Skip to content

获取类别列表​

GET
/v2/categories?entity_type={entity_type}
  • 用于分页获取指定实体类型的类别列表。

授权

企业令牌
企业令牌获取流程
令牌 URLhttps://{rest_api_root}/v1/auth/token
作用域
  • 依赖 entity_type 对应的作用域
或
用户令牌
用户令牌获取流程
授权 URLhttps://{oauth2_root}/authorize
令牌 URLhttps://{rest_api_root}/v1/auth/token
作用域
  • 依赖 entity_type 对应的作用域

参数​

查询参数

entity_type*

类别所属实体类型。例如:

  • 在 entity_type 为 sprint 时,获取迭代的类别,此时要求作用域包括 pcp:read:pjm:sprint
类型
string
必填
有效值
"sprint""release""testplan""project""library""product"
pilot_id

类别所在的产品、项目或测试库的 id。仅 entity_type 为 sprint、release 或 testplan 时有效且必填。

类型
string

示例​

举报邮箱:abuse@worktile.com