检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
&feature_name=asiw 响应示例 状态码:200 查询功能开关的状态返回体 { "status": "success", "result": { "value": { "is_display": 1 "feature_name":
参数 是否必选 参数类型 描述 owner_id 否 String 用户id feature_type 否 String 功能开关类型:项目级开关(project)或用户级开关(user) feature_name 否 String 功能开关标识 is_display 否 String
询当前任务版本下的用例最新结果 sort_field 否 String 排序字段 sort_type 否 String 排序方法 feature_uri 否 String 特性目录URI task_result_uri 否 String 测试套结果uri rank_ids 否 Array
不涉及 取值范围: true:查询子需求关联的用例 false:不查询子需求关联的用例 默认取值: true include_sub_feature 否 Boolean 参数解释: 是否查询子目录的用例 约束限制: 不涉及 取值范围: true:查询子目录关联的用例 false:不查询子目录关联的用例
"isForbidden" : 1, "isKeyWord" : 0, "scriptUrl" : "ApiTest/API接口测试项目_B84uOR_alpha/src/scripts/user/Case_23a8ccb5af
外部系统根据用例编号获取用例 功能介绍 根据用例编号获取用例 调用方法 请参见如何调用API。 URI GET /v4/testhub/projects/{project_id}/testcase 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String
String 间隔时间单位 git_url String Git仓库地址 envSystem String 环境系统 downloadScriptUrl downloadScriptUrl object 脚本下载地址 branchId String 分支ID rgid String RGID
"operation_type" : "updateMindmapCreatorInfo", "resource_type" : "feature_root_id", "resource_id" : "mindmap", "offset" : 1, "limit"
last_result_uri String 参数解释 最后一次结果Uri 取值范围 不涉及 feature_uri String 参数解释 目录Uri 取值范围 不涉及 feature_name String 参数解释 目录名称 取值范围 不涉及 interface_name String
"2025-06-08 23:59:59", "endTime" : "2025-06-09 23:59:59", "featureUris" : [ "v90100010hehfl0r", "", "v90100010gpop318" ] } } 响应示例 状态码:200
operty 响应示例 状态码:200 OK { "status" : "success", "result" : [ "hostURL" ], "reason" : null, "error" : null, "code" : null, "costTimeResult"
服务ip last_modified_time Long 最后修改时间 finished_count Integer 执行完成总数 return_value Object 异步操作返回值 exception_message String 异常信息 line_up_num Integer
已关联) include_sub_issue 否 Boolean 是否查询子需求关联的用例,默认true include_sub_feature 否 Boolean 是否查询子目录的用例,默认true label_ids 否 Array of strings 标签ID集合 execute_start_time
"update_time_string" : "", "releaseDev" : "", "tmss_case_uri" : "", "tmss_feature_uri" : "", "activity_id" : 1, "tmss_property" : { "projectUUId"
外部系统创建测试用例 功能介绍 外部系统创建测试用例 调用方法 请参见如何调用API。 URI POST /v4/testhub/projects/{project_id}/testcases 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String
已关联) include_sub_issue 否 Boolean 是否查询子需求关联的用例,默认true include_sub_feature 否 Boolean 是否查询子目录的用例,默认true label_ids 否 Array of strings 标签ID集合 execute_start_time
SystemConfig object 参数解释: 系统配置信息 表4 SystemConfig 参数 是否必选 参数类型 描述 id 否 String 参数解释: 系统配置编号 取值范围: 大小写字母、数字。 key 否 AnyType 参数解释: 系统配置名称 取值范围: 大小写字母、数字、符号。
"return_type" : "[{\"returnCode\":200,\"type\":\"basic\",\"body\":\"未被定义为引用\"},{\"returnCode\":401},{\"returnCode\":403},{\"returnCode\":404}]"
参数解释: 所属目录的根目录ID 取值范围: 1.-1:特性目录其他目录 2.requirement_root_id:需求根目录 3.feature_root_id:特性根目录 branch_uri 否 String 参数解释: 分支uri 取值范围: 大小写字母、数字。 长度限制1-34位
"folder_id" : "feature_root_id", "project_id" : "fb07002bf4ae4317a855b590a86a52e0", "folder_root_id" : "feature_root_id", "branch_uri"