# 批量分组获取合集资源的单品列表

主要用于展示合集列表的时候还要顺便展示不同合集的不同单品;所以专门开发一个批量获取多个标的物的单品列表接口

# 调用方式: GET

# 接口地址:

正式 https://api.freelog.com/v2/resources/catalogue/items/batch/list
草稿 https://api.freelog.com/v2/resources/catalogues/drafts/items/batch/list
1
2

# url传入参数说明:

参数 必选 类型及范围 说明
resourceIds 必选 string 资源ID,多个用逗号分隔
limit 可选 int 获取的条目数量
sortField 可选 string 排序字段 序号:sortId 添加时间:createDate 默认是序号排序
sortType 可选 int 排序方式 1:升序 -1:倒序 默认是升序
isLoadItemResourceDetailInfo 可选 int 是否读取单品挂载的资源详细数据 0:不加载 1:加载 此参数按需传递,会额外读取一次数据库

# 返回说明:

返回值字段 字段类型 字段说明
resourceId string 合集资源ID
totalItem int 合集单品数量
itemList object[] 单品列表
**itemId string 单品ID
**itemTitle string 单品标题
**sortId number 单品的排序ID
**mountResourceInfo object 单品挂载的资源信息
****resourceId string 资源ID
****resourceName string 资源名称
****intro string 资源简介
****coverImages string[] 资源封面
****status int 资源状态
****latestVersionReleaseDate string 资源最新版本发布日期
****userId int 资源作者ID
****username string 资源作者姓名

# 示例

{
  "ret": 0,
  "errCode": 0,
  "errcode": 0,
  "msg": "success",
  "data": [{
    "resourceId": "66963a82be3bdc002f89a978",
    "totalItem": 17,
    "itemList": [{
      "itemId": "a1114db0",
      "itemTitle": "士大夫士大夫但是",
      "sortId": 1,
      "mountResourceInfo": {
        "resourceType": [],
        "resourceId": "666abb276c7248002e9458bb",
        "resourceName": "12345676789/士大夫士大夫但是",
        "versionRange": "*"
      },
      "createDate": "2024-07-16T09:16:57.973Z"
    }, {
      "itemId": "8a090744",
      "itemTitle": "2234234324",
      "sortId": 2,
      "mountResourceInfo": {
        "resourceType": [],
        "resourceId": "667a70f37149c9002e210d75",
        "resourceName": "12345676789/啊热一个人听歌染色体个人得分",
        "versionRange": "*"
      },
      "createDate": "2024-07-16T09:16:57.973Z"
    }, {
      "itemId": "570e5cbd",
      "itemTitle": "华为0i附件为;偶是覅就是咯技术的浪费",
      "sortId": 3,
      "mountResourceInfo": {
        "resourceType": [],
        "resourceId": "6695e3ae531534002faa7764",
        "resourceName": "12345676789/华为0i附件为;偶是覅就是咯技术的浪费",
        "versionRange": "*"
      },
      "createDate": "2024-07-16T09:16:57.973Z"
    }, {
      "itemId": "2776a97d",
      "itemTitle": "4567yerthdfxghgwsegdfsg",
      "sortId": 4,
      "mountResourceInfo": {
        "resourceType": [],
        "resourceId": "66600d246c7248002e9315bf",
        "resourceName": "12345676789/4567yerthdfxghgwsegdfsg",
        "versionRange": "*"
      },
      "createDate": "2024-07-16T09:17:19.468Z"
    }, {
      "itemId": "26f19249",
      "itemTitle": "t5e3uyheyhg24we3tfg",
      "sortId": 5,
      "mountResourceInfo": {
        "resourceType": [],
        "resourceId": "66600d3d6c7248002e93161b",
        "resourceName": "12345676789/t5e3uyheyhg24we3tfg",
        "versionRange": "*"
      },
      "createDate": "2024-07-16T09:17:19.469Z"
    }, {
      "itemId": "51a9cc2f",
      "itemTitle": "245天然气eat丰乳肥臀",
      "sortId": 6,
      "mountResourceInfo": {
        "resourceType": [],
        "resourceId": "666012e66c7248002e931cee",
        "resourceName": "12345676789/245天然气eat丰乳肥臀",
        "versionRange": "*"
      },
      "createDate": "2024-07-16T09:17:19.469Z"
    }, {
      "itemId": "5c7b6bc7",
      "itemTitle": "4问题给我色弱豆腐干地方",
      "sortId": 7,
      "mountResourceInfo": {
        "resourceType": [],
        "resourceId": "659b9e334d1119002edf9f53",
        "resourceName": "12345676789/4问题给我色弱豆腐干地方",
        "versionRange": "*"
      },
      "createDate": "2024-07-16T09:18:00.861Z"
    }, {
      "itemId": "32f7e95b",
      "itemTitle": "第三方打撒撒旦",
      "sortId": 8,
      "mountResourceInfo": {
        "resourceType": [],
        "resourceId": "65f3ed9e89efe1002e8d9644",
        "resourceName": "12345676789/第三方打撒撒旦",
        "versionRange": "*"
      },
      "createDate": "2024-07-16T09:18:00.861Z"
    }, {
      "itemId": "2f97fd0d",
      "itemTitle": "色打发士大夫撒旦发射点",
      "sortId": 9,
      "mountResourceInfo": {
        "resourceType": [],
        "resourceId": "65fbdc976cf0dc002f36a6f0",
        "resourceName": "12345676789/色打发士大夫撒旦发射点",
        "versionRange": "*"
      },
      "createDate": "2024-07-16T09:18:00.864Z"
    }, {
      "itemId": "5943be8f",
      "itemTitle": "234234234324324",
      "sortId": 10,
      "mountResourceInfo": {
        "resourceType": [],
        "resourceId": "66011e406cf0dc002f36f6ff",
        "resourceName": "12345676789/234234234324324",
        "versionRange": "*"
      },
      "createDate": "2024-07-16T09:18:00.864Z"
    }]
  }]
}
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121