跳转至

测试集接口

3.1 测试集接口

3.1.1 获取分页测试集

Path: /api-evaluation/suites

Method: GET

Headers:Headers

请求参数
参数名称 传参格式 说明 是否必填 类型
page query 当前页码 No number
pageSize query 每页数量 No number
返回数据
Code 说明 类型
200 OK SuiteResponse


3.1.2 创建测试集

Path: /api-evaluation/suites

Method: POST

Headers:Headers

请求参数
参数名称 传参格式 说明 是否必填 类型
suite body 包含id,name等测试集信息 Yes { "suite": Suite }
返回数据
Code 说明 类型
200 OK Suite



3.1.3 获取单个测试集

Path: /api-evaluation/suites/{id}

Method: GET

Headers:Headers

请求参数
参数名称 传参格式 说明 是否必填 类型
id path 测试集id Yes string
返回数据
Code 说明 类型
200 OK Suite


3.1.4 更新单个测试集

Path: /api-evaluation/suites/{id}

Method: PUT

Headers:Headers

请求参数
参数名称 传参格式 说明 是否必填 类型
id path 测试集id Yes string
data body 需要更新的测试集信息 Yes { "data": Suite }
返回数据
Code 说明 类型
200 OK Suite



3.1.5 批量删除测试集

Path: /api-evaluation/suites/remove

Method: POST

Headers:Headers

请求参数
参数名称 传参格式 说明 是否必填 类型
ids body 测试集id列表 Yes { "ids": [ string ] }
返回数据
Code 说明
204 No content