# 批量分组查询合集类展品的单品列表
# 调用方式: GET
# 接口地址:
https://api.freelog.com/v2/exhibits/{nodeId}/collections/items/list
1
# url传入参数说明:
参数 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
nodeId | 必选 | int | 节点ID |
exhibitIds | 必选 | string | 展品ID,多个用逗号分隔 |
sortType | 可选 | int | 排序方式: 1:升序 -1:降序 |
skip | 可选 | int | 跳过的条目数量 |
limit | 可选 | int | 本次获取的条目数量; 范围1-1000 |
isShowDetailInfo | 可选 | int | 是否加载单品挂载的作品详情 0:不加载 1:加载 |
# 返回说明:
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
exhibitId | string | 合集展品ID |
totalItem | int | 该合集展品的单品数量 |
itemList | object[] | 单品分页列表 |
**itemId | string | 单品ID |
**itemTitle | string | 单品标题 |
**sortId | number | 单品的排序ID |
**createDate | date | 创建日期 |
**articleInfo | object | 单品挂载的作品信息 |
****articleId | string | 作品ID |
****articleName | string | 作品名称 |
****articleType | int | 作品类型 (1:独立资源 2:组合资源 3:节点组合资源 4:存储对象) |
****resourceType | string[] | 资源类型 |
****articleOwnerId | int | 作品所有者ID,isShowDetailInfo=1时返回此字段 |
****articleOwnerName | string | 作品所有者名称,isShowDetailInfo=1时返回此字段 |
****intro | string | 简介,isShowDetailInfo=1时返回此字段 |
****coverImages | string[] | 作品封面,isShowDetailInfo=1时返回此字段 |
****latestVersionReleaseDate | string | 作品最近一次版本发布时间,isShowDetailInfo=1时返回此字段 |
****articleProperty | object | 单品属性,isShowDetailInfo=1时返回此字段 |
# 示例
{
"ret": 0,
"errCode": 0,
"errcode": 0,
"msg": "success",
"data": [{
"exhibitId": "669f754049fbe0002f1de635",
"totalItem": 16,
"itemList": [{
"itemId": "44a330eb",
"itemTitle": "第十六话",
"sortId": 16,
"createDate": "2024-07-24T02:19:23.265Z",
"articleInfo": {
"articleId": "66961690cc1c4a002fa73ef8",
"articleName": "luojiutian/《牛头不对马嘴1》-第十六话",
"resourceType": ["阅读", "漫画", "条漫"],
"articleType": 1,
"articleOwnerId": 50145,
"articleOwnerName": "luojiutian",
"intro": "该漫画讲述了人界突现诡异之事:世间百姓一夜之间全部知晓了自己的死期。于是阎王便命牛头马面前去调查此事。不料就在此时,马面数百年前的前辈、本已魂飞魄散的重阳再次出现,经过一系列的事件,终于被小阎王等人识破重阳是范无救所假扮,目的是为报当年子午谷之仇以及救活谢必安。此时,酆都的危机才刚刚开始……",
"coverImages": ["https://image.freelog.com/preview-image/491dcc97ee3174ba6a8cf08b0df230c8fc914c01.jpeg"],
"latestVersionReleaseDate": "2024-07-16T06:43:45.489Z",
"articleProperty": {
"fileSize": 1972194,
"fileSizeUnit": "bytes",
"fileNameSuffix": ".zip",
"mime": "application/vnd.freelog.comic"
}
}
}]
}, {
"exhibitId": "66a0cd1ceff80a0030584ea5",
"totalItem": 8,
"itemList": [{
"itemId": "68c3d9f1",
"itemTitle": "第十一话",
"sortId": 8,
"createDate": "2024-07-24T09:44:05.355Z",
"articleInfo": {
"articleId": "66a0a478903c31002f2175e7",
"articleName": "luojiutian/每天都想当1-第十一话",
"resourceType": ["阅读", "漫画", "条漫"],
"articleType": 1,
"articleOwnerId": 50145,
"articleOwnerName": "luojiutian",
"intro": "",
"coverImages": ["https://image.freelog.com/preview-image/6e50e0616e8ce2b5a244c4fd67f21bc6688dad34.jpeg"],
"latestVersionReleaseDate": "2024-07-24T08:20:38.374Z",
"articleProperty": {
"fileSize": 6910056,
"fileSizeUnit": "bytes",
"fileNameSuffix": ".zip",
"mime": "application/vnd.freelog.comic"
}
}
}]
}]
}
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
57
58
59
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
57
58
59