# 查询展品分页列表
# 调用方式: GET
# 接口地址:
正式环境
https://api.freelog.com/v2/exhibits/{nodeId}
测试环境
https://api.freelog.com/v2/exhibits/{nodeId}/test
1
2
3
4
2
3
4
# url传入参数说明:
参数 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
nodeId | 必选 | int | 节点ID |
skip | 可选 | int | 跳过的数量.默认为0. |
limit | 可选 | int | 本次请求获取的数据条数.一般不允许超过100 |
sort | 可选 | string | 排序,格式为{排序字段}:{1|-1},1是正序,-1是倒序 |
articleResourceTypes | 可选 | string | 作品资源类型,多个用逗号分隔 |
omitArticleResourceType | 可选 | string | 忽略的作品资源类型,与resourceType参数互斥 |
onlineStatus | 可选 | int | 上线状态 (0:下线 1:上线 2:全部) 默认1 |
tags | 可选 | string | 用户创建presentable时设置的自定义标签,多个用","分割 |
tagQueryType | 可选 | int | tags的查询方式1:任意匹配一个标签 2:全部匹配所有标签 默认:1 |
projection | 可选 | string | 指定返回的字段,多个用逗号分隔 |
keywords | 可选 | string[1,100] | 搜索关键字,目前支持模糊搜索节点资源名称和资源名称 |
isLoadVersionProperty | 可选 | int | 是否响应展品版本属性 |
isLoadPolicyInfo | 可选 | int | 是否加载策略信息.测试环境自动忽略此参数 |
isTranslate | 可选 | int | 是否同步翻译.测试环境自动忽略此参数 |
# 返回说明:
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
exhibitId | string | 展品ID |
exhibitName | string | 展品名称 |
exhibitTitle | string | 展品标题 |
tags | string[] | 展品标签 |
intro | string | 展品简介 |
coverImages | string[] | 展品封面图 |
version | string | 展品版本 |
onlineStatus | int | 上线状态 0:下线 1:上线 |
exhibitSubjectType | int | 展品对应的标的物类型(1:资源 2:展品 3:用户组) |
userId | int | 展品的创建者ID |
nodeId | int | 展品所属节点ID |
status | int | 状态(0:正常) |
policies | object[] | 对外授权的策略组 |
** policyId | string | 策略ID |
** policyName | string | 策略名称 |
** status | int | 策略状态 0:下线(未启用) 1:上线(启用) |
** policyText | string | 策略文本 |
** translateInfo | object | 翻译信息<详见策略翻译文档> |
** fsmDescriptionInfo | object | 策略状态机描述信息<策略语言编译对象> |
articleInfo | object | 展品实际挂载的作品信息 |
** articleId | string | 作品ID |
** articleName | string | 作品名称 |
** resourceType | string[] | 作品资源类型 |
** articleType | int | 作品类型 (1:独立资源 2:组合资源 3:节点组合资源 4:存储对象) |
** articleOwnerId | int | 作品所有者ID |
** articleOwnerName | string | 作品所有者名称 |
versionInfo | object | 展品的版本信息,加载版本属性时,才会赋值 |
**exhibitProperty | object | 展品的版本属性 |
**dependencyTree | object[] | 展品的版本依赖树 |
****nid | string | 依赖ID(指的是此依赖在依赖树上的id,用来确定依赖的唯一性) |
****articleId | string | 作品ID,配合作品类型一起理解. 例如类型是资源,此处就是资源ID |
****articleName | string | 作品名称 |
****articleType | int | 作品类型 (1:独立资源 2:组合资源 3:节点组合资源 4:存储对象) |
****version | string | 版本号 |
****versionRange | string | semver版本范围 |
****resourceType | stirng[] | 作品资源类型 |
****deep | int | 该依赖在依赖树中的层级 |
****parentNid | string | 父级依赖ID |
createDate | date | 创建日期 |
updateDate | date | 更新日期 |
# 返回示例
{
"ret": 0,
"errCode": 0,
"errcode": 0,
"msg": "success",
"data": {
"skip": 0,
"limit": 10,
"totalItem": 10,
"dataList": [{
"exhibitId": "61430ab27d0f6c002ec76ade",
"exhibitName": "哥斯达黎加蒙特祖玛的海岸线",
"exhibitTitle": "哥斯达黎加蒙特祖玛的海岸线",
"exhibitSubjectType": 2,
"tags": [],
"intro": "展品产品侧未提供简介字段",
"coverImages": ["https://image.freelog.com/preview-image/3f78173235c2bead482ed68a6489f082195738c5.jpg"],
"version": "0.1.0",
"policies": [{
"policyId": "bdddfb1df2e27dedd1f7e65ff19743ed",
"policyName": "免费订阅(包月)",
"status": 1
}, {
"policyId": "1a8a1aa4bd3441a2f578d83c1070282c",
"policyName": "付费订阅(包月)",
"status": 0
}],
"onlineStatus": 1,
"nodeId": 80000009,
"userId": 50022,
"articleInfo": {
"articleId": "61430a71f27e48003f5e230e",
"articleName": "chtes/哥斯达黎加蒙特祖玛的海岸线",
"resourceType": "image",
"articleType": 1,
"articleOwnerId": 0,
"articleOwnerName": "chtes"
},
"status": 0
}, {
"exhibitId": "606568df32ae6505c4e795e5",
"exhibitName": "markdown-theme",
"exhibitTitle": "markdown-theme",
"exhibitSubjectType": 2,
"tags": [],
"intro": "展品产品侧未提供简介字段",
"coverImages": [],
"version": "0.1.3",
"policies": [{
"policyId": "53eeaec402d6cbc118cb40ed652227bb",
"policyName": "免费策略",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000009,
"userId": 50022,
"articleInfo": {
"articleId": "605355cb347afb003a54ceea",
"articleName": "Freelog/markdown-theme",
"resourceType": "theme",
"articleType": 1,
"articleOwnerId": 0,
"articleOwnerName": "Freelog"
},
"status": 0
}, {
"exhibitId": "60092955894f9d002e311f94",
"exhibitName": "基本概念",
"exhibitTitle": "基本概念",
"exhibitSubjectType": 2,
"tags": [],
"intro": "展品产品侧未提供简介字段",
"coverImages": [],
"version": "0.1.0",
"policies": [{
"policyId": "53eeaec402d6cbc118cb40ed652227bb",
"policyName": "免费策略",
"status": 1
}, {
"policyId": "bdddfb1df2e27dedd1f7e65ff19743ed",
"policyName": "免费订阅(包月)",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000009,
"userId": 50022,
"articleInfo": {
"articleId": "60092939973b31003a4fbf3b",
"articleName": "chtes/基本概念",
"resourceType": "markdown",
"articleType": 1,
"articleOwnerId": 0,
"articleOwnerName": "chtes"
},
"status": 0
}, {
"exhibitId": "60079cac135f16002f3b4005",
"exhibitName": "测试MD依赖图",
"exhibitTitle": "测试MD依赖图",
"exhibitSubjectType": 2,
"tags": [],
"intro": "展品产品侧未提供简介字段",
"coverImages": [],
"version": "0.1.0",
"policies": [{
"policyId": "53eeaec402d6cbc118cb40ed652227bb",
"policyName": "免费策略",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000009,
"userId": 50022,
"articleInfo": {
"articleId": "60079c59973b31003a4fbf2c",
"articleName": "chtes/测试MD依赖图",
"resourceType": "markdown",
"articleType": 1,
"articleOwnerId": 0,
"articleOwnerName": "chtes"
},
"status": 0
}, {
"exhibitId": "60069b95664533002e72f0eb",
"exhibitName": "123456789012345678901234567890",
"exhibitTitle": "狮子",
"exhibitSubjectType": 2,
"tags": [],
"intro": "展品产品侧未提供简介字段",
"coverImages": ["https://image.freelog.com/preview-image/6f8b324691c14490156715f125f0247421183432"],
"version": "0.0.1",
"policies": [{
"policyId": "53eeaec402d6cbc118cb40ed652227bb",
"policyName": "免费策略",
"status": 0
}, {
"policyId": "1a8a1aa4bd3441a2f578d83c1070282c",
"policyName": "付费订阅(包月)",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000009,
"userId": 50022,
"articleInfo": {
"articleId": "5f2a5b8df2dbae002f1891f7",
"articleName": "12345676789/123456789012345678901234567890",
"resourceType": "json",
"articleType": 1,
"articleOwnerId": 0,
"articleOwnerName": "12345676789"
},
"status": 0
}, {
"exhibitId": "60069481664533002e72f0e9",
"exhibitName": "pubu",
"exhibitTitle": "pubu",
"exhibitSubjectType": 2,
"tags": [],
"intro": "展品产品侧未提供简介字段",
"coverImages": ["https://image.freelog.com/preview-image/25fed1339632dd0a75d8b96e4a6da7e1b4a89fd8"],
"version": "0.0.3",
"policies": [{
"policyId": "53eeaec402d6cbc118cb40ed652227bb",
"policyName": "免费策略",
"status": 1
}, {
"policyId": "bdddfb1df2e27dedd1f7e65ff19743ed",
"policyName": "免费订阅(包月)",
"status": 1
}, {
"policyId": "1a8a1aa4bd3441a2f578d83c1070282c",
"policyName": "付费订阅(包月)",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000009,
"userId": 50022,
"articleInfo": {
"articleId": "5f1f8ba540641d002ba34a8e",
"articleName": "12345676789/pubu",
"resourceType": "image",
"articleType": 1,
"articleOwnerId": 0,
"articleOwnerName": "12345676789"
},
"status": 0
}, {
"exhibitId": "60068ce3135f16002f3b4000",
"exhibitName": "猫头鹰{}",
"exhibitTitle": "猫头鹰{}",
"exhibitSubjectType": 2,
"tags": [],
"intro": "展品产品侧未提供简介字段",
"coverImages": ["https://image.freelog.com/preview-image/4f89e78533c0a82f15339bc049aaaf2ec1055ff8"],
"version": "0.0.3",
"policies": [{
"policyId": "53eeaec402d6cbc118cb40ed652227bb",
"policyName": "免费策略",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000009,
"userId": 50022,
"articleInfo": {
"articleId": "5f39faed57da85002e9e5cc5",
"articleName": "12345676789/haveDep2",
"resourceType": "image",
"articleType": 1,
"articleOwnerId": 0,
"articleOwnerName": "12345676789"
},
"status": 0
}, {
"exhibitId": "60068cb3664533002e72f0e7",
"exhibitName": "dudu",
"exhibitTitle": "dudu",
"exhibitSubjectType": 2,
"tags": [],
"intro": "展品产品侧未提供简介字段",
"coverImages": ["https://image.freelog.com/preview-image/5efa440b0659eb108ea56e47e7e13348e6b2608b"],
"version": "0.1.0",
"policies": [{
"policyId": "1a8a1aa4bd3441a2f578d83c1070282c",
"policyName": "付费订阅(包月)",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000009,
"userId": 50022,
"articleInfo": {
"articleId": "6005553fb71c95003921aa1a",
"articleName": "yanghongtian/dudu",
"resourceType": "image",
"articleType": 1,
"articleOwnerId": 0,
"articleOwnerName": "yanghongtian"
},
"status": 0
}, {
"exhibitId": "5fec4d7a00bb3f002edda327",
"exhibitName": "testimage",
"exhibitTitle": "testimage",
"exhibitSubjectType": 2,
"tags": [],
"intro": "展品产品侧未提供简介字段",
"coverImages": ["https://image.freelog.com/preview-image/4db8571f47de3d556a59e39ab5cfe5da7ffdd92b"],
"version": "4.2.0",
"policies": [{
"policyId": "53eeaec402d6cbc118cb40ed652227bb",
"policyName": "免费策略",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000009,
"userId": 50022,
"articleInfo": {
"articleId": "5f9fb45a6bb6b9002e348697",
"articleName": "chtes/testimage",
"resourceType": "image",
"articleType": 1,
"articleOwnerId": 0,
"articleOwnerName": "chtes"
},
"status": 0
}, {
"exhibitId": "5fec4d6d00bb3f002edda325",
"exhibitName": "西班牙奥尔德萨和佩尔迪多山国家公园中的奥尔德萨峡谷",
"exhibitTitle": "西班牙奥尔德萨和佩尔迪多山国家公园中的奥尔德萨峡谷",
"exhibitSubjectType": 2,
"tags": [],
"intro": "展品产品侧未提供简介字段",
"coverImages": ["https://image.freelog.com/preview-image/81ff6d47fba8e6e79a1e598250b5a6f0ce58d0df"],
"version": "2.0.2",
"policies": [{
"policyId": "1a8a1aa4bd3441a2f578d83c1070282c",
"policyName": "付费订阅(包月)",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000009,
"userId": 50022,
"articleInfo": {
"articleId": "5feacb45b851b5002e59d8cd",
"articleName": "chtes/西班牙奥尔德萨和佩尔迪多山国家公园中的奥尔德萨峡谷",
"resourceType": "image",
"articleType": 1,
"articleOwnerId": 0,
"articleOwnerName": "chtes"
},
"status": 0
}]
}
}
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292