# 批量查询展品列表

# 调用方式: GET

# 接口地址:

正式环境
https://api.freelog.com/v2/exhibits/{nodeId}/list
测试节点环境
https://api.freelog.com/v2/exhibits/{nodeId}/test/list
1
2
3
4

# url传入参数说明:

一般定位展品的方式包含两种.

1.通过展品ID的方式 2:通过节点ID+作品ID的方式. 批量查询亦如此.所以选择其中之前进行参数配置即可.

参数 必选 类型及范围 说明
nodeId 必选 int 节点ID
articleIds 可选 string 作品ID,多个用逗号分隔,需要和nodeId搭配使用
exhibitIds 可选 string 展品ID,多个用逗号分隔
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:上线
userId int 展品的创建者ID
nodeId int 展品所属节点ID
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 展品的版本属性
createDate date 创建日期
updateDate date 更新日期

# 返回示例

{
	"ret": 0,
	"errCode": 0,
	"errcode": 0,
	"msg": "success",
	"data": [{
		"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,
			"translateInfo": {
				"audienceInfos": [{
					"origin": {
						"name": "public",
						"type": "public"
					},
					"content": "公开(所有人可签约)"
				}],
				"fsmInfos": [{
					"stateInfo": {
						"origin": "initial",
						"content": "初始状态"
					},
					"serviceStateInfos": [{
						"origin": "active",
						"content": "已授权"
					}],
					"eventTranslateInfos": [{
						"origin": {
							"id": "51f0371f1c8d49ee8168c69037f04216",
							"name": "RelativeTimeEvent",
							"args": {
								"elapsed": 1,
								"timeUnit": "month"
							},
							"state": "finish"
						},
						"content": "1个月之后,进入 终止状态"
					}]
				}, {
					"stateInfo": {
						"origin": "finish",
						"content": "终止状态"
					},
					"serviceStateInfos": [],
					"eventTranslateInfos": []
				}],
				"content": "\n初始状态[已授权]:\n\t1个月之后,进入 终止状态\n终止状态:\n\t\n"
			},
			"policyText": "for public\n\ninitial[active]:\n  ~freelog.RelativeTimeEvent(\"1\",\"month\") => finish\nfinish:\n  terminate",
			"fsmDescriptionInfo": {
				"initial": {
					"transitions": [{
						"toState": "finish",
						"service": "freelog",
						"name": "RelativeTimeEvent",
						"args": {
							"elapsed": 1,
							"timeUnit": "month"
						},
						"code": "A103",
						"isSingleton": false,
						"eventId": "51f0371f1c8d49ee8168c69037f04216"
					}],
					"serviceStates": ["active"],
					"isInitial": true,
					"isAuth": true,
					"isTestAuth": false
				},
				"finish": {
					"transitions": [],
					"serviceStates": [],
					"isAuth": false,
					"isTestAuth": false,
					"isTerminate": true
				}
			}
		}, {
			"policyId": "1a8a1aa4bd3441a2f578d83c1070282c",
			"policyName": "付费订阅(包月)",
			"status": 0,
			"translateInfo": {
				"audienceInfos": [{
					"origin": {
						"name": "public",
						"type": "public"
					},
					"content": "公开(所有人可签约)"
				}],
				"fsmInfos": [{
					"stateInfo": {
						"origin": "initial",
						"content": "初始状态"
					},
					"serviceStateInfos": [],
					"eventTranslateInfos": [{
						"origin": {
							"id": "d0d171a7f64c493da59a3cc80b049b21",
							"name": "TransactionEvent",
							"args": {
								"amount": 10,
								"account": "self.account"
							},
							"state": "auth"
						},
						"content": "支付 10枚 羽币,进入 状态auth"
					}]
				}, {
					"stateInfo": {
						"origin": "auth",
						"content": "状态auth"
					},
					"serviceStateInfos": [{
						"origin": "active",
						"content": "已授权"
					}],
					"eventTranslateInfos": [{
						"origin": {
							"id": "b4ae32e9732b4bf0b69f5493bf51b8be",
							"name": "RelativeTimeEvent",
							"args": {
								"elapsed": 1,
								"timeUnit": "month"
							},
							"state": "finish"
						},
						"content": "1个月之后,进入 终止状态"
					}]
				}, {
					"stateInfo": {
						"origin": "finish",
						"content": "终止状态"
					},
					"serviceStateInfos": [],
					"eventTranslateInfos": []
				}],
				"content": "\n初始状态:\n\t支付 10枚 羽币,进入 状态auth\n状态auth[已授权]:\n\t1个月之后,进入 终止状态\n终止状态:\n\t\n"
			},
			"policyText": "for public\n\ninitial:\n  ~freelog.TransactionEvent(\"10\",\"self.account\") => auth\nauth[active]:\n  ~freelog.RelativeTimeEvent(\"1\",\"month\") => finish\nfinish:\n  terminate",
			"fsmDescriptionInfo": {
				"initial": {
					"transitions": [{
						"toState": "auth",
						"service": "freelog",
						"name": "TransactionEvent",
						"args": {
							"amount": 10,
							"account": "self.account"
						},
						"code": "S201",
						"isSingleton": true,
						"eventId": "d0d171a7f64c493da59a3cc80b049b21"
					}],
					"serviceStates": [],
					"isInitial": true,
					"isAuth": false,
					"isTestAuth": false
				},
				"auth": {
					"transitions": [{
						"toState": "finish",
						"service": "freelog",
						"name": "RelativeTimeEvent",
						"args": {
							"elapsed": 1,
							"timeUnit": "month"
						},
						"code": "A103",
						"isSingleton": false,
						"eventId": "b4ae32e9732b4bf0b69f5493bf51b8be"
					}],
					"serviceStates": ["active"],
					"isAuth": true,
					"isTestAuth": false
				},
				"finish": {
					"transitions": [],
					"serviceStates": [],
					"isAuth": false,
					"isTestAuth": false,
					"isTerminate": true
				}
			}
		}],
		"onlineStatus": 1,
		"nodeId": 80000009,
		"userId": 50022,
		"articleInfo": {
			"articleId": "61430a71f27e48003f5e230e",
			"articleName": "chtes/哥斯达黎加蒙特祖玛的海岸线",
			"resourceType": "image",
			"articleType": 1,
			"articleOwnerId": 0,
			"articleOwnerName": "chtes"
		},
		"status": 0,
		"versionInfo": {
			"exhibitId": "61430ab27d0f6c002ec76ade",
			"exhibitProperty": {
				"fileSize": 747917,
				"width": 1920,
				"height": 1080,
				"type": "jpg",
				"mime": "image/jpeg"
			}
		}
	}]
}
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