代码拉取完成,页面将自动刷新
同步操作将从 腾讯蓝鲸智云/bk-cmdb 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
{
"host_query_column":"["bk_host_innerip", "bk_host_name"]",
"host_display_column":"["bk_host_innerip", "bk_host_name"]",
"biz_query_column":"["bk_biz_name", "bk_biz_productor", "bk_biz_maintainer"}",
"biz_display_column":"{"bk_biz_name", "bk_biz_productor", "bk_biz_maintainer"}",
"bk_biz_id":123
}
名称 | 类型 | 必填 | 默认值 | 说明 | Description |
---|---|---|---|---|---|
host_query_column | string数组 | 否 | 无 | 主机查询字段 | host query fields |
host_display_column | string数组 | 否 | 无 | 主机展示字段 | host display fields |
biz_query_column | string 数组 | 否 | 无 | 业务查询字段 | business query fields |
biz_display_column | string数组 | 否 | 无 | 业务展示字段 | business display fields |
bk_biz_id | int | 否 | 无 | 业务ID | business ID |
{
"result":true,
"bk_error_code":0,
"bk_error_msg":"",
"data":null
}
名称 | 类型 | 说明 | Description |
---|---|---|---|
result | bool | 请求成功与否。true:请求成功;false请求失败 | request result |
bk_error_code | int | 错误编码。 0表示success,>0表示失败错误 | error code. 0 represent success, >0 represent failure code |
bk_error_msg | string | 请求失败返回的错误信息 | error message from failed request |
data | null | 请求返回的数据 | return data |
{
"result":true,
"bk_error_code":0,
"bk_error_msg":"",
"data":{
"bk_biz_id":123,
"host_query_column":"{"bk_host_innerip", "bk_host_name"}",
"host_display_column":"{"bk_host_innerip", "bk_host_name"}",
"biz_query_column":"{"bk_biz_name", "bk_bus_productor", "bk_biz_maintainer"}",
"biz_display_column":"{"bk_biz_name", "bk_bus_productor", "bk_biz_maintainer"}",
"id":"b81ervtmjrcduf67mm9g",
"user":"test default"
}
}
名称 | 类型 | 说明 | Description |
---|---|---|---|
result | bool | 请求成功与否。true:请求成功;false请求失败 | request result |
bk_error_code | int | 错误编码。 0表示success,>0表示失败错误 | error code. 0 represent success, >0 represent failure code |
bk_error_msg | string | 请求失败返回的错误信息 | error message from failed request |
data | object | 请求返回的数据 | return data |
data字段说明:
名称 | 类型 | 说明 | Description |
---|---|---|---|
host_query_column | string数组 | 主机查询字段 | host query fields |
host_display_column | string数组 | 主机展示字段 | host display fields |
biz_query_column | string 数组 | 业务查询字段 | business query fields |
biz_display_column | string数组 | 业务展示字段 | business display fields |
bk_biz_id | int | 业务ID | business ID |
id | int | 主键ID | primary key ID |
user | string | 用户名 | user name |
API: POST /api/{version}/usercustom/default/search
API名称: get_user_default_custom
功能说明:
input body: 无
output:
{
"result":true,
"bk_error_code":0,
"bk_error_msg":"",
"data":{
"host_query_column":"{"bk_host_innerip", "bk_host_name"}",
"host_display_column":"{"bk_host_innerip", "bk_host_name"}",
"biz_query_column":"{"bk_biz_name", "bk_bus_productor", "bk_biz_maintainer"}",
"biz_display_column":"{"bk_biz_name", "bk_bus_productor", "bk_biz_maintainer"}",
"id":"b81ervtmjrcduf67mm9g",
"user":"test default",
"is_default":1,
}
}
名称 | 类型 | 说明 | Description |
---|---|---|---|
result | bool | 请求成功与否。true:请求成功;false请求失败 | request result |
bk_error_code | int | 错误编码。 0表示success,>0表示失败错误 | error code. 0 represent success, >0 represent failure code |
bk_error_msg | string | 请求失败返回的错误信息 | error message from failed request |
data | object | 请求返回的数据 | return data |
data字段说明:
名称 | 类型 | 说明 | Description |
---|---|---|---|
host_query_column | string数组 | 主机查询字段 | host query fields |
host_display_column | string数组 | 主机展示字段 | host display fields |
biz_query_column | string 数组 | 业务查询字段 | business query fields |
biz_display_column | string数组 | 业务展示字段 | business display fields |
bk_biz_id | int | 业务ID | business ID |
id | int | 主键ID | primary key ID |
user | string | 用户名 | user name |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。