# 批量查询资源冻结记录
# 调用方式: GET
# 接口地址:
https://api.freelog.com/v2/resources/freeOrRecover/records
1
# url传入参数说明:
参数 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
resourceIds | 必选 | string | 资源ID,多个用逗号分隔,最多100个 |
recordDesc | 可选 | int | 1:冻结记录倒序排序 0:冻结记录正序排序 默认为1 |
recordLimit | 可选 | int | 查询的每个资源冻结与解冻记录条数 |
# 返回说明:
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
resourceId | string | 资源ID |
resourceName | string | 资源名称 |
records | object[] | 操作记录 |
** reason | string | 原因 |
** remark | string | 备注 |
** operatorUserId | int | 操作人ID |
** operatorUserName | string | 操作人姓名 |
** type | int | 1:冻结 2:解封 |
** createDate | date | 操作日期 |
# 示例
{
"ret": 0,
"errCode": 0,
"errcode": 0,
"msg": "success",
"data": [{
"_id": "623ac600a199bd0c04f214cc",
"resourceId": "5f1e9c1740641d002ba34a8d",
"resourceName": "12345676789/hello_world",
"records": [{
"reason": "test",
"remark": "解冻",
"operatorUserId": 50028,
"operatorUserName": "yuliang",
"type": 1,
"createDate": "2022-03-23T07:02:48.432Z"
}],
"createDate": "2022-03-23T07:02:24.994Z",
"updateDate": "2022-03-23T07:06:53.597Z"
}]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
← 批量设置或移除资源标签 批量冻结或解封资源 →