分页获取工程关键字详细信息列表(含目录)
功能介绍
分页获取工程关键字列表(含目录)
调用方法
请参见如何调用API。
URI
GET /v1/{project_id}/aw_cata/aw_info_list
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
project_id |
是 |
String |
参数解释 项目UUID,项目唯一标识,固定长度32位字符(字母和数字)。获取方式请参见获取项目唯一标识。 约束限制 不涉及 取值范围 32个字符组成的字符串 默认取值 不涉及 |
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
aw_name |
否 |
String |
过滤条件 |
page_no |
是 |
String |
当前页数 |
page_size |
是 |
String |
每页多少记录 |
parent_id |
否 |
String |
父目录唯一标识 |
请求参数
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
X-Auth-Token |
是 |
String |
参数解释: 用户Token。 通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。 约束限制: 必传。 取值范围: 字符串长度不少于1,不超过10万。 默认取值: 不涉及。 |
响应参数
状态码:200
参数 |
参数类型 |
描述 |
---|---|---|
code |
String |
错误码 |
error |
统一错误返回 |
|
reason |
String |
失败原因 |
result |
PageResultVariableGroup object |
结果 |
status |
String |
状态 |
参数 |
参数类型 |
描述 |
---|---|---|
code |
String |
错误码 |
detail |
PageResultVariableGroup object |
错误信息详情 |
reason |
String |
错误原因 |
参数 |
参数类型 |
描述 |
---|---|---|
page_list |
Array of VariableGroup objects |
当前页数据 |
page_no |
Integer |
当前页数 |
page_size |
Integer |
每页条数 |
total_page |
Integer |
总页数 |
total_size |
Long |
总条数 |
参数 |
参数类型 |
描述 |
---|---|---|
create_time |
String |
创建时间 |
create_user |
String |
创建人 |
description |
String |
描述 |
id |
String |
唯一标识 |
isDefault |
String |
是否是默认 |
name |
String |
名称 |
projectId |
String |
项目唯一标识 |
region |
String |
区域名称 |
update_time |
String |
更新时间 |
update_user |
String |
更新人 |
variableList |
Array of Variable objects |
融合变量 |
参数 |
参数类型 |
描述 |
---|---|---|
by_order |
Integer |
顺序 |
category |
String |
节点顺序 |
create_time |
String |
创建时间 |
create_user |
String |
创建人 |
currentPermission |
String |
当前人员权限 |
description |
String |
描述 |
dynamicParamFlag |
Boolean |
动态参数标志,默认为false:true代表动态参数;false代表非动态参数 |
functionParams |
String |
变量参数([]:空参、[a]:一参,[a,b]:两参) |
groupId |
String |
环境参数分组唯一标识 |
id |
String |
唯一标识 |
isSensitiveInfo |
Boolean |
是否是敏感字段 |
isSensitiveModified |
Boolean |
敏感字段是否被修改,不敏感字段不关注此值 |
locked |
Integer |
是否上锁 上锁以后的全局变量进行工程复制时不会被覆盖 0-未上锁 1-上锁 |
name |
String |
名称 |
node_id |
String |
节点唯一标识 |
node_type |
Integer |
0/null-变量节点;1-目录节点 |
parent_id |
String |
关键字目录父编号 |
parent_node_id |
String |
父节点唯一标识 |
property |
String |
属性 |
region |
String |
区域名称 |
sensitiveInfoSetterTime |
String |
敏感参数设置时间 |
sensitiveInfoSetterUser |
String |
敏感参数设置者名称 |
sourceId |
String |
复制的全局变量的源唯一标识 |
type |
String |
变量类型 |
update_time |
String |
更新时间 |
update_user |
String |
更新人 |
variableType |
Integer |
变量类型(0:text,10-16:7个内置函数) |
状态码:401
参数 |
参数类型 |
描述 |
---|---|---|
error_code |
String |
参数解释 接口调用失败错误码 取值范围 12-18个字符组成的字符串 |
error_msg |
String |
参数解释 接口调用失败错误信息 取值范围 3-1000个字符组成的字符串 |
状态码:403
参数 |
参数类型 |
描述 |
---|---|---|
error_code |
String |
参数解释 接口调用失败错误码 取值范围 12-18个字符组成的字符串 |
error_msg |
String |
参数解释 接口调用失败错误信息 取值范围 3-1000个字符组成的字符串 |
状态码:404
参数 |
参数类型 |
描述 |
---|---|---|
error_code |
String |
参数解释 接口调用失败错误码 取值范围 12-18个字符组成的字符串 |
error_msg |
String |
参数解释 接口调用失败错误信息 取值范围 3-1000个字符组成的字符串 |
请求示例
get https://{endpoint}/v1/1ac05b43669448f3bcc52446b1aa0b11/aw_cata/aw_info_list?aw_name=&page_no=1&page_size=10&parent_id=TOP
响应示例
状态码:200
OK
{
"status" : "success",
"result" : {
"page_no" : 1,
"page_size" : 10,
"total_page" : 1,
"total_size" : 3,
"page_list" : [ {
"id" : "122d0e967213495ebb922b1f746b6784",
"warningMsg" : null,
"source" : "",
"method" : "",
"description" : null,
"nameView" : null,
"tmssCaseNumber" : null,
"region" : null,
"yamlName" : null,
"create_time_string" : "2025-06-12 19:51:09 GMT+08:00",
"update_time_string" : "2025-06-12 19:51:09 GMT+08:00",
"create_time_stamp" : 1749729069000,
"update_time_stamp" : 1749729069000,
"create_user" : "fdc93bccd8d040778701d4d35a4a4313",
"create_time" : "2025-06-12T07:51:09+0800",
"update_user" : "fdc93bccd8d040778701d4d35a4a4313",
"update_time" : "2025-06-12T07:51:09+0800",
"name" : "默认文件夹",
"param_type_and_dft_value" : null,
"dft_custom_header" : null,
"dft_check_point_list" : null,
"dft_variable_list" : null,
"keyword_variable_value" : null,
"dft_retry_times" : "",
"dft_retry_interval" : "",
"return_type" : "",
"aw_type" : 0,
"aw_ins_list" : null,
"project_id" : "1ac05b43669448f3bcc52446b1aa0b11",
"public_aw_lib_id" : "",
"special_type" : null,
"has_code" : null,
"aw_code" : "",
"group_name" : "",
"protocol_type" : "",
"by_order" : null,
"aw_mark" : null,
"output_param_list" : null,
"is_favorite" : null,
"tmss_case_id" : null,
"create_user_id" : "",
"aw_description" : null,
"origin_project" : null,
"aw_uniqueid" : null,
"aw_tags" : null,
"aw_operationid" : null,
"interface_label" : null,
"import_package" : null,
"public_aw_lib" : null,
"root_id" : null,
"custom_aw_libs" : null,
"delete_time" : null,
"delete_user" : null,
"parent_id" : "TOP",
"is_folder" : "0",
"cata_type" : 4,
"page_no" : null,
"page_size" : null,
"total_page" : null,
"total_size" : null,
"child_list" : [ ],
"extra_info" : null
}, {
"id" : "8f49efe3119c49e694f51ac0b2d8fceb",
"warningMsg" : null,
"source" : "",
"method" : "",
"description" : "",
"nameView" : null,
"tmssCaseNumber" : null,
"region" : null,
"yamlName" : null,
"create_time_string" : "2025-06-12 19:40:19 GMT+08:00",
"update_time_string" : "2025-06-12 19:40:19 GMT+08:00",
"create_time_stamp" : 1749728419000,
"update_time_stamp" : 1749728419000,
"create_user" : "CloudTest-0704",
"create_time" : "2025-06-12T07:40:19+0800",
"update_user" : "CloudTest-0704",
"update_time" : "2025-06-12T07:40:19+0800",
"name" : "cataFolder_E3HCO",
"param_type_and_dft_value" : null,
"dft_custom_header" : null,
"dft_check_point_list" : null,
"dft_variable_list" : null,
"keyword_variable_value" : null,
"dft_retry_times" : "",
"dft_retry_interval" : "",
"return_type" : "",
"aw_type" : 0,
"aw_ins_list" : null,
"project_id" : "1ac05b43669448f3bcc52446b1aa0b11",
"public_aw_lib_id" : "",
"special_type" : null,
"has_code" : null,
"aw_code" : "",
"group_name" : "",
"protocol_type" : "",
"by_order" : null,
"aw_mark" : null,
"output_param_list" : null,
"is_favorite" : null,
"tmss_case_id" : null,
"create_user_id" : "",
"aw_description" : null,
"origin_project" : null,
"aw_uniqueid" : null,
"aw_tags" : null,
"aw_operationid" : null,
"interface_label" : null,
"import_package" : null,
"public_aw_lib" : null,
"root_id" : null,
"custom_aw_libs" : null,
"delete_time" : null,
"delete_user" : null,
"parent_id" : "TOP",
"is_folder" : "0",
"cata_type" : 3,
"page_no" : null,
"page_size" : null,
"total_page" : null,
"total_size" : null,
"child_list" : [ ],
"extra_info" : null
}, {
"id" : "72ee811957a5401cb9d8ab07cb0c2a18",
"warningMsg" : null,
"source" : "",
"method" : "",
"description" : "",
"nameView" : null,
"tmssCaseNumber" : null,
"region" : null,
"yamlName" : null,
"create_time_string" : "2025-06-12 19:51:22 GMT+08:00",
"update_time_string" : "2025-06-12 19:51:22 GMT+08:00",
"create_time_stamp" : 1749729082000,
"update_time_stamp" : 1749729082000,
"create_user" : "CloudTest-0704",
"create_time" : "2025-06-12T07:51:22+0800",
"update_user" : "CloudTest-0704",
"update_time" : "2025-06-12T07:51:22+0800",
"name" : "cataFolder_mI6Ex",
"param_type_and_dft_value" : null,
"dft_custom_header" : null,
"dft_check_point_list" : null,
"dft_variable_list" : null,
"keyword_variable_value" : null,
"dft_retry_times" : "",
"dft_retry_interval" : "",
"return_type" : "",
"aw_type" : 0,
"aw_ins_list" : null,
"project_id" : "1ac05b43669448f3bcc52446b1aa0b11",
"public_aw_lib_id" : "",
"special_type" : null,
"has_code" : null,
"aw_code" : "",
"group_name" : "",
"protocol_type" : "",
"by_order" : null,
"aw_mark" : null,
"output_param_list" : null,
"is_favorite" : null,
"tmss_case_id" : null,
"create_user_id" : "",
"aw_description" : null,
"origin_project" : null,
"aw_uniqueid" : null,
"aw_tags" : null,
"aw_operationid" : null,
"interface_label" : null,
"import_package" : null,
"public_aw_lib" : null,
"root_id" : null,
"custom_aw_libs" : null,
"delete_time" : null,
"delete_user" : null,
"parent_id" : "TOP",
"is_folder" : "0",
"cata_type" : 3,
"page_no" : null,
"page_size" : null,
"total_page" : null,
"total_size" : null,
"child_list" : [ ],
"extra_info" : null
} ]
},
"reason" : null,
"error" : null,
"code" : null,
"costTimeResult" : null
}
状态码
状态码 |
描述 |
---|---|
200 |
OK |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
错误码
请参见错误码。