# 批量查询展品依赖的作品信息
# 调用方式: GET
# 接口地址:
正式环境
https://api.freelog.com/v2/exhibits/{nodeId}/{exhibitId}/articles/list
测试节点环境
https://api.freelog.com/v2/exhibits/{nodeId}/test/{exhibitId}/articles/list
1
2
3
4
2
3
4
# url传入参数说明:
参数 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
nodeId | 必选 | int | 节点ID |
exhibitId | 必选 | stirng | 展品ID |
articleNids | 必选 | string | 展品依赖的作品ID,多个用逗号分隔 |
# 返回说明:
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
nid | string | 作品在展品依赖树上的节点ID |
articleId | string | 作品ID |
articleName | string | 作品名称 |
articleType | int | 作品类型 (1:独立资源 2:组合资源 3:节点组合资源 4:存储对象) |
version | string | 作品的版本 |
resourceType | string | 作品的资源类型 |
articleProperty | object | 作品的属性 |
# 返回示例
{
"ret": 0,
"errCode": 0,
"errcode": 0,
"msg": "success",
"data": [{
"nid": "608667da52ab",
"articleId": "60865bb6348128003490ae87",
"articleName": "Freelog/novel-theme",
"articleType": 1,
"version": "0.1.3",
"resourceType": "theme",
"articleProperty": {
"fileSize": 258027,
"mime": "application/zip"
}
}, {
"nid": "c5da1573850f",
"articleId": "607bd7e87d6b53002f251d03",
"articleName": "Freelog/novel",
"articleType": 1,
"version": "0.1.7",
"resourceType": "widget",
"articleProperty": {
"fileSize": 301818,
"mime": "application/zip"
}
}]
}
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
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
← 批量获取展品授权结果 获取展品文件内容 →