查询文件隔离箱列表
更新时间 2025-12-25 10:07:56
最近更新时间: 2025-12-25 10:07:56
接口功能介绍
文件隔离箱-查询文件隔离箱列表
接口约束
无
URI
POST /v1/fileQuarantine/list
路径参数 无
Query参数 无
请求参数
请求头header参数
| 参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|---|
| Content-Type | 是 | String | Content-Type | application/json |
请求体body参数
| 参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|---|
| likeQueryType | 否 | Integer | 模糊查询参数类型 | ||
| 1-服务器名称 2-服务器ip 13-文件md5 | 1 | ||||
| likeQueryParam | 否 | String | 模糊查询参数 | test | |
| currentPage | 是 | Integer | 分页当前页码 | 1 | |
| pageSize | 是 | Integer | 每页大小 | 10 | |
| status | 否 | Integer | 状态 | 1 |
响应参数
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| error | String | 返回码 | ||
| CTCSSCN_000000:成功 | ||||
| CTCSSCN_000001:失败 | ||||
| CTCSSCN_000003:用户未签署协议,安全卫士系统无法正常使用 | ||||
| CTCSSCN_000004:鉴权错误 | ||||
| CTCSSCN_000005:用户没有付费版配额,功能不可用 | CTCSSCN_000000 | |||
| message | String | 返回信息 | success | |
| returnObj | Object | 返回对象 | returnObj | |
| traceId | String | traceId | asaadasd11111 | |
| statusCode | String | 状态码 200-成功 | 200 | |
| 表 returnObj |
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| total | Integer | 总数 | 100 | |
| list | Array of Objects | 结果集 | list | |
| pageNum | Integer | 当前页 | 1 | |
| pageSize | Integer | 每页的数量 | 10 | |
| 表 list |
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| id | String | 主键 | ALT001021213131 | |
| status | Integer | 状态 1-隔离成功 2-恢复成功 3-已删除 99-处理中 | 1 | |
| filePath | String | 文件路径 | /test | |
| isolatePath | String | 隔离文件路径 | /isolate/test | |
| fileMd5 | String | 文件md5 | ebab7deb844141428da00b0eadbec9b4 | |
| sha256 | String | sha256 | ebab7deb844141428da00b0eadbec9b4 | |
| agentGuid | String | agentGuid | 389F8B3D-880C-42EA-8070-9157BFEB35F0 | |
| createTime | String | 创建时间 | 2022-06-01 10:10:10 | |
| updateTime | String | 修改时间 | 2022-06-01 10:10:10 | |
| remark | String | 备注 | test | |
| privateIp | String | 私有ip | 10.10.10.10 | |
| publicIp | String | 公有ip | 10.10.10.10 | |
| custName | String | 主机名称 | test | |
| hostName | String | 主机名称 | test | |
| displayName | String | 实例名称 | test | |
| osType | String | 操作系统类型 | Linux |
枚举参数
无
请求示例
请求url
无
请求头header
{"Content-Type": "application/json"}
请求体body
{"likeQueryType": 1, "likeQueryParam": "test", "currentPage": 1, "pageSize": 10, "status": 1}
响应示例
{"message": "success", "traceId": "asaadasd11111", "statusCode": "200", "error": "CTCSSCN_000000", "returnObj": {"total": 100, "list": [{"id": "ALT001021213131", "status": 1, "filePath": "/test", "isolatePath": "/isolate/test", "fileMd5": "ebab7deb844141428da00b0eadbec9b4", "sha256": "ebab7deb844141428da00b0eadbec9b4", "agentGuid": "389F8B3D-880C-42EA-8070-9157BFEB35F0", "createTime": "2022-06-01 10:10:10", "updateTime": "2022-06-01 10:10:10", "remark": "test", "privateIp": "10.10.10.10", "publicIp": "10.10.10.10", "custName": "test", "hostName": "test", "displayName": "test", "osType": "Linux"}], "pageNum": 1, "pageSize": 10}}
状态码
请参考 状态码
错误码
请参考 错误码