# 分页查看用户节点数据列表
# 调用方式: GET
# 接口地址:
url1: https://api.freelog.com/v2/storages/buckets/.UserNodeData/objects
1
# url传入参数说明:
参数 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
skip | 可选 | int | 跳过的数量.默认为0. |
limit | 可选 | int | 本次请求获取的数据条数.一般不允许超过100 |
# 返回说明:
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
objectId | string | 存储对象ID |
sha1 | string | 存储对象的sha1值 |
objectName | string | 对象名称 |
bucketId | string | 对象所在的bucketId |
bucketName | string | 对象所在的bucket |
resourceType | string | 对象类型 |
systemProperty | object | 对象的系统属性 |
customProperty | object | 对象的自定义属性 |
nodeInfo | object | 节点信息 |
** nodeId | int | 节点ID |
** nodeName | string | 节点名称 |
** nodeDomain | string | 节点短域名 |
# 示例
{
"ret": 0,
"errCode": 0,
"errcode": 0,
"msg": "success",
"data": {
"skip": 0,
"limit": 10,
"totalItem": 2,
"dataList": [{
"resourceType": "node-config",
"sha1": "02abfa83634b917b886945db607a81a96d230afb",
"objectName": "snnaenu.ncfg",
"bucketId": "60ab6cec0cc618002e8ca588",
"bucketName": ".UserNodeData",
"userId": 50031,
"systemProperty": {
"fileSize": 1415,
"mime": "application/json"
},
"customPropertyDescriptors": [],
"dependencies": [],
"createDate": "2021-09-13T16:41:35.145Z",
"updateDate": "2021-09-13T16:52:20.511Z",
"objectId": "613f7f3f6cdb6a002ec6e806",
"customProperty": {},
"nodeInfo": {
"nodeId": 80000012,
"nodeName": "snnaenu",
"nodeDomain": "snnaenu"
}
}, {
"resourceType": "node-config",
"sha1": "04b68b18f9f71c8cdb648b7391a73a7c51e5c56e",
"objectName": "node-02.ncfg",
"bucketId": "60ab6cec0cc618002e8ca588",
"bucketName": ".UserNodeData",
"userId": 50031,
"systemProperty": {
"fileSize": 716,
"mime": "application/json"
},
"customPropertyDescriptors": [],
"dependencies": [],
"createDate": "2021-05-24T09:08:09.598Z",
"updateDate": "2021-05-24T09:18:48.549Z",
"objectId": "60ab6cf90cc618002e8ca58a",
"customProperty": {},
"nodeInfo": {
"nodeId": 80000001,
"nodeName": "节点02",
"nodeDomain": "node-02"
}
}]
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
← 分页查看存储对象列表 创建存储对象 →