跳到导航

更新测试调用

更新测试调用的用户自定义名称。

路径参数

test_invocation_idstring必需

测试调用的 ID。运行测试时返回此值。

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
namestring or null必需1-256 characters

测试调用的新名称。设为 null 可恢复自动生成的标题。

响应

成功响应

idstring
test_runslist of objects
namestring or null可选

测试调用的用户自定义名称(如已设置)。

agent_idstring or null可选
branch_idstring or null可选
version_idstring or null可选
ran_against_draftboolean可选默认为 false
created_atinteger可选
folder_idstring or null可选
repeat_countinteger可选默认为 1
cancelledboolean可选默认为 false
bucketing_statusenum or null可选

当 repeat_count==1 时为 None(不分桶)。否则跟踪分桶生命周期。

允许的值:
result_groupslist of objects可选

错误

422
Unprocessable Entity Error