@oomol-lab/open-connector 1.6.2 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/assets/open-connector/catalog/apps/assured_platform.json +218 -0
- package/assets/open-connector/catalog/apps/baixiao.json +1080 -0
- package/assets/open-connector/catalog/apps/benchmarkone.json +956 -0
- package/assets/open-connector/catalog/apps/bing_webmaster.json +3097 -0
- package/assets/open-connector/catalog/apps/buzzsprout.json +1979 -0
- package/assets/open-connector/catalog/apps/feishu.json +13 -19
- package/assets/open-connector/catalog/apps/feishu_app_bot.json +10 -17
- package/assets/open-connector/catalog/apps/linkfox.json +836 -0
- package/assets/open-connector/catalog/apps/metatraderapi.json +1077 -0
- package/assets/open-connector/catalog/apps/mktindex.json +2411 -0
- package/assets/open-connector/catalog/apps/mojo_helpdesk.json +660 -0
- package/assets/open-connector/catalog/apps/mumble.json +446 -0
- package/assets/open-connector/catalog/apps/notion.json +112 -3
- package/assets/open-connector/catalog/apps/omise.json +438 -0
- package/assets/open-connector/catalog/apps/panjiva.json +2858 -0
- package/assets/open-connector/catalog/apps/papertrail.json +449 -0
- package/assets/open-connector/catalog/apps/peec.json +747 -0
- package/assets/open-connector/catalog/apps/polygon_io.json +5156 -584
- package/assets/open-connector/catalog/apps/quant_data.json +1928 -0
- package/assets/open-connector/catalog/apps/riddle_quiz_maker.json +621 -0
- package/assets/open-connector/catalog/apps/slack.json +327 -4
- package/assets/open-connector/catalog/apps/slackbot.json +280 -3
- package/assets/open-connector/catalog/apps/templatedocs.json +438 -0
- package/assets/open-connector/catalog/apps/terminus_app.json +510 -0
- package/assets/open-connector/catalog/apps/ticket_tailor.json +584 -0
- package/assets/open-connector/catalog/apps/tongdaxin.json +2612 -79
- package/assets/open-connector/catalog/apps/veremark.json +514 -0
- package/assets/open-connector/catalog/apps/walletap.json +549 -0
- package/assets/open-connector/catalog/apps/xiaohongshu_store.json +955 -39
- package/assets/open-connector/catalog/apps-index.json +1 -1
- package/package.json +5 -1
- package/src/connection-service.d.ts +2 -0
- package/src/connection-service.js +8 -1
- package/src/core/provider-id.d.ts +5 -0
- package/src/core/provider-id.js +12 -0
- package/src/oauth/oauth-credential-refresh-service.js +2 -0
- package/src/oauth/oauth-flow-service.js +2 -0
- package/src/providers/action-contracts.generated.d.ts +27 -7
- package/src/providers/assured_platform/executors.d.ts +4 -0
- package/src/providers/assured_platform/executors.js +18 -0
- package/src/providers/assured_platform/runtime.d.ts +7 -0
- package/src/providers/assured_platform/runtime.js +108 -0
- package/src/providers/baixiao/actions.d.ts +2 -0
- package/src/providers/baixiao/actions.js +377 -0
- package/src/providers/baixiao/executors.d.ts +4 -0
- package/src/providers/baixiao/executors.js +106 -0
- package/src/providers/benchmarkone/executors.d.ts +4 -0
- package/src/providers/benchmarkone/executors.js +26 -0
- package/src/providers/benchmarkone/runtime.d.ts +12 -0
- package/src/providers/benchmarkone/runtime.js +113 -0
- package/src/providers/bing_webmaster/actions.d.ts +2 -0
- package/src/providers/bing_webmaster/actions.js +113 -0
- package/src/providers/bing_webmaster/executors.d.ts +4 -0
- package/src/providers/bing_webmaster/executors.js +104 -0
- package/src/providers/bing_webmaster/management-actions.d.ts +2 -0
- package/src/providers/bing_webmaster/management-actions.js +241 -0
- package/src/providers/bing_webmaster/reporting-actions.d.ts +2 -0
- package/src/providers/bing_webmaster/reporting-actions.js +300 -0
- package/src/providers/bing_webmaster/schemas.d.ts +33 -0
- package/src/providers/bing_webmaster/schemas.js +313 -0
- package/src/providers/buzzsprout/executors.d.ts +4 -0
- package/src/providers/buzzsprout/executors.js +21 -0
- package/src/providers/buzzsprout/runtime.d.ts +12 -0
- package/src/providers/buzzsprout/runtime.js +237 -0
- package/src/providers/feishu/shared/drive-actions.d.ts +1 -0
- package/src/providers/feishu/shared/drive-actions.js +13 -9
- package/src/providers/feishu/shared/drive-runtime.js +15 -3
- package/src/providers/feishu/shared/wiki-actions.js +4 -2
- package/src/providers/hithink_finance/runtime.js +39 -60
- package/src/providers/linkfox/actions.js +2 -0
- package/src/providers/linkfox/runtime.js +70 -1
- package/src/providers/linkfox/sif-actions.d.ts +10 -0
- package/src/providers/linkfox/sif-actions.js +193 -0
- package/src/providers/metatraderapi/executors.d.ts +4 -0
- package/src/providers/metatraderapi/executors.js +18 -0
- package/src/providers/metatraderapi/runtime.d.ts +7 -0
- package/src/providers/metatraderapi/runtime.js +216 -0
- package/src/providers/mktindex/actions-mmi.d.ts +2 -0
- package/src/providers/mktindex/actions-mmi.js +510 -0
- package/src/providers/mktindex/actions.d.ts +2 -0
- package/src/providers/mktindex/actions.js +2 -0
- package/src/providers/mktindex/executors.d.ts +4 -0
- package/src/providers/mktindex/executors.js +27 -0
- package/src/providers/mktindex/request.d.ts +17 -0
- package/src/providers/mktindex/request.js +48 -0
- package/src/providers/mktindex/runtime.d.ts +9 -0
- package/src/providers/mktindex/runtime.js +492 -0
- package/src/providers/mojo_helpdesk/executors.d.ts +4 -0
- package/src/providers/mojo_helpdesk/executors.js +18 -0
- package/src/providers/mojo_helpdesk/runtime.d.ts +7 -0
- package/src/providers/mojo_helpdesk/runtime.js +173 -0
- package/src/providers/mumble/executors.d.ts +4 -0
- package/src/providers/mumble/executors.js +99 -0
- package/src/providers/notion/executors.d.ts +9 -0
- package/src/providers/notion/executors.js +161 -6
- package/src/providers/omise/executors.d.ts +4 -0
- package/src/providers/omise/executors.js +120 -0
- package/src/providers/panjiva/actions.d.ts +14 -0
- package/src/providers/panjiva/actions.js +389 -0
- package/src/providers/panjiva/executors.d.ts +4 -0
- package/src/providers/panjiva/executors.js +136 -0
- package/src/providers/papertrail/executors.d.ts +4 -0
- package/src/providers/papertrail/executors.js +15 -0
- package/src/providers/papertrail/runtime.d.ts +7 -0
- package/src/providers/papertrail/runtime.js +167 -0
- package/src/providers/peec/executors.d.ts +4 -0
- package/src/providers/peec/executors.js +15 -0
- package/src/providers/peec/runtime.d.ts +7 -0
- package/src/providers/peec/runtime.js +128 -0
- package/src/providers/polygon_io/actions.d.ts +2 -0
- package/src/providers/polygon_io/actions.js +282 -0
- package/src/providers/polygon_io/expanded-actions.d.ts +2 -0
- package/src/providers/polygon_io/expanded-actions.js +375 -0
- package/src/providers/polygon_io/expanded-runtime.d.ts +16 -0
- package/src/providers/polygon_io/expanded-runtime.js +277 -0
- package/src/providers/polygon_io/runtime.js +21 -2
- package/src/providers/quant_data/executors.d.ts +4 -0
- package/src/providers/quant_data/executors.js +15 -0
- package/src/providers/quant_data/runtime.d.ts +7 -0
- package/src/providers/quant_data/runtime.js +118 -0
- package/src/providers/registry.generated.js +20 -0
- package/src/providers/riddle_quiz_maker/executors.d.ts +4 -0
- package/src/providers/riddle_quiz_maker/executors.js +15 -0
- package/src/providers/riddle_quiz_maker/runtime.d.ts +7 -0
- package/src/providers/riddle_quiz_maker/runtime.js +145 -0
- package/src/providers/slack/actions.js +106 -3
- package/src/providers/slack/runtime.js +260 -36
- package/src/providers/slackbot/actions.js +1 -1
- package/src/providers/templatedocs/executors.d.ts +4 -0
- package/src/providers/templatedocs/executors.js +18 -0
- package/src/providers/templatedocs/runtime.d.ts +13 -0
- package/src/providers/templatedocs/runtime.js +151 -0
- package/src/providers/terminus_app/executors.d.ts +4 -0
- package/src/providers/terminus_app/executors.js +15 -0
- package/src/providers/terminus_app/runtime.d.ts +7 -0
- package/src/providers/terminus_app/runtime.js +172 -0
- package/src/providers/ticket_tailor/executors.d.ts +4 -0
- package/src/providers/ticket_tailor/executors.js +15 -0
- package/src/providers/ticket_tailor/runtime.d.ts +7 -0
- package/src/providers/ticket_tailor/runtime.js +152 -0
- package/src/providers/tongdaxin/actions.d.ts +1 -0
- package/src/providers/tongdaxin/actions.js +6 -3
- package/src/providers/tongdaxin/executors.js +51 -10
- package/src/providers/tongdaxin/named-action-output.d.ts +1 -0
- package/src/providers/tongdaxin/named-action-output.js +149 -0
- package/src/providers/tongdaxin/named-action-routing.d.ts +9 -0
- package/src/providers/tongdaxin/named-action-routing.js +417 -0
- package/src/providers/tongdaxin/named-actions.d.ts +2 -0
- package/src/providers/tongdaxin/named-actions.js +378 -0
- package/src/providers/veremark/executors.d.ts +4 -0
- package/src/providers/veremark/executors.js +129 -0
- package/src/providers/walletap/executors.d.ts +4 -0
- package/src/providers/walletap/executors.js +15 -0
- package/src/providers/walletap/runtime.d.ts +7 -0
- package/src/providers/walletap/runtime.js +147 -0
- package/src/providers/weixin_official_account/access-token.js +31 -7
- package/src/providers/weixin_store/access-token.js +33 -7
- package/src/providers/xiaohongshu_store/executors.js +152 -3
- package/src/server/api/openapi.js +3 -0
- package/src/server/connector-assets.d.ts +4 -0
- package/src/server/connector-assets.js +12 -0
- package/src/server/connector-build.d.ts +33 -0
- package/src/server/connector-build.js +73 -0
- package/src/server/connector-runtime.d.ts +1 -2
- package/src/server/connector-runtime.js +2 -8
- package/src/server/server-assets.d.ts +0 -28
- package/src/server/server-assets.js +0 -50
|
@@ -0,0 +1,2411 @@
|
|
|
1
|
+
{
|
|
2
|
+
"service": "mktindex",
|
|
3
|
+
"displayName": "Moojing Market Intelligence",
|
|
4
|
+
"description": "Query Moojing market, brand, category, product, and shop intelligence.",
|
|
5
|
+
"categories": [
|
|
6
|
+
"Data",
|
|
7
|
+
"Marketing"
|
|
8
|
+
],
|
|
9
|
+
"authTypes": [
|
|
10
|
+
"api_key"
|
|
11
|
+
],
|
|
12
|
+
"auth": [
|
|
13
|
+
{
|
|
14
|
+
"type": "api_key",
|
|
15
|
+
"label": "API Key",
|
|
16
|
+
"placeholder": "MOOJING_API_KEY",
|
|
17
|
+
"description": "Moojing API key sent with the MOOJING-APIKEY header. Apply for or manage API access at https://service.moojing.com/."
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"homepageUrl": "https://www.mktindex.com/",
|
|
21
|
+
"actions": [
|
|
22
|
+
{
|
|
23
|
+
"id": "mktindex.compare_market_periods",
|
|
24
|
+
"service": "mktindex",
|
|
25
|
+
"name": "compare_market_periods",
|
|
26
|
+
"description": "Compare sales and volume for two date ranges in a Moojing market.",
|
|
27
|
+
"operationType": "read",
|
|
28
|
+
"requiredScopes": [],
|
|
29
|
+
"providerPermissions": [],
|
|
30
|
+
"inputSchema": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"platform": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"minLength": 1,
|
|
36
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
37
|
+
},
|
|
38
|
+
"categoryId": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"minLength": 1,
|
|
41
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
42
|
+
},
|
|
43
|
+
"brandId": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"minLength": 1,
|
|
46
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
47
|
+
},
|
|
48
|
+
"ranges": {
|
|
49
|
+
"type": "array",
|
|
50
|
+
"items": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"startMonth": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 1,
|
|
56
|
+
"description": "The data month in YYYY-MM format.",
|
|
57
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
58
|
+
},
|
|
59
|
+
"endMonth": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"minLength": 1,
|
|
62
|
+
"description": "The data month in YYYY-MM format.",
|
|
63
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"additionalProperties": false,
|
|
67
|
+
"description": "One inclusive comparison range."
|
|
68
|
+
},
|
|
69
|
+
"description": "Exactly two date ranges to compare.",
|
|
70
|
+
"minItems": 2,
|
|
71
|
+
"maxItems": 2
|
|
72
|
+
},
|
|
73
|
+
"currency": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"enum": [
|
|
76
|
+
"CNY",
|
|
77
|
+
"JPY",
|
|
78
|
+
"GBP",
|
|
79
|
+
"EUR",
|
|
80
|
+
"USD"
|
|
81
|
+
],
|
|
82
|
+
"description": "The currency used for monetary values."
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"additionalProperties": false,
|
|
86
|
+
"required": [
|
|
87
|
+
"platform",
|
|
88
|
+
"categoryId",
|
|
89
|
+
"brandId",
|
|
90
|
+
"ranges"
|
|
91
|
+
],
|
|
92
|
+
"description": "The input payload for comparing two Moojing market periods."
|
|
93
|
+
},
|
|
94
|
+
"outputSchema": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"data": {
|
|
98
|
+
"type": "object",
|
|
99
|
+
"properties": {},
|
|
100
|
+
"additionalProperties": true,
|
|
101
|
+
"description": "The comparison metrics keyed by the requested ranges."
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"additionalProperties": false,
|
|
105
|
+
"description": "The two-period Moojing market comparison."
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"id": "mktindex.compare_region_market_periods",
|
|
110
|
+
"service": "mktindex",
|
|
111
|
+
"name": "compare_region_market_periods",
|
|
112
|
+
"description": "Compare sales and volume for two date ranges in a regional Moojing market.",
|
|
113
|
+
"operationType": "read",
|
|
114
|
+
"requiredScopes": [],
|
|
115
|
+
"providerPermissions": [],
|
|
116
|
+
"inputSchema": {
|
|
117
|
+
"type": "object",
|
|
118
|
+
"properties": {
|
|
119
|
+
"platform": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"minLength": 1,
|
|
122
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
123
|
+
},
|
|
124
|
+
"categoryId": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"minLength": 1,
|
|
127
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
128
|
+
},
|
|
129
|
+
"brandId": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"minLength": 1,
|
|
132
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
133
|
+
},
|
|
134
|
+
"province": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"minLength": 1,
|
|
137
|
+
"description": "The province name used to limit the regional market.",
|
|
138
|
+
"pattern": "\\S"
|
|
139
|
+
},
|
|
140
|
+
"city": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"minLength": 1,
|
|
143
|
+
"description": "The city name, or all to include every city in the province.",
|
|
144
|
+
"pattern": "\\S"
|
|
145
|
+
},
|
|
146
|
+
"ranges": {
|
|
147
|
+
"type": "array",
|
|
148
|
+
"items": {
|
|
149
|
+
"type": "object",
|
|
150
|
+
"properties": {
|
|
151
|
+
"startMonth": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"minLength": 1,
|
|
154
|
+
"description": "The data month in YYYY-MM format.",
|
|
155
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
156
|
+
},
|
|
157
|
+
"endMonth": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"minLength": 1,
|
|
160
|
+
"description": "The data month in YYYY-MM format.",
|
|
161
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"additionalProperties": false,
|
|
165
|
+
"description": "One inclusive comparison range."
|
|
166
|
+
},
|
|
167
|
+
"description": "Exactly two date ranges to compare.",
|
|
168
|
+
"minItems": 2,
|
|
169
|
+
"maxItems": 2
|
|
170
|
+
},
|
|
171
|
+
"currency": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"enum": [
|
|
174
|
+
"CNY",
|
|
175
|
+
"JPY",
|
|
176
|
+
"GBP",
|
|
177
|
+
"EUR",
|
|
178
|
+
"USD"
|
|
179
|
+
],
|
|
180
|
+
"description": "The currency used for monetary values."
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"additionalProperties": false,
|
|
184
|
+
"required": [
|
|
185
|
+
"platform",
|
|
186
|
+
"categoryId",
|
|
187
|
+
"brandId",
|
|
188
|
+
"province",
|
|
189
|
+
"city",
|
|
190
|
+
"ranges"
|
|
191
|
+
],
|
|
192
|
+
"description": "The input payload for comparing regional Moojing market periods."
|
|
193
|
+
},
|
|
194
|
+
"outputSchema": {
|
|
195
|
+
"type": "object",
|
|
196
|
+
"properties": {
|
|
197
|
+
"data": {
|
|
198
|
+
"type": "object",
|
|
199
|
+
"properties": {},
|
|
200
|
+
"additionalProperties": true,
|
|
201
|
+
"description": "The regional comparison metrics keyed by the requested ranges."
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"additionalProperties": false,
|
|
205
|
+
"description": "The two-period regional Moojing market comparison."
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"id": "mktindex.get_attribute_summary",
|
|
210
|
+
"service": "mktindex",
|
|
211
|
+
"name": "get_attribute_summary",
|
|
212
|
+
"description": "Get sales metrics and top items for one or two selected Moojing attributes.",
|
|
213
|
+
"operationType": "read",
|
|
214
|
+
"requiredScopes": [],
|
|
215
|
+
"providerPermissions": [],
|
|
216
|
+
"inputSchema": {
|
|
217
|
+
"type": "object",
|
|
218
|
+
"properties": {
|
|
219
|
+
"platform": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"minLength": 1,
|
|
222
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
223
|
+
},
|
|
224
|
+
"categoryId": {
|
|
225
|
+
"type": "string",
|
|
226
|
+
"minLength": 1,
|
|
227
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
228
|
+
},
|
|
229
|
+
"brandId": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"minLength": 1,
|
|
232
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
233
|
+
},
|
|
234
|
+
"attributes": {
|
|
235
|
+
"type": "object",
|
|
236
|
+
"additionalProperties": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"minLength": 1,
|
|
239
|
+
"description": "The selected value for an attribute group.",
|
|
240
|
+
"pattern": "\\S"
|
|
241
|
+
},
|
|
242
|
+
"description": "One or two attribute group-to-value selections."
|
|
243
|
+
},
|
|
244
|
+
"month": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"minLength": 1,
|
|
247
|
+
"description": "The data month in YYYY-MM format.",
|
|
248
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
249
|
+
},
|
|
250
|
+
"currency": {
|
|
251
|
+
"type": "string",
|
|
252
|
+
"enum": [
|
|
253
|
+
"CNY",
|
|
254
|
+
"JPY",
|
|
255
|
+
"GBP",
|
|
256
|
+
"EUR",
|
|
257
|
+
"USD"
|
|
258
|
+
],
|
|
259
|
+
"description": "The currency used for monetary values."
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"additionalProperties": false,
|
|
263
|
+
"required": [
|
|
264
|
+
"platform",
|
|
265
|
+
"categoryId",
|
|
266
|
+
"brandId",
|
|
267
|
+
"attributes",
|
|
268
|
+
"month"
|
|
269
|
+
],
|
|
270
|
+
"description": "The input payload for a Moojing attribute summary."
|
|
271
|
+
},
|
|
272
|
+
"outputSchema": {
|
|
273
|
+
"type": "object",
|
|
274
|
+
"properties": {
|
|
275
|
+
"data": {
|
|
276
|
+
"type": "object",
|
|
277
|
+
"properties": {},
|
|
278
|
+
"additionalProperties": true,
|
|
279
|
+
"description": "The provider-defined attribute metrics, breadcrumbs, and top items."
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"additionalProperties": false,
|
|
283
|
+
"description": "The Moojing attribute summary."
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"id": "mktindex.get_comment_trend",
|
|
288
|
+
"service": "mktindex",
|
|
289
|
+
"name": "get_comment_trend",
|
|
290
|
+
"description": "Get review-count and sentiment-rate trends for a Moojing market.",
|
|
291
|
+
"operationType": "read",
|
|
292
|
+
"requiredScopes": [],
|
|
293
|
+
"providerPermissions": [],
|
|
294
|
+
"inputSchema": {
|
|
295
|
+
"type": "object",
|
|
296
|
+
"properties": {
|
|
297
|
+
"platform": {
|
|
298
|
+
"type": "string",
|
|
299
|
+
"minLength": 1,
|
|
300
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
301
|
+
},
|
|
302
|
+
"categoryId": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"minLength": 1,
|
|
305
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
306
|
+
},
|
|
307
|
+
"brandId": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"minLength": 1,
|
|
310
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
311
|
+
},
|
|
312
|
+
"period": {
|
|
313
|
+
"type": "string",
|
|
314
|
+
"enum": [
|
|
315
|
+
"month",
|
|
316
|
+
"quarter",
|
|
317
|
+
"year"
|
|
318
|
+
],
|
|
319
|
+
"description": "The aggregation period used for the trend."
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"additionalProperties": false,
|
|
323
|
+
"description": "The input payload for getting Moojing comment trends."
|
|
324
|
+
},
|
|
325
|
+
"outputSchema": {
|
|
326
|
+
"type": "object",
|
|
327
|
+
"properties": {
|
|
328
|
+
"data": {
|
|
329
|
+
"type": "object",
|
|
330
|
+
"properties": {},
|
|
331
|
+
"additionalProperties": true,
|
|
332
|
+
"description": "The good, neutral, bad, and comment-count series available for the platform."
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"additionalProperties": false,
|
|
336
|
+
"description": "The Moojing comment trend response."
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"id": "mktindex.get_data_range",
|
|
341
|
+
"service": "mktindex",
|
|
342
|
+
"name": "get_data_range",
|
|
343
|
+
"description": "Get the earliest and latest available Moojing data months for a market.",
|
|
344
|
+
"operationType": "read",
|
|
345
|
+
"requiredScopes": [],
|
|
346
|
+
"providerPermissions": [],
|
|
347
|
+
"inputSchema": {
|
|
348
|
+
"type": "object",
|
|
349
|
+
"properties": {
|
|
350
|
+
"platform": {
|
|
351
|
+
"type": "string",
|
|
352
|
+
"minLength": 1,
|
|
353
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
354
|
+
},
|
|
355
|
+
"categoryId": {
|
|
356
|
+
"type": "string",
|
|
357
|
+
"minLength": 1,
|
|
358
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
359
|
+
},
|
|
360
|
+
"brandId": {
|
|
361
|
+
"type": "string",
|
|
362
|
+
"minLength": 1,
|
|
363
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"additionalProperties": false,
|
|
367
|
+
"required": [
|
|
368
|
+
"platform"
|
|
369
|
+
],
|
|
370
|
+
"description": "The input payload for getting the available Moojing data range."
|
|
371
|
+
},
|
|
372
|
+
"outputSchema": {
|
|
373
|
+
"type": "object",
|
|
374
|
+
"properties": {
|
|
375
|
+
"startMonth": {
|
|
376
|
+
"anyOf": [
|
|
377
|
+
{
|
|
378
|
+
"type": "string",
|
|
379
|
+
"description": "The earliest available data month."
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"type": "null"
|
|
383
|
+
}
|
|
384
|
+
]
|
|
385
|
+
},
|
|
386
|
+
"endMonth": {
|
|
387
|
+
"anyOf": [
|
|
388
|
+
{
|
|
389
|
+
"type": "string",
|
|
390
|
+
"description": "The latest available data month."
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"type": "null"
|
|
394
|
+
}
|
|
395
|
+
]
|
|
396
|
+
},
|
|
397
|
+
"raw": {
|
|
398
|
+
"type": "object",
|
|
399
|
+
"properties": {},
|
|
400
|
+
"additionalProperties": true,
|
|
401
|
+
"description": "The raw object returned by Moojing."
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
"additionalProperties": false,
|
|
405
|
+
"description": "The available Moojing data range."
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"id": "mktindex.get_item_sales_trend",
|
|
410
|
+
"service": "mktindex",
|
|
411
|
+
"name": "get_item_sales_trend",
|
|
412
|
+
"description": "Get price, sales, volume, and comment trends for one Moojing item.",
|
|
413
|
+
"operationType": "read",
|
|
414
|
+
"requiredScopes": [],
|
|
415
|
+
"providerPermissions": [],
|
|
416
|
+
"inputSchema": {
|
|
417
|
+
"type": "object",
|
|
418
|
+
"properties": {
|
|
419
|
+
"platform": {
|
|
420
|
+
"type": "string",
|
|
421
|
+
"minLength": 1,
|
|
422
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
423
|
+
},
|
|
424
|
+
"itemId": {
|
|
425
|
+
"type": "string",
|
|
426
|
+
"minLength": 1,
|
|
427
|
+
"description": "The provider item identifier.",
|
|
428
|
+
"pattern": "\\S"
|
|
429
|
+
},
|
|
430
|
+
"startMonth": {
|
|
431
|
+
"type": "string",
|
|
432
|
+
"minLength": 1,
|
|
433
|
+
"description": "The data month in the YYYY_MM format required by this Moojing endpoint.",
|
|
434
|
+
"pattern": "^\\d{4}_(0[1-9]|1[0-2])$"
|
|
435
|
+
},
|
|
436
|
+
"currency": {
|
|
437
|
+
"type": "string",
|
|
438
|
+
"enum": [
|
|
439
|
+
"CNY",
|
|
440
|
+
"JPY",
|
|
441
|
+
"GBP",
|
|
442
|
+
"EUR",
|
|
443
|
+
"USD"
|
|
444
|
+
],
|
|
445
|
+
"description": "The currency used for monetary values."
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"additionalProperties": false,
|
|
449
|
+
"required": [
|
|
450
|
+
"platform",
|
|
451
|
+
"itemId",
|
|
452
|
+
"startMonth"
|
|
453
|
+
],
|
|
454
|
+
"description": "The input payload for a Moojing item sales trend."
|
|
455
|
+
},
|
|
456
|
+
"outputSchema": {
|
|
457
|
+
"type": "object",
|
|
458
|
+
"properties": {
|
|
459
|
+
"data": {
|
|
460
|
+
"type": "object",
|
|
461
|
+
"properties": {},
|
|
462
|
+
"additionalProperties": true,
|
|
463
|
+
"description": "The provider-defined item trend data."
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"additionalProperties": false,
|
|
467
|
+
"description": "The Moojing item sales trend."
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"id": "mktindex.get_jd_data_versions",
|
|
472
|
+
"service": "mktindex",
|
|
473
|
+
"name": "get_jd_data_versions",
|
|
474
|
+
"description": "List data-model versions available for a JD-related Moojing platform.",
|
|
475
|
+
"operationType": "read",
|
|
476
|
+
"requiredScopes": [],
|
|
477
|
+
"providerPermissions": [],
|
|
478
|
+
"inputSchema": {
|
|
479
|
+
"type": "object",
|
|
480
|
+
"properties": {
|
|
481
|
+
"platform": {
|
|
482
|
+
"type": "string",
|
|
483
|
+
"enum": [
|
|
484
|
+
"jd",
|
|
485
|
+
"jd_exclude_self",
|
|
486
|
+
"jd_only_self",
|
|
487
|
+
"jd_hk"
|
|
488
|
+
],
|
|
489
|
+
"description": "The JD-related Moojing platform ID."
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
"additionalProperties": false,
|
|
493
|
+
"description": "The input payload for listing JD data-model versions."
|
|
494
|
+
},
|
|
495
|
+
"outputSchema": {
|
|
496
|
+
"type": "object",
|
|
497
|
+
"properties": {
|
|
498
|
+
"versions": {
|
|
499
|
+
"type": "array",
|
|
500
|
+
"items": {
|
|
501
|
+
"type": "string",
|
|
502
|
+
"description": "A data-model version."
|
|
503
|
+
},
|
|
504
|
+
"description": "The available version identifiers."
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"additionalProperties": false,
|
|
508
|
+
"description": "The available JD data-model versions."
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"id": "mktindex.get_market_summary",
|
|
513
|
+
"service": "mktindex",
|
|
514
|
+
"name": "get_market_summary",
|
|
515
|
+
"description": "Get monthly sales, volume, price, shop, item, and market-share metrics for a Moojing market.",
|
|
516
|
+
"operationType": "read",
|
|
517
|
+
"requiredScopes": [],
|
|
518
|
+
"providerPermissions": [],
|
|
519
|
+
"inputSchema": {
|
|
520
|
+
"type": "object",
|
|
521
|
+
"properties": {
|
|
522
|
+
"platform": {
|
|
523
|
+
"type": "string",
|
|
524
|
+
"minLength": 1,
|
|
525
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
526
|
+
},
|
|
527
|
+
"categoryId": {
|
|
528
|
+
"type": "string",
|
|
529
|
+
"minLength": 1,
|
|
530
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
531
|
+
},
|
|
532
|
+
"brandId": {
|
|
533
|
+
"type": "string",
|
|
534
|
+
"minLength": 1,
|
|
535
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
536
|
+
},
|
|
537
|
+
"month": {
|
|
538
|
+
"type": "string",
|
|
539
|
+
"minLength": 1,
|
|
540
|
+
"description": "The data month in YYYY-MM format.",
|
|
541
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
542
|
+
},
|
|
543
|
+
"language": {
|
|
544
|
+
"type": "string",
|
|
545
|
+
"enum": [
|
|
546
|
+
"zh",
|
|
547
|
+
"en"
|
|
548
|
+
],
|
|
549
|
+
"description": "The response language."
|
|
550
|
+
},
|
|
551
|
+
"currency": {
|
|
552
|
+
"type": "string",
|
|
553
|
+
"enum": [
|
|
554
|
+
"CNY",
|
|
555
|
+
"JPY",
|
|
556
|
+
"GBP",
|
|
557
|
+
"EUR",
|
|
558
|
+
"USD"
|
|
559
|
+
],
|
|
560
|
+
"description": "The currency used for monetary values."
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
"additionalProperties": false,
|
|
564
|
+
"required": [
|
|
565
|
+
"platform",
|
|
566
|
+
"categoryId",
|
|
567
|
+
"brandId",
|
|
568
|
+
"month",
|
|
569
|
+
"language"
|
|
570
|
+
],
|
|
571
|
+
"description": "The input payload for getting a Moojing market summary."
|
|
572
|
+
},
|
|
573
|
+
"outputSchema": {
|
|
574
|
+
"type": "object",
|
|
575
|
+
"properties": {
|
|
576
|
+
"sales": {
|
|
577
|
+
"anyOf": [
|
|
578
|
+
{
|
|
579
|
+
"type": "number",
|
|
580
|
+
"description": "The market sales amount."
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"type": "null"
|
|
584
|
+
}
|
|
585
|
+
]
|
|
586
|
+
},
|
|
587
|
+
"sold": {
|
|
588
|
+
"anyOf": [
|
|
589
|
+
{
|
|
590
|
+
"type": "number",
|
|
591
|
+
"description": "The market sales volume."
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"type": "null"
|
|
595
|
+
}
|
|
596
|
+
]
|
|
597
|
+
},
|
|
598
|
+
"averagePrice": {
|
|
599
|
+
"anyOf": [
|
|
600
|
+
{
|
|
601
|
+
"type": "number",
|
|
602
|
+
"description": "The average item price."
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"type": "null"
|
|
606
|
+
}
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
"marketShare": {
|
|
610
|
+
"anyOf": [
|
|
611
|
+
{
|
|
612
|
+
"type": "number",
|
|
613
|
+
"description": "The market share within the parent market."
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"type": "null"
|
|
617
|
+
}
|
|
618
|
+
]
|
|
619
|
+
},
|
|
620
|
+
"shopCount": {
|
|
621
|
+
"anyOf": [
|
|
622
|
+
{
|
|
623
|
+
"type": "number",
|
|
624
|
+
"description": "The number of shops."
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"type": "null"
|
|
628
|
+
}
|
|
629
|
+
]
|
|
630
|
+
},
|
|
631
|
+
"itemCount": {
|
|
632
|
+
"anyOf": [
|
|
633
|
+
{
|
|
634
|
+
"type": "number",
|
|
635
|
+
"description": "The number of items."
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"type": "null"
|
|
639
|
+
}
|
|
640
|
+
]
|
|
641
|
+
},
|
|
642
|
+
"names": {
|
|
643
|
+
"type": "object",
|
|
644
|
+
"properties": {},
|
|
645
|
+
"additionalProperties": true,
|
|
646
|
+
"description": "The raw object returned by Moojing."
|
|
647
|
+
},
|
|
648
|
+
"raw": {
|
|
649
|
+
"type": "object",
|
|
650
|
+
"properties": {},
|
|
651
|
+
"additionalProperties": true,
|
|
652
|
+
"description": "The raw object returned by Moojing."
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
"additionalProperties": false,
|
|
656
|
+
"description": "The normalized Moojing market summary."
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"id": "mktindex.get_market_trend",
|
|
661
|
+
"service": "mktindex",
|
|
662
|
+
"name": "get_market_trend",
|
|
663
|
+
"description": "Get sales, volume, price, item, shop, and market-share trends for a Moojing market.",
|
|
664
|
+
"operationType": "read",
|
|
665
|
+
"requiredScopes": [],
|
|
666
|
+
"providerPermissions": [],
|
|
667
|
+
"inputSchema": {
|
|
668
|
+
"type": "object",
|
|
669
|
+
"properties": {
|
|
670
|
+
"platform": {
|
|
671
|
+
"type": "string",
|
|
672
|
+
"minLength": 1,
|
|
673
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
674
|
+
},
|
|
675
|
+
"categoryId": {
|
|
676
|
+
"type": "string",
|
|
677
|
+
"minLength": 1,
|
|
678
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
679
|
+
},
|
|
680
|
+
"brandId": {
|
|
681
|
+
"type": "string",
|
|
682
|
+
"minLength": 1,
|
|
683
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
684
|
+
},
|
|
685
|
+
"period": {
|
|
686
|
+
"type": "string",
|
|
687
|
+
"enum": [
|
|
688
|
+
"month",
|
|
689
|
+
"quarter",
|
|
690
|
+
"year"
|
|
691
|
+
],
|
|
692
|
+
"description": "The aggregation period used for the trend."
|
|
693
|
+
},
|
|
694
|
+
"includeYearOverYear": {
|
|
695
|
+
"type": "boolean",
|
|
696
|
+
"description": "Whether to request the additional year-over-year and period-over-period series."
|
|
697
|
+
},
|
|
698
|
+
"currency": {
|
|
699
|
+
"type": "string",
|
|
700
|
+
"enum": [
|
|
701
|
+
"CNY",
|
|
702
|
+
"JPY",
|
|
703
|
+
"GBP",
|
|
704
|
+
"EUR",
|
|
705
|
+
"USD"
|
|
706
|
+
],
|
|
707
|
+
"description": "The currency used for monetary values."
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
"additionalProperties": false,
|
|
711
|
+
"required": [
|
|
712
|
+
"platform",
|
|
713
|
+
"categoryId",
|
|
714
|
+
"brandId",
|
|
715
|
+
"period"
|
|
716
|
+
],
|
|
717
|
+
"description": "The input payload for getting Moojing market trends."
|
|
718
|
+
},
|
|
719
|
+
"outputSchema": {
|
|
720
|
+
"type": "object",
|
|
721
|
+
"properties": {
|
|
722
|
+
"series": {
|
|
723
|
+
"type": "object",
|
|
724
|
+
"properties": {},
|
|
725
|
+
"additionalProperties": true,
|
|
726
|
+
"description": "The raw object returned by Moojing."
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
"additionalProperties": false,
|
|
730
|
+
"description": "The Moojing market trend response."
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"id": "mktindex.get_platform_sales_trends",
|
|
735
|
+
"service": "mktindex",
|
|
736
|
+
"name": "get_platform_sales_trends",
|
|
737
|
+
"description": "Get total sales trend series for each Moojing e-commerce platform.",
|
|
738
|
+
"operationType": "read",
|
|
739
|
+
"requiredScopes": [],
|
|
740
|
+
"providerPermissions": [],
|
|
741
|
+
"inputSchema": {
|
|
742
|
+
"type": "object",
|
|
743
|
+
"properties": {
|
|
744
|
+
"period": {
|
|
745
|
+
"type": "string",
|
|
746
|
+
"enum": [
|
|
747
|
+
"month",
|
|
748
|
+
"quarter",
|
|
749
|
+
"year"
|
|
750
|
+
],
|
|
751
|
+
"description": "The aggregation period used for the trend."
|
|
752
|
+
},
|
|
753
|
+
"startMonth": {
|
|
754
|
+
"type": "string",
|
|
755
|
+
"minLength": 1,
|
|
756
|
+
"description": "The data month in YYYY-MM format.",
|
|
757
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
758
|
+
},
|
|
759
|
+
"currency": {
|
|
760
|
+
"type": "string",
|
|
761
|
+
"enum": [
|
|
762
|
+
"CNY",
|
|
763
|
+
"JPY",
|
|
764
|
+
"GBP",
|
|
765
|
+
"EUR",
|
|
766
|
+
"USD"
|
|
767
|
+
],
|
|
768
|
+
"description": "The currency used for monetary values."
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
"additionalProperties": false,
|
|
772
|
+
"required": [
|
|
773
|
+
"period",
|
|
774
|
+
"startMonth"
|
|
775
|
+
],
|
|
776
|
+
"description": "The input payload for total platform sales trends."
|
|
777
|
+
},
|
|
778
|
+
"outputSchema": {
|
|
779
|
+
"type": "object",
|
|
780
|
+
"properties": {
|
|
781
|
+
"data": {
|
|
782
|
+
"type": "object",
|
|
783
|
+
"properties": {},
|
|
784
|
+
"additionalProperties": true,
|
|
785
|
+
"description": "The provider-defined map from platform IDs to sales series."
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
"additionalProperties": false,
|
|
789
|
+
"description": "The total sales trends grouped by platform."
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"id": "mktindex.get_price_distribution",
|
|
794
|
+
"service": "mktindex",
|
|
795
|
+
"name": "get_price_distribution",
|
|
796
|
+
"description": "Get item share, volume, and sales across price ranges in a Moojing market.",
|
|
797
|
+
"operationType": "read",
|
|
798
|
+
"requiredScopes": [],
|
|
799
|
+
"providerPermissions": [],
|
|
800
|
+
"inputSchema": {
|
|
801
|
+
"type": "object",
|
|
802
|
+
"properties": {
|
|
803
|
+
"platform": {
|
|
804
|
+
"type": "string",
|
|
805
|
+
"minLength": 1,
|
|
806
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
807
|
+
},
|
|
808
|
+
"categoryId": {
|
|
809
|
+
"type": "string",
|
|
810
|
+
"minLength": 1,
|
|
811
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
812
|
+
},
|
|
813
|
+
"brandId": {
|
|
814
|
+
"type": "string",
|
|
815
|
+
"minLength": 1,
|
|
816
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
817
|
+
},
|
|
818
|
+
"month": {
|
|
819
|
+
"type": "string",
|
|
820
|
+
"minLength": 1,
|
|
821
|
+
"description": "The data month in YYYY-MM format.",
|
|
822
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
823
|
+
},
|
|
824
|
+
"priceBreakpoints": {
|
|
825
|
+
"type": "array",
|
|
826
|
+
"items": {
|
|
827
|
+
"type": "number",
|
|
828
|
+
"minimum": 0,
|
|
829
|
+
"description": "One custom price breakpoint."
|
|
830
|
+
},
|
|
831
|
+
"description": "Custom price breakpoints used to build ranges.",
|
|
832
|
+
"minItems": 1
|
|
833
|
+
},
|
|
834
|
+
"intervalSize": {
|
|
835
|
+
"type": "number",
|
|
836
|
+
"exclusiveMinimum": 0,
|
|
837
|
+
"description": "The fixed size of each generated price interval."
|
|
838
|
+
},
|
|
839
|
+
"minPrice": {
|
|
840
|
+
"type": "number",
|
|
841
|
+
"minimum": 0,
|
|
842
|
+
"description": "The minimum price included in generated intervals."
|
|
843
|
+
},
|
|
844
|
+
"maxPrice": {
|
|
845
|
+
"type": "number",
|
|
846
|
+
"exclusiveMinimum": 0,
|
|
847
|
+
"description": "The maximum price included in generated intervals."
|
|
848
|
+
},
|
|
849
|
+
"rangeCount": {
|
|
850
|
+
"type": "integer",
|
|
851
|
+
"minimum": 1,
|
|
852
|
+
"description": "The number of generated price intervals."
|
|
853
|
+
},
|
|
854
|
+
"currency": {
|
|
855
|
+
"type": "string",
|
|
856
|
+
"enum": [
|
|
857
|
+
"CNY",
|
|
858
|
+
"JPY",
|
|
859
|
+
"GBP",
|
|
860
|
+
"EUR",
|
|
861
|
+
"USD"
|
|
862
|
+
],
|
|
863
|
+
"description": "The currency used for monetary values."
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
"additionalProperties": false,
|
|
867
|
+
"required": [
|
|
868
|
+
"platform",
|
|
869
|
+
"categoryId",
|
|
870
|
+
"brandId",
|
|
871
|
+
"month"
|
|
872
|
+
],
|
|
873
|
+
"description": "The input payload for calculating a Moojing price distribution."
|
|
874
|
+
},
|
|
875
|
+
"outputSchema": {
|
|
876
|
+
"type": "object",
|
|
877
|
+
"properties": {
|
|
878
|
+
"ranges": {
|
|
879
|
+
"type": "array",
|
|
880
|
+
"items": {
|
|
881
|
+
"type": "object",
|
|
882
|
+
"properties": {
|
|
883
|
+
"label": {
|
|
884
|
+
"type": "string",
|
|
885
|
+
"description": "The provider-defined price range label."
|
|
886
|
+
},
|
|
887
|
+
"itemShare": {
|
|
888
|
+
"anyOf": [
|
|
889
|
+
{
|
|
890
|
+
"type": "number",
|
|
891
|
+
"description": "The share of items in the range."
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"type": "null"
|
|
895
|
+
}
|
|
896
|
+
]
|
|
897
|
+
},
|
|
898
|
+
"sold": {
|
|
899
|
+
"anyOf": [
|
|
900
|
+
{
|
|
901
|
+
"type": "number",
|
|
902
|
+
"description": "The sales volume in the range."
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"type": "null"
|
|
906
|
+
}
|
|
907
|
+
]
|
|
908
|
+
},
|
|
909
|
+
"sales": {
|
|
910
|
+
"anyOf": [
|
|
911
|
+
{
|
|
912
|
+
"type": "number",
|
|
913
|
+
"description": "The sales amount in the range."
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"type": "null"
|
|
917
|
+
}
|
|
918
|
+
]
|
|
919
|
+
},
|
|
920
|
+
"raw": {
|
|
921
|
+
"type": "array",
|
|
922
|
+
"items": {
|
|
923
|
+
"description": "A raw tuple value."
|
|
924
|
+
},
|
|
925
|
+
"description": "The raw tuple returned for the range."
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
"additionalProperties": false,
|
|
929
|
+
"description": "One price range and its market metrics."
|
|
930
|
+
},
|
|
931
|
+
"description": "The returned price ranges."
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
"additionalProperties": false,
|
|
935
|
+
"description": "The normalized Moojing price distribution."
|
|
936
|
+
}
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"id": "mktindex.get_region_market_summary",
|
|
940
|
+
"service": "mktindex",
|
|
941
|
+
"name": "get_region_market_summary",
|
|
942
|
+
"description": "Get monthly summary metrics for a province or city within a Moojing market.",
|
|
943
|
+
"operationType": "read",
|
|
944
|
+
"requiredScopes": [],
|
|
945
|
+
"providerPermissions": [],
|
|
946
|
+
"inputSchema": {
|
|
947
|
+
"type": "object",
|
|
948
|
+
"properties": {
|
|
949
|
+
"platform": {
|
|
950
|
+
"type": "string",
|
|
951
|
+
"minLength": 1,
|
|
952
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
953
|
+
},
|
|
954
|
+
"categoryId": {
|
|
955
|
+
"type": "string",
|
|
956
|
+
"minLength": 1,
|
|
957
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
958
|
+
},
|
|
959
|
+
"brandId": {
|
|
960
|
+
"type": "string",
|
|
961
|
+
"minLength": 1,
|
|
962
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
963
|
+
},
|
|
964
|
+
"province": {
|
|
965
|
+
"type": "string",
|
|
966
|
+
"minLength": 1,
|
|
967
|
+
"description": "The province name used to limit the regional market.",
|
|
968
|
+
"pattern": "\\S"
|
|
969
|
+
},
|
|
970
|
+
"city": {
|
|
971
|
+
"type": "string",
|
|
972
|
+
"minLength": 1,
|
|
973
|
+
"description": "The city name, or all to include every city in the province.",
|
|
974
|
+
"pattern": "\\S"
|
|
975
|
+
},
|
|
976
|
+
"month": {
|
|
977
|
+
"type": "string",
|
|
978
|
+
"minLength": 1,
|
|
979
|
+
"description": "The data month in YYYY-MM format.",
|
|
980
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
981
|
+
},
|
|
982
|
+
"language": {
|
|
983
|
+
"type": "string",
|
|
984
|
+
"enum": [
|
|
985
|
+
"zh",
|
|
986
|
+
"en"
|
|
987
|
+
],
|
|
988
|
+
"description": "The response language."
|
|
989
|
+
},
|
|
990
|
+
"currency": {
|
|
991
|
+
"type": "string",
|
|
992
|
+
"enum": [
|
|
993
|
+
"CNY",
|
|
994
|
+
"JPY",
|
|
995
|
+
"GBP",
|
|
996
|
+
"EUR",
|
|
997
|
+
"USD"
|
|
998
|
+
],
|
|
999
|
+
"description": "The currency used for monetary values."
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
"additionalProperties": false,
|
|
1003
|
+
"required": [
|
|
1004
|
+
"platform",
|
|
1005
|
+
"categoryId",
|
|
1006
|
+
"brandId",
|
|
1007
|
+
"province",
|
|
1008
|
+
"city",
|
|
1009
|
+
"month",
|
|
1010
|
+
"language"
|
|
1011
|
+
],
|
|
1012
|
+
"description": "The input payload for a regional Moojing market summary."
|
|
1013
|
+
},
|
|
1014
|
+
"outputSchema": {
|
|
1015
|
+
"type": "object",
|
|
1016
|
+
"properties": {
|
|
1017
|
+
"data": {
|
|
1018
|
+
"type": "object",
|
|
1019
|
+
"properties": {},
|
|
1020
|
+
"additionalProperties": true,
|
|
1021
|
+
"description": "The provider-defined regional summary metrics."
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
"additionalProperties": false,
|
|
1025
|
+
"description": "The regional Moojing market summary."
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"id": "mktindex.get_region_market_trend",
|
|
1030
|
+
"service": "mktindex",
|
|
1031
|
+
"name": "get_region_market_trend",
|
|
1032
|
+
"description": "Get trend series for a province or city within a Moojing market.",
|
|
1033
|
+
"operationType": "read",
|
|
1034
|
+
"requiredScopes": [],
|
|
1035
|
+
"providerPermissions": [],
|
|
1036
|
+
"inputSchema": {
|
|
1037
|
+
"type": "object",
|
|
1038
|
+
"properties": {
|
|
1039
|
+
"platform": {
|
|
1040
|
+
"type": "string",
|
|
1041
|
+
"minLength": 1,
|
|
1042
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
1043
|
+
},
|
|
1044
|
+
"categoryId": {
|
|
1045
|
+
"type": "string",
|
|
1046
|
+
"minLength": 1,
|
|
1047
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
1048
|
+
},
|
|
1049
|
+
"brandId": {
|
|
1050
|
+
"type": "string",
|
|
1051
|
+
"minLength": 1,
|
|
1052
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
1053
|
+
},
|
|
1054
|
+
"province": {
|
|
1055
|
+
"type": "string",
|
|
1056
|
+
"minLength": 1,
|
|
1057
|
+
"description": "The province name used to limit the regional market.",
|
|
1058
|
+
"pattern": "\\S"
|
|
1059
|
+
},
|
|
1060
|
+
"city": {
|
|
1061
|
+
"type": "string",
|
|
1062
|
+
"minLength": 1,
|
|
1063
|
+
"description": "The city name, or all to include every city in the province.",
|
|
1064
|
+
"pattern": "\\S"
|
|
1065
|
+
},
|
|
1066
|
+
"period": {
|
|
1067
|
+
"type": "string",
|
|
1068
|
+
"enum": [
|
|
1069
|
+
"month",
|
|
1070
|
+
"quarter",
|
|
1071
|
+
"year"
|
|
1072
|
+
],
|
|
1073
|
+
"description": "The aggregation period used for the trend."
|
|
1074
|
+
},
|
|
1075
|
+
"currency": {
|
|
1076
|
+
"type": "string",
|
|
1077
|
+
"enum": [
|
|
1078
|
+
"CNY",
|
|
1079
|
+
"JPY",
|
|
1080
|
+
"GBP",
|
|
1081
|
+
"EUR",
|
|
1082
|
+
"USD"
|
|
1083
|
+
],
|
|
1084
|
+
"description": "The currency used for monetary values."
|
|
1085
|
+
}
|
|
1086
|
+
},
|
|
1087
|
+
"additionalProperties": false,
|
|
1088
|
+
"required": [
|
|
1089
|
+
"platform",
|
|
1090
|
+
"categoryId",
|
|
1091
|
+
"brandId",
|
|
1092
|
+
"province",
|
|
1093
|
+
"city",
|
|
1094
|
+
"period"
|
|
1095
|
+
],
|
|
1096
|
+
"description": "The input payload for a regional Moojing market trend."
|
|
1097
|
+
},
|
|
1098
|
+
"outputSchema": {
|
|
1099
|
+
"type": "object",
|
|
1100
|
+
"properties": {
|
|
1101
|
+
"data": {
|
|
1102
|
+
"type": "object",
|
|
1103
|
+
"properties": {},
|
|
1104
|
+
"additionalProperties": true,
|
|
1105
|
+
"description": "The provider-defined regional trend series."
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
"additionalProperties": false,
|
|
1109
|
+
"description": "The regional Moojing market trend."
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"id": "mktindex.get_shop_details",
|
|
1114
|
+
"service": "mktindex",
|
|
1115
|
+
"name": "get_shop_details",
|
|
1116
|
+
"description": "Get category, brand, location, and service details for one or more Moojing shops.",
|
|
1117
|
+
"operationType": "read",
|
|
1118
|
+
"requiredScopes": [],
|
|
1119
|
+
"providerPermissions": [],
|
|
1120
|
+
"inputSchema": {
|
|
1121
|
+
"type": "object",
|
|
1122
|
+
"properties": {
|
|
1123
|
+
"platform": {
|
|
1124
|
+
"type": "string",
|
|
1125
|
+
"minLength": 1,
|
|
1126
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
1127
|
+
},
|
|
1128
|
+
"startMonth": {
|
|
1129
|
+
"type": "string",
|
|
1130
|
+
"minLength": 1,
|
|
1131
|
+
"description": "The data month in YYYY-MM format.",
|
|
1132
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
1133
|
+
},
|
|
1134
|
+
"endMonth": {
|
|
1135
|
+
"type": "string",
|
|
1136
|
+
"minLength": 1,
|
|
1137
|
+
"description": "The data month in YYYY-MM format.",
|
|
1138
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
1139
|
+
},
|
|
1140
|
+
"shopNames": {
|
|
1141
|
+
"type": "array",
|
|
1142
|
+
"items": {
|
|
1143
|
+
"type": "string",
|
|
1144
|
+
"minLength": 1,
|
|
1145
|
+
"description": "One shop name."
|
|
1146
|
+
},
|
|
1147
|
+
"description": "The shop names to query.",
|
|
1148
|
+
"minItems": 1
|
|
1149
|
+
},
|
|
1150
|
+
"shopIds": {
|
|
1151
|
+
"type": "array",
|
|
1152
|
+
"items": {
|
|
1153
|
+
"type": "string",
|
|
1154
|
+
"minLength": 1,
|
|
1155
|
+
"description": "One shop ID."
|
|
1156
|
+
},
|
|
1157
|
+
"description": "The shop IDs to query.",
|
|
1158
|
+
"minItems": 1
|
|
1159
|
+
},
|
|
1160
|
+
"currency": {
|
|
1161
|
+
"type": "string",
|
|
1162
|
+
"enum": [
|
|
1163
|
+
"CNY",
|
|
1164
|
+
"JPY",
|
|
1165
|
+
"GBP",
|
|
1166
|
+
"EUR",
|
|
1167
|
+
"USD"
|
|
1168
|
+
],
|
|
1169
|
+
"description": "The currency used for monetary values."
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
"additionalProperties": false,
|
|
1173
|
+
"required": [
|
|
1174
|
+
"platform",
|
|
1175
|
+
"startMonth"
|
|
1176
|
+
],
|
|
1177
|
+
"description": "The input payload for getting Moojing shop details."
|
|
1178
|
+
},
|
|
1179
|
+
"outputSchema": {
|
|
1180
|
+
"type": "object",
|
|
1181
|
+
"properties": {
|
|
1182
|
+
"shops": {
|
|
1183
|
+
"type": "array",
|
|
1184
|
+
"items": {
|
|
1185
|
+
"type": "object",
|
|
1186
|
+
"properties": {},
|
|
1187
|
+
"additionalProperties": true,
|
|
1188
|
+
"description": "The raw object returned by Moojing."
|
|
1189
|
+
},
|
|
1190
|
+
"description": "The shop detail records returned by Moojing."
|
|
1191
|
+
},
|
|
1192
|
+
"errors": {
|
|
1193
|
+
"type": "array",
|
|
1194
|
+
"items": {
|
|
1195
|
+
"type": "string",
|
|
1196
|
+
"description": "One shop lookup error."
|
|
1197
|
+
},
|
|
1198
|
+
"description": "Shop lookup errors reported by Moojing."
|
|
1199
|
+
}
|
|
1200
|
+
},
|
|
1201
|
+
"additionalProperties": false,
|
|
1202
|
+
"description": "The Moojing shop detail response."
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"id": "mktindex.get_shop_sales_trend",
|
|
1207
|
+
"service": "mktindex",
|
|
1208
|
+
"name": "get_shop_sales_trend",
|
|
1209
|
+
"description": "Get sales trends for one Moojing shop within a category and brand.",
|
|
1210
|
+
"operationType": "read",
|
|
1211
|
+
"requiredScopes": [],
|
|
1212
|
+
"providerPermissions": [],
|
|
1213
|
+
"inputSchema": {
|
|
1214
|
+
"type": "object",
|
|
1215
|
+
"properties": {
|
|
1216
|
+
"platform": {
|
|
1217
|
+
"type": "string",
|
|
1218
|
+
"minLength": 1,
|
|
1219
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
1220
|
+
},
|
|
1221
|
+
"shopId": {
|
|
1222
|
+
"type": "string",
|
|
1223
|
+
"minLength": 1,
|
|
1224
|
+
"description": "The Moojing shop identifier.",
|
|
1225
|
+
"pattern": "\\S"
|
|
1226
|
+
},
|
|
1227
|
+
"categoryId": {
|
|
1228
|
+
"type": "string",
|
|
1229
|
+
"minLength": 1,
|
|
1230
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
1231
|
+
},
|
|
1232
|
+
"brandId": {
|
|
1233
|
+
"type": "string",
|
|
1234
|
+
"minLength": 1,
|
|
1235
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
1236
|
+
},
|
|
1237
|
+
"startMonth": {
|
|
1238
|
+
"type": "string",
|
|
1239
|
+
"minLength": 1,
|
|
1240
|
+
"description": "The data month in the YYYY_MM format required by this Moojing endpoint.",
|
|
1241
|
+
"pattern": "^\\d{4}_(0[1-9]|1[0-2])$"
|
|
1242
|
+
},
|
|
1243
|
+
"currency": {
|
|
1244
|
+
"type": "string",
|
|
1245
|
+
"enum": [
|
|
1246
|
+
"CNY",
|
|
1247
|
+
"JPY",
|
|
1248
|
+
"GBP",
|
|
1249
|
+
"EUR",
|
|
1250
|
+
"USD"
|
|
1251
|
+
],
|
|
1252
|
+
"description": "The currency used for monetary values."
|
|
1253
|
+
}
|
|
1254
|
+
},
|
|
1255
|
+
"additionalProperties": false,
|
|
1256
|
+
"required": [
|
|
1257
|
+
"platform",
|
|
1258
|
+
"shopId",
|
|
1259
|
+
"categoryId",
|
|
1260
|
+
"brandId",
|
|
1261
|
+
"startMonth"
|
|
1262
|
+
],
|
|
1263
|
+
"description": "The input payload for a Moojing shop sales trend."
|
|
1264
|
+
},
|
|
1265
|
+
"outputSchema": {
|
|
1266
|
+
"type": "object",
|
|
1267
|
+
"properties": {
|
|
1268
|
+
"data": {
|
|
1269
|
+
"type": "object",
|
|
1270
|
+
"properties": {},
|
|
1271
|
+
"additionalProperties": true,
|
|
1272
|
+
"description": "The provider-defined shop identity and trend data."
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
"additionalProperties": false,
|
|
1276
|
+
"description": "The Moojing shop sales trend."
|
|
1277
|
+
}
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"id": "mktindex.get_spu",
|
|
1281
|
+
"service": "mktindex",
|
|
1282
|
+
"name": "get_spu",
|
|
1283
|
+
"description": "Get one Tmall product model or SPU with its items and shops.",
|
|
1284
|
+
"operationType": "read",
|
|
1285
|
+
"requiredScopes": [],
|
|
1286
|
+
"providerPermissions": [],
|
|
1287
|
+
"inputSchema": {
|
|
1288
|
+
"type": "object",
|
|
1289
|
+
"properties": {
|
|
1290
|
+
"platform": {
|
|
1291
|
+
"const": "tmall",
|
|
1292
|
+
"type": "string",
|
|
1293
|
+
"description": "The Tmall platform supported by the official SPU endpoint."
|
|
1294
|
+
},
|
|
1295
|
+
"spuId": {
|
|
1296
|
+
"type": "string",
|
|
1297
|
+
"minLength": 1,
|
|
1298
|
+
"description": "The Moojing SPU identifier.",
|
|
1299
|
+
"pattern": "\\S"
|
|
1300
|
+
},
|
|
1301
|
+
"month": {
|
|
1302
|
+
"type": "string",
|
|
1303
|
+
"minLength": 1,
|
|
1304
|
+
"description": "The data month in YYYY-MM format.",
|
|
1305
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
1306
|
+
},
|
|
1307
|
+
"currency": {
|
|
1308
|
+
"type": "string",
|
|
1309
|
+
"enum": [
|
|
1310
|
+
"CNY",
|
|
1311
|
+
"JPY",
|
|
1312
|
+
"GBP",
|
|
1313
|
+
"EUR",
|
|
1314
|
+
"USD"
|
|
1315
|
+
],
|
|
1316
|
+
"description": "The currency used for monetary values."
|
|
1317
|
+
}
|
|
1318
|
+
},
|
|
1319
|
+
"additionalProperties": false,
|
|
1320
|
+
"required": [
|
|
1321
|
+
"platform",
|
|
1322
|
+
"spuId",
|
|
1323
|
+
"month"
|
|
1324
|
+
],
|
|
1325
|
+
"description": "The input payload for getting one Moojing SPU."
|
|
1326
|
+
},
|
|
1327
|
+
"outputSchema": {
|
|
1328
|
+
"type": "object",
|
|
1329
|
+
"properties": {
|
|
1330
|
+
"data": {
|
|
1331
|
+
"type": "object",
|
|
1332
|
+
"properties": {},
|
|
1333
|
+
"additionalProperties": true,
|
|
1334
|
+
"description": "The provider-defined SPU detail, item, shop, and breadcrumb fields."
|
|
1335
|
+
}
|
|
1336
|
+
},
|
|
1337
|
+
"additionalProperties": false,
|
|
1338
|
+
"description": "The Moojing SPU detail response."
|
|
1339
|
+
}
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
"id": "mktindex.list_attribute_performance",
|
|
1343
|
+
"service": "mktindex",
|
|
1344
|
+
"name": "list_attribute_performance",
|
|
1345
|
+
"description": "List sales performance for attribute values or combinations in a Moojing category.",
|
|
1346
|
+
"operationType": "read",
|
|
1347
|
+
"requiredScopes": [],
|
|
1348
|
+
"providerPermissions": [],
|
|
1349
|
+
"inputSchema": {
|
|
1350
|
+
"type": "object",
|
|
1351
|
+
"properties": {
|
|
1352
|
+
"platform": {
|
|
1353
|
+
"type": "string",
|
|
1354
|
+
"minLength": 1,
|
|
1355
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
1356
|
+
},
|
|
1357
|
+
"categoryId": {
|
|
1358
|
+
"type": "string",
|
|
1359
|
+
"minLength": 1,
|
|
1360
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
1361
|
+
},
|
|
1362
|
+
"month": {
|
|
1363
|
+
"type": "string",
|
|
1364
|
+
"minLength": 1,
|
|
1365
|
+
"description": "The data month in YYYY-MM format.",
|
|
1366
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
1367
|
+
},
|
|
1368
|
+
"mode": {
|
|
1369
|
+
"type": "string",
|
|
1370
|
+
"enum": [
|
|
1371
|
+
"combinations",
|
|
1372
|
+
"single_attribute"
|
|
1373
|
+
],
|
|
1374
|
+
"description": "Whether to rank combinations or values in one attribute group."
|
|
1375
|
+
},
|
|
1376
|
+
"attributeName": {
|
|
1377
|
+
"type": "string",
|
|
1378
|
+
"minLength": 1,
|
|
1379
|
+
"description": "The attribute group used when mode is single_attribute.",
|
|
1380
|
+
"pattern": "\\S"
|
|
1381
|
+
},
|
|
1382
|
+
"currency": {
|
|
1383
|
+
"type": "string",
|
|
1384
|
+
"enum": [
|
|
1385
|
+
"CNY",
|
|
1386
|
+
"JPY",
|
|
1387
|
+
"GBP",
|
|
1388
|
+
"EUR",
|
|
1389
|
+
"USD"
|
|
1390
|
+
],
|
|
1391
|
+
"description": "The currency used for monetary values."
|
|
1392
|
+
}
|
|
1393
|
+
},
|
|
1394
|
+
"additionalProperties": false,
|
|
1395
|
+
"required": [
|
|
1396
|
+
"platform",
|
|
1397
|
+
"categoryId",
|
|
1398
|
+
"month",
|
|
1399
|
+
"mode"
|
|
1400
|
+
],
|
|
1401
|
+
"description": "The input payload for listing Moojing attribute performance."
|
|
1402
|
+
},
|
|
1403
|
+
"outputSchema": {
|
|
1404
|
+
"type": "object",
|
|
1405
|
+
"properties": {
|
|
1406
|
+
"data": {
|
|
1407
|
+
"type": "object",
|
|
1408
|
+
"properties": {},
|
|
1409
|
+
"additionalProperties": true,
|
|
1410
|
+
"description": "The provider-defined attribute performance count and rows."
|
|
1411
|
+
}
|
|
1412
|
+
},
|
|
1413
|
+
"additionalProperties": false,
|
|
1414
|
+
"description": "The Moojing attribute performance result."
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"id": "mktindex.list_brand_categories",
|
|
1419
|
+
"service": "mktindex",
|
|
1420
|
+
"name": "list_brand_categories",
|
|
1421
|
+
"description": "List categories and sales associated with a Moojing brand on a platform.",
|
|
1422
|
+
"operationType": "read",
|
|
1423
|
+
"requiredScopes": [],
|
|
1424
|
+
"providerPermissions": [],
|
|
1425
|
+
"inputSchema": {
|
|
1426
|
+
"type": "object",
|
|
1427
|
+
"properties": {
|
|
1428
|
+
"platform": {
|
|
1429
|
+
"type": "string",
|
|
1430
|
+
"minLength": 1,
|
|
1431
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
1432
|
+
},
|
|
1433
|
+
"brandId": {
|
|
1434
|
+
"type": "string",
|
|
1435
|
+
"minLength": 1,
|
|
1436
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
1437
|
+
},
|
|
1438
|
+
"currency": {
|
|
1439
|
+
"type": "string",
|
|
1440
|
+
"enum": [
|
|
1441
|
+
"CNY",
|
|
1442
|
+
"JPY",
|
|
1443
|
+
"GBP",
|
|
1444
|
+
"EUR",
|
|
1445
|
+
"USD"
|
|
1446
|
+
],
|
|
1447
|
+
"description": "The currency used for monetary values."
|
|
1448
|
+
}
|
|
1449
|
+
},
|
|
1450
|
+
"additionalProperties": false,
|
|
1451
|
+
"required": [
|
|
1452
|
+
"platform",
|
|
1453
|
+
"brandId"
|
|
1454
|
+
],
|
|
1455
|
+
"description": "The input payload for listing categories associated with a brand."
|
|
1456
|
+
},
|
|
1457
|
+
"outputSchema": {
|
|
1458
|
+
"type": "object",
|
|
1459
|
+
"properties": {
|
|
1460
|
+
"categories": {
|
|
1461
|
+
"type": "array",
|
|
1462
|
+
"items": {
|
|
1463
|
+
"type": "object",
|
|
1464
|
+
"properties": {},
|
|
1465
|
+
"additionalProperties": true,
|
|
1466
|
+
"description": "The raw object returned by Moojing."
|
|
1467
|
+
},
|
|
1468
|
+
"description": "The provider-defined brand category rows."
|
|
1469
|
+
}
|
|
1470
|
+
},
|
|
1471
|
+
"additionalProperties": false,
|
|
1472
|
+
"description": "The categories associated with the Moojing brand."
|
|
1473
|
+
}
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
"id": "mktindex.list_categories",
|
|
1477
|
+
"service": "mktindex",
|
|
1478
|
+
"name": "list_categories",
|
|
1479
|
+
"description": "List Moojing categories for an e-commerce platform.",
|
|
1480
|
+
"operationType": "read",
|
|
1481
|
+
"requiredScopes": [],
|
|
1482
|
+
"providerPermissions": [],
|
|
1483
|
+
"inputSchema": {
|
|
1484
|
+
"type": "object",
|
|
1485
|
+
"properties": {
|
|
1486
|
+
"platform": {
|
|
1487
|
+
"type": "string",
|
|
1488
|
+
"minLength": 1,
|
|
1489
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
1490
|
+
},
|
|
1491
|
+
"rootCategoryId": {
|
|
1492
|
+
"type": "string",
|
|
1493
|
+
"minLength": 1,
|
|
1494
|
+
"description": "An optional category ID used to limit the response to that branch plus top-level categories."
|
|
1495
|
+
},
|
|
1496
|
+
"language": {
|
|
1497
|
+
"type": "string",
|
|
1498
|
+
"enum": [
|
|
1499
|
+
"zh",
|
|
1500
|
+
"en"
|
|
1501
|
+
],
|
|
1502
|
+
"description": "The response language."
|
|
1503
|
+
},
|
|
1504
|
+
"lastUpdatedAt": {
|
|
1505
|
+
"type": "string",
|
|
1506
|
+
"minLength": 1,
|
|
1507
|
+
"description": "An optional category update timestamp in YYYY-MM-DD HH:mm:ss format."
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
"additionalProperties": false,
|
|
1511
|
+
"required": [
|
|
1512
|
+
"platform"
|
|
1513
|
+
],
|
|
1514
|
+
"description": "The input payload for listing Moojing categories."
|
|
1515
|
+
},
|
|
1516
|
+
"outputSchema": {
|
|
1517
|
+
"type": "object",
|
|
1518
|
+
"properties": {
|
|
1519
|
+
"rootCategoryIds": {
|
|
1520
|
+
"type": "array",
|
|
1521
|
+
"items": {
|
|
1522
|
+
"type": "string",
|
|
1523
|
+
"description": "A top-level category ID."
|
|
1524
|
+
},
|
|
1525
|
+
"description": "The top-level category IDs returned by Moojing."
|
|
1526
|
+
},
|
|
1527
|
+
"maxDepth": {
|
|
1528
|
+
"anyOf": [
|
|
1529
|
+
{
|
|
1530
|
+
"type": "integer",
|
|
1531
|
+
"description": "The maximum category tree depth when reported."
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
"type": "null"
|
|
1535
|
+
}
|
|
1536
|
+
]
|
|
1537
|
+
},
|
|
1538
|
+
"categories": {
|
|
1539
|
+
"type": "array",
|
|
1540
|
+
"items": {
|
|
1541
|
+
"type": "object",
|
|
1542
|
+
"properties": {
|
|
1543
|
+
"id": {
|
|
1544
|
+
"type": "string",
|
|
1545
|
+
"description": "The category ID."
|
|
1546
|
+
},
|
|
1547
|
+
"name": {
|
|
1548
|
+
"anyOf": [
|
|
1549
|
+
{
|
|
1550
|
+
"type": "string",
|
|
1551
|
+
"description": "The Chinese category name when available."
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
"type": "null"
|
|
1555
|
+
}
|
|
1556
|
+
]
|
|
1557
|
+
},
|
|
1558
|
+
"englishName": {
|
|
1559
|
+
"anyOf": [
|
|
1560
|
+
{
|
|
1561
|
+
"type": "string",
|
|
1562
|
+
"description": "The English category name when available."
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"type": "null"
|
|
1566
|
+
}
|
|
1567
|
+
]
|
|
1568
|
+
},
|
|
1569
|
+
"parentId": {
|
|
1570
|
+
"anyOf": [
|
|
1571
|
+
{
|
|
1572
|
+
"type": "string",
|
|
1573
|
+
"description": "The parent category ID when available."
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"type": "null"
|
|
1577
|
+
}
|
|
1578
|
+
]
|
|
1579
|
+
},
|
|
1580
|
+
"level": {
|
|
1581
|
+
"anyOf": [
|
|
1582
|
+
{
|
|
1583
|
+
"type": "integer",
|
|
1584
|
+
"description": "The category tree level when available."
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"type": "null"
|
|
1588
|
+
}
|
|
1589
|
+
]
|
|
1590
|
+
},
|
|
1591
|
+
"childIds": {
|
|
1592
|
+
"type": "array",
|
|
1593
|
+
"items": {
|
|
1594
|
+
"type": "string",
|
|
1595
|
+
"description": "A child category ID."
|
|
1596
|
+
},
|
|
1597
|
+
"description": "The IDs of direct child categories."
|
|
1598
|
+
},
|
|
1599
|
+
"hasBrand": {
|
|
1600
|
+
"anyOf": [
|
|
1601
|
+
{
|
|
1602
|
+
"type": "boolean",
|
|
1603
|
+
"description": "Whether the category has brand data when reported."
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
"type": "null"
|
|
1607
|
+
}
|
|
1608
|
+
]
|
|
1609
|
+
},
|
|
1610
|
+
"raw": {
|
|
1611
|
+
"type": "object",
|
|
1612
|
+
"properties": {},
|
|
1613
|
+
"additionalProperties": true,
|
|
1614
|
+
"description": "The raw object returned by Moojing."
|
|
1615
|
+
}
|
|
1616
|
+
},
|
|
1617
|
+
"additionalProperties": false,
|
|
1618
|
+
"description": "A normalized Moojing category."
|
|
1619
|
+
},
|
|
1620
|
+
"description": "The categories returned by Moojing."
|
|
1621
|
+
}
|
|
1622
|
+
},
|
|
1623
|
+
"additionalProperties": false,
|
|
1624
|
+
"description": "The normalized Moojing category tree response."
|
|
1625
|
+
}
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"id": "mktindex.list_category_attributes",
|
|
1629
|
+
"service": "mktindex",
|
|
1630
|
+
"name": "list_category_attributes",
|
|
1631
|
+
"description": "List attribute groups and values available for a Moojing category in one month.",
|
|
1632
|
+
"operationType": "read",
|
|
1633
|
+
"requiredScopes": [],
|
|
1634
|
+
"providerPermissions": [],
|
|
1635
|
+
"inputSchema": {
|
|
1636
|
+
"type": "object",
|
|
1637
|
+
"properties": {
|
|
1638
|
+
"platform": {
|
|
1639
|
+
"type": "string",
|
|
1640
|
+
"minLength": 1,
|
|
1641
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
1642
|
+
},
|
|
1643
|
+
"categoryId": {
|
|
1644
|
+
"type": "string",
|
|
1645
|
+
"minLength": 1,
|
|
1646
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
1647
|
+
},
|
|
1648
|
+
"month": {
|
|
1649
|
+
"type": "string",
|
|
1650
|
+
"minLength": 1,
|
|
1651
|
+
"description": "The data month in YYYY-MM format.",
|
|
1652
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
1653
|
+
}
|
|
1654
|
+
},
|
|
1655
|
+
"additionalProperties": false,
|
|
1656
|
+
"description": "The input payload for listing category attributes."
|
|
1657
|
+
},
|
|
1658
|
+
"outputSchema": {
|
|
1659
|
+
"type": "object",
|
|
1660
|
+
"properties": {
|
|
1661
|
+
"data": {
|
|
1662
|
+
"type": "object",
|
|
1663
|
+
"properties": {},
|
|
1664
|
+
"additionalProperties": true,
|
|
1665
|
+
"description": "The provider-defined map from attribute group names to values."
|
|
1666
|
+
}
|
|
1667
|
+
},
|
|
1668
|
+
"additionalProperties": false,
|
|
1669
|
+
"description": "The Moojing category attribute dictionary."
|
|
1670
|
+
}
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
"id": "mktindex.list_hot_items",
|
|
1674
|
+
"service": "mktindex",
|
|
1675
|
+
"name": "list_hot_items",
|
|
1676
|
+
"description": "List top-selling items within a Moojing market for one month.",
|
|
1677
|
+
"operationType": "read",
|
|
1678
|
+
"requiredScopes": [],
|
|
1679
|
+
"providerPermissions": [],
|
|
1680
|
+
"inputSchema": {
|
|
1681
|
+
"type": "object",
|
|
1682
|
+
"properties": {
|
|
1683
|
+
"platform": {
|
|
1684
|
+
"type": "string",
|
|
1685
|
+
"minLength": 1,
|
|
1686
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
1687
|
+
},
|
|
1688
|
+
"categoryId": {
|
|
1689
|
+
"type": "string",
|
|
1690
|
+
"minLength": 1,
|
|
1691
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
1692
|
+
},
|
|
1693
|
+
"brandId": {
|
|
1694
|
+
"type": "string",
|
|
1695
|
+
"minLength": 1,
|
|
1696
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
1697
|
+
},
|
|
1698
|
+
"month": {
|
|
1699
|
+
"type": "string",
|
|
1700
|
+
"minLength": 1,
|
|
1701
|
+
"description": "The data month in YYYY-MM format.",
|
|
1702
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
1703
|
+
},
|
|
1704
|
+
"page": {
|
|
1705
|
+
"type": "integer",
|
|
1706
|
+
"minimum": 1,
|
|
1707
|
+
"description": "The one-based result page number.",
|
|
1708
|
+
"default": 1
|
|
1709
|
+
},
|
|
1710
|
+
"pageSize": {
|
|
1711
|
+
"type": "integer",
|
|
1712
|
+
"minimum": 1,
|
|
1713
|
+
"maximum": 100,
|
|
1714
|
+
"description": "The number of rows requested per page.",
|
|
1715
|
+
"default": 10
|
|
1716
|
+
},
|
|
1717
|
+
"currency": {
|
|
1718
|
+
"type": "string",
|
|
1719
|
+
"enum": [
|
|
1720
|
+
"CNY",
|
|
1721
|
+
"JPY",
|
|
1722
|
+
"GBP",
|
|
1723
|
+
"EUR",
|
|
1724
|
+
"USD"
|
|
1725
|
+
],
|
|
1726
|
+
"description": "The currency used for monetary values."
|
|
1727
|
+
}
|
|
1728
|
+
},
|
|
1729
|
+
"additionalProperties": false,
|
|
1730
|
+
"required": [
|
|
1731
|
+
"platform",
|
|
1732
|
+
"categoryId",
|
|
1733
|
+
"brandId",
|
|
1734
|
+
"month"
|
|
1735
|
+
],
|
|
1736
|
+
"description": "The input payload for listing top-selling Moojing items."
|
|
1737
|
+
},
|
|
1738
|
+
"outputSchema": {
|
|
1739
|
+
"type": "object",
|
|
1740
|
+
"properties": {
|
|
1741
|
+
"count": {
|
|
1742
|
+
"type": "integer",
|
|
1743
|
+
"description": "The total number of available items."
|
|
1744
|
+
},
|
|
1745
|
+
"items": {
|
|
1746
|
+
"type": "array",
|
|
1747
|
+
"items": {
|
|
1748
|
+
"type": "object",
|
|
1749
|
+
"properties": {},
|
|
1750
|
+
"additionalProperties": true,
|
|
1751
|
+
"description": "The raw object returned by Moojing."
|
|
1752
|
+
},
|
|
1753
|
+
"description": "The item rows returned by Moojing."
|
|
1754
|
+
}
|
|
1755
|
+
},
|
|
1756
|
+
"additionalProperties": false,
|
|
1757
|
+
"description": "The paginated top-selling Moojing items."
|
|
1758
|
+
}
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"id": "mktindex.list_hot_shops",
|
|
1762
|
+
"service": "mktindex",
|
|
1763
|
+
"name": "list_hot_shops",
|
|
1764
|
+
"description": "List top-selling shops within a Moojing market for one month.",
|
|
1765
|
+
"operationType": "read",
|
|
1766
|
+
"requiredScopes": [],
|
|
1767
|
+
"providerPermissions": [],
|
|
1768
|
+
"inputSchema": {
|
|
1769
|
+
"type": "object",
|
|
1770
|
+
"properties": {
|
|
1771
|
+
"platform": {
|
|
1772
|
+
"type": "string",
|
|
1773
|
+
"minLength": 1,
|
|
1774
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
1775
|
+
},
|
|
1776
|
+
"categoryId": {
|
|
1777
|
+
"type": "string",
|
|
1778
|
+
"minLength": 1,
|
|
1779
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
1780
|
+
},
|
|
1781
|
+
"brandId": {
|
|
1782
|
+
"type": "string",
|
|
1783
|
+
"minLength": 1,
|
|
1784
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
1785
|
+
},
|
|
1786
|
+
"month": {
|
|
1787
|
+
"type": "string",
|
|
1788
|
+
"minLength": 1,
|
|
1789
|
+
"description": "The data month in YYYY-MM format.",
|
|
1790
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
1791
|
+
},
|
|
1792
|
+
"page": {
|
|
1793
|
+
"type": "integer",
|
|
1794
|
+
"minimum": 1,
|
|
1795
|
+
"description": "The one-based result page number.",
|
|
1796
|
+
"default": 1
|
|
1797
|
+
},
|
|
1798
|
+
"pageSize": {
|
|
1799
|
+
"type": "integer",
|
|
1800
|
+
"minimum": 1,
|
|
1801
|
+
"maximum": 100,
|
|
1802
|
+
"description": "The number of rows requested per page.",
|
|
1803
|
+
"default": 10
|
|
1804
|
+
},
|
|
1805
|
+
"currency": {
|
|
1806
|
+
"type": "string",
|
|
1807
|
+
"enum": [
|
|
1808
|
+
"CNY",
|
|
1809
|
+
"JPY",
|
|
1810
|
+
"GBP",
|
|
1811
|
+
"EUR",
|
|
1812
|
+
"USD"
|
|
1813
|
+
],
|
|
1814
|
+
"description": "The currency used for monetary values."
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
"additionalProperties": false,
|
|
1818
|
+
"required": [
|
|
1819
|
+
"platform",
|
|
1820
|
+
"categoryId",
|
|
1821
|
+
"brandId",
|
|
1822
|
+
"month"
|
|
1823
|
+
],
|
|
1824
|
+
"description": "The input payload for listing top-selling Moojing shops."
|
|
1825
|
+
},
|
|
1826
|
+
"outputSchema": {
|
|
1827
|
+
"type": "object",
|
|
1828
|
+
"properties": {
|
|
1829
|
+
"count": {
|
|
1830
|
+
"type": "integer",
|
|
1831
|
+
"description": "The total number of available shops."
|
|
1832
|
+
},
|
|
1833
|
+
"shops": {
|
|
1834
|
+
"type": "array",
|
|
1835
|
+
"items": {
|
|
1836
|
+
"type": "object",
|
|
1837
|
+
"properties": {},
|
|
1838
|
+
"additionalProperties": true,
|
|
1839
|
+
"description": "The raw object returned by Moojing."
|
|
1840
|
+
},
|
|
1841
|
+
"description": "The shop rows returned by Moojing."
|
|
1842
|
+
}
|
|
1843
|
+
},
|
|
1844
|
+
"additionalProperties": false,
|
|
1845
|
+
"description": "The paginated top-selling Moojing shops."
|
|
1846
|
+
}
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"id": "mktindex.list_market_breakdown",
|
|
1850
|
+
"service": "mktindex",
|
|
1851
|
+
"name": "list_market_breakdown",
|
|
1852
|
+
"description": "List category, brand, or province rows within a Moojing market for one month.",
|
|
1853
|
+
"operationType": "read",
|
|
1854
|
+
"requiredScopes": [],
|
|
1855
|
+
"providerPermissions": [],
|
|
1856
|
+
"inputSchema": {
|
|
1857
|
+
"type": "object",
|
|
1858
|
+
"properties": {
|
|
1859
|
+
"platform": {
|
|
1860
|
+
"type": "string",
|
|
1861
|
+
"minLength": 1,
|
|
1862
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
1863
|
+
},
|
|
1864
|
+
"categoryId": {
|
|
1865
|
+
"type": "string",
|
|
1866
|
+
"minLength": 1,
|
|
1867
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
1868
|
+
},
|
|
1869
|
+
"brandId": {
|
|
1870
|
+
"type": "string",
|
|
1871
|
+
"minLength": 1,
|
|
1872
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
1873
|
+
},
|
|
1874
|
+
"month": {
|
|
1875
|
+
"type": "string",
|
|
1876
|
+
"minLength": 1,
|
|
1877
|
+
"description": "The data month in YYYY-MM format.",
|
|
1878
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
1879
|
+
},
|
|
1880
|
+
"page": {
|
|
1881
|
+
"type": "integer",
|
|
1882
|
+
"minimum": 1,
|
|
1883
|
+
"description": "The one-based result page number.",
|
|
1884
|
+
"default": 1
|
|
1885
|
+
},
|
|
1886
|
+
"pageSize": {
|
|
1887
|
+
"type": "integer",
|
|
1888
|
+
"minimum": 1,
|
|
1889
|
+
"maximum": 100,
|
|
1890
|
+
"description": "The number of rows requested per page.",
|
|
1891
|
+
"default": 10
|
|
1892
|
+
},
|
|
1893
|
+
"currency": {
|
|
1894
|
+
"type": "string",
|
|
1895
|
+
"enum": [
|
|
1896
|
+
"CNY",
|
|
1897
|
+
"JPY",
|
|
1898
|
+
"GBP",
|
|
1899
|
+
"EUR",
|
|
1900
|
+
"USD"
|
|
1901
|
+
],
|
|
1902
|
+
"description": "The currency used for monetary values."
|
|
1903
|
+
},
|
|
1904
|
+
"dimension": {
|
|
1905
|
+
"type": "string",
|
|
1906
|
+
"enum": [
|
|
1907
|
+
"category",
|
|
1908
|
+
"brand",
|
|
1909
|
+
"province"
|
|
1910
|
+
],
|
|
1911
|
+
"description": "The dimension used to break down the market."
|
|
1912
|
+
}
|
|
1913
|
+
},
|
|
1914
|
+
"additionalProperties": false,
|
|
1915
|
+
"required": [
|
|
1916
|
+
"platform",
|
|
1917
|
+
"categoryId",
|
|
1918
|
+
"brandId",
|
|
1919
|
+
"month",
|
|
1920
|
+
"dimension"
|
|
1921
|
+
],
|
|
1922
|
+
"description": "The input payload for listing a Moojing market breakdown."
|
|
1923
|
+
},
|
|
1924
|
+
"outputSchema": {
|
|
1925
|
+
"type": "object",
|
|
1926
|
+
"properties": {
|
|
1927
|
+
"count": {
|
|
1928
|
+
"type": "integer",
|
|
1929
|
+
"description": "The total number of available rows."
|
|
1930
|
+
},
|
|
1931
|
+
"rows": {
|
|
1932
|
+
"type": "array",
|
|
1933
|
+
"items": {
|
|
1934
|
+
"type": "object",
|
|
1935
|
+
"properties": {},
|
|
1936
|
+
"additionalProperties": true,
|
|
1937
|
+
"description": "The raw object returned by Moojing."
|
|
1938
|
+
},
|
|
1939
|
+
"description": "The market breakdown rows returned by Moojing."
|
|
1940
|
+
}
|
|
1941
|
+
},
|
|
1942
|
+
"additionalProperties": false,
|
|
1943
|
+
"description": "The paginated Moojing market breakdown."
|
|
1944
|
+
}
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"id": "mktindex.list_region_hot_items",
|
|
1948
|
+
"service": "mktindex",
|
|
1949
|
+
"name": "list_region_hot_items",
|
|
1950
|
+
"description": "List top-selling items within a regional Moojing market.",
|
|
1951
|
+
"operationType": "read",
|
|
1952
|
+
"requiredScopes": [],
|
|
1953
|
+
"providerPermissions": [],
|
|
1954
|
+
"inputSchema": {
|
|
1955
|
+
"type": "object",
|
|
1956
|
+
"properties": {
|
|
1957
|
+
"platform": {
|
|
1958
|
+
"type": "string",
|
|
1959
|
+
"minLength": 1,
|
|
1960
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
1961
|
+
},
|
|
1962
|
+
"categoryId": {
|
|
1963
|
+
"type": "string",
|
|
1964
|
+
"minLength": 1,
|
|
1965
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
1966
|
+
},
|
|
1967
|
+
"brandId": {
|
|
1968
|
+
"type": "string",
|
|
1969
|
+
"minLength": 1,
|
|
1970
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
1971
|
+
},
|
|
1972
|
+
"province": {
|
|
1973
|
+
"type": "string",
|
|
1974
|
+
"minLength": 1,
|
|
1975
|
+
"description": "The province name used to limit the regional market.",
|
|
1976
|
+
"pattern": "\\S"
|
|
1977
|
+
},
|
|
1978
|
+
"city": {
|
|
1979
|
+
"type": "string",
|
|
1980
|
+
"minLength": 1,
|
|
1981
|
+
"description": "The city name, or all to include every city in the province.",
|
|
1982
|
+
"pattern": "\\S"
|
|
1983
|
+
},
|
|
1984
|
+
"month": {
|
|
1985
|
+
"type": "string",
|
|
1986
|
+
"minLength": 1,
|
|
1987
|
+
"description": "The data month in YYYY-MM format.",
|
|
1988
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
1989
|
+
},
|
|
1990
|
+
"page": {
|
|
1991
|
+
"type": "integer",
|
|
1992
|
+
"minimum": 1,
|
|
1993
|
+
"description": "The one-based result page number.",
|
|
1994
|
+
"default": 1
|
|
1995
|
+
},
|
|
1996
|
+
"pageSize": {
|
|
1997
|
+
"type": "integer",
|
|
1998
|
+
"minimum": 1,
|
|
1999
|
+
"maximum": 100,
|
|
2000
|
+
"description": "The number of rows requested per page.",
|
|
2001
|
+
"default": 10
|
|
2002
|
+
},
|
|
2003
|
+
"currency": {
|
|
2004
|
+
"type": "string",
|
|
2005
|
+
"enum": [
|
|
2006
|
+
"CNY",
|
|
2007
|
+
"JPY",
|
|
2008
|
+
"GBP",
|
|
2009
|
+
"EUR",
|
|
2010
|
+
"USD"
|
|
2011
|
+
],
|
|
2012
|
+
"description": "The currency used for monetary values."
|
|
2013
|
+
}
|
|
2014
|
+
},
|
|
2015
|
+
"additionalProperties": false,
|
|
2016
|
+
"required": [
|
|
2017
|
+
"platform",
|
|
2018
|
+
"categoryId",
|
|
2019
|
+
"brandId",
|
|
2020
|
+
"province",
|
|
2021
|
+
"city",
|
|
2022
|
+
"month"
|
|
2023
|
+
],
|
|
2024
|
+
"description": "The input payload for regional top-selling items."
|
|
2025
|
+
},
|
|
2026
|
+
"outputSchema": {
|
|
2027
|
+
"type": "object",
|
|
2028
|
+
"properties": {
|
|
2029
|
+
"data": {
|
|
2030
|
+
"type": "object",
|
|
2031
|
+
"properties": {},
|
|
2032
|
+
"additionalProperties": true,
|
|
2033
|
+
"description": "The provider-defined paginated regional item rows."
|
|
2034
|
+
}
|
|
2035
|
+
},
|
|
2036
|
+
"additionalProperties": false,
|
|
2037
|
+
"description": "The regional top-selling Moojing items."
|
|
2038
|
+
}
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
"id": "mktindex.list_region_hot_shops",
|
|
2042
|
+
"service": "mktindex",
|
|
2043
|
+
"name": "list_region_hot_shops",
|
|
2044
|
+
"description": "List top-selling shops within a regional Moojing market.",
|
|
2045
|
+
"operationType": "read",
|
|
2046
|
+
"requiredScopes": [],
|
|
2047
|
+
"providerPermissions": [],
|
|
2048
|
+
"inputSchema": {
|
|
2049
|
+
"type": "object",
|
|
2050
|
+
"properties": {
|
|
2051
|
+
"platform": {
|
|
2052
|
+
"type": "string",
|
|
2053
|
+
"minLength": 1,
|
|
2054
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
2055
|
+
},
|
|
2056
|
+
"categoryId": {
|
|
2057
|
+
"type": "string",
|
|
2058
|
+
"minLength": 1,
|
|
2059
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
2060
|
+
},
|
|
2061
|
+
"brandId": {
|
|
2062
|
+
"type": "string",
|
|
2063
|
+
"minLength": 1,
|
|
2064
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
2065
|
+
},
|
|
2066
|
+
"province": {
|
|
2067
|
+
"type": "string",
|
|
2068
|
+
"minLength": 1,
|
|
2069
|
+
"description": "The province name used to limit the regional market.",
|
|
2070
|
+
"pattern": "\\S"
|
|
2071
|
+
},
|
|
2072
|
+
"city": {
|
|
2073
|
+
"type": "string",
|
|
2074
|
+
"minLength": 1,
|
|
2075
|
+
"description": "The city name, or all to include every city in the province.",
|
|
2076
|
+
"pattern": "\\S"
|
|
2077
|
+
},
|
|
2078
|
+
"month": {
|
|
2079
|
+
"type": "string",
|
|
2080
|
+
"minLength": 1,
|
|
2081
|
+
"description": "The data month in YYYY-MM format.",
|
|
2082
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
2083
|
+
},
|
|
2084
|
+
"page": {
|
|
2085
|
+
"type": "integer",
|
|
2086
|
+
"minimum": 1,
|
|
2087
|
+
"description": "The one-based result page number.",
|
|
2088
|
+
"default": 1
|
|
2089
|
+
},
|
|
2090
|
+
"pageSize": {
|
|
2091
|
+
"type": "integer",
|
|
2092
|
+
"minimum": 1,
|
|
2093
|
+
"maximum": 100,
|
|
2094
|
+
"description": "The number of rows requested per page.",
|
|
2095
|
+
"default": 10
|
|
2096
|
+
},
|
|
2097
|
+
"currency": {
|
|
2098
|
+
"type": "string",
|
|
2099
|
+
"enum": [
|
|
2100
|
+
"CNY",
|
|
2101
|
+
"JPY",
|
|
2102
|
+
"GBP",
|
|
2103
|
+
"EUR",
|
|
2104
|
+
"USD"
|
|
2105
|
+
],
|
|
2106
|
+
"description": "The currency used for monetary values."
|
|
2107
|
+
}
|
|
2108
|
+
},
|
|
2109
|
+
"additionalProperties": false,
|
|
2110
|
+
"required": [
|
|
2111
|
+
"platform",
|
|
2112
|
+
"categoryId",
|
|
2113
|
+
"brandId",
|
|
2114
|
+
"province",
|
|
2115
|
+
"city",
|
|
2116
|
+
"month"
|
|
2117
|
+
],
|
|
2118
|
+
"description": "The input payload for regional top-selling shops."
|
|
2119
|
+
},
|
|
2120
|
+
"outputSchema": {
|
|
2121
|
+
"type": "object",
|
|
2122
|
+
"properties": {
|
|
2123
|
+
"data": {
|
|
2124
|
+
"type": "object",
|
|
2125
|
+
"properties": {},
|
|
2126
|
+
"additionalProperties": true,
|
|
2127
|
+
"description": "The provider-defined paginated regional shop rows."
|
|
2128
|
+
}
|
|
2129
|
+
},
|
|
2130
|
+
"additionalProperties": false,
|
|
2131
|
+
"description": "The regional top-selling Moojing shops."
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
"id": "mktindex.list_region_market_breakdown",
|
|
2136
|
+
"service": "mktindex",
|
|
2137
|
+
"name": "list_region_market_breakdown",
|
|
2138
|
+
"description": "List category, brand, or city rows within a regional Moojing market.",
|
|
2139
|
+
"operationType": "read",
|
|
2140
|
+
"requiredScopes": [],
|
|
2141
|
+
"providerPermissions": [],
|
|
2142
|
+
"inputSchema": {
|
|
2143
|
+
"type": "object",
|
|
2144
|
+
"properties": {
|
|
2145
|
+
"platform": {
|
|
2146
|
+
"type": "string",
|
|
2147
|
+
"minLength": 1,
|
|
2148
|
+
"description": "The Moojing platform ID, such as all, tmall, jd, pdd, or meituan. Supported platforms vary by endpoint and subscription."
|
|
2149
|
+
},
|
|
2150
|
+
"categoryId": {
|
|
2151
|
+
"type": "string",
|
|
2152
|
+
"minLength": 1,
|
|
2153
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
2154
|
+
},
|
|
2155
|
+
"brandId": {
|
|
2156
|
+
"type": "string",
|
|
2157
|
+
"minLength": 1,
|
|
2158
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
2159
|
+
},
|
|
2160
|
+
"province": {
|
|
2161
|
+
"type": "string",
|
|
2162
|
+
"minLength": 1,
|
|
2163
|
+
"description": "The province name used to limit the regional market.",
|
|
2164
|
+
"pattern": "\\S"
|
|
2165
|
+
},
|
|
2166
|
+
"city": {
|
|
2167
|
+
"type": "string",
|
|
2168
|
+
"minLength": 1,
|
|
2169
|
+
"description": "The city name, or all to include every city in the province.",
|
|
2170
|
+
"pattern": "\\S"
|
|
2171
|
+
},
|
|
2172
|
+
"month": {
|
|
2173
|
+
"type": "string",
|
|
2174
|
+
"minLength": 1,
|
|
2175
|
+
"description": "The data month in YYYY-MM format.",
|
|
2176
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
2177
|
+
},
|
|
2178
|
+
"dimension": {
|
|
2179
|
+
"type": "string",
|
|
2180
|
+
"enum": [
|
|
2181
|
+
"category",
|
|
2182
|
+
"brand",
|
|
2183
|
+
"city"
|
|
2184
|
+
],
|
|
2185
|
+
"description": "The dimension used to break down the regional market."
|
|
2186
|
+
},
|
|
2187
|
+
"page": {
|
|
2188
|
+
"type": "integer",
|
|
2189
|
+
"minimum": 1,
|
|
2190
|
+
"description": "The one-based result page number.",
|
|
2191
|
+
"default": 1
|
|
2192
|
+
},
|
|
2193
|
+
"pageSize": {
|
|
2194
|
+
"type": "integer",
|
|
2195
|
+
"minimum": 1,
|
|
2196
|
+
"maximum": 100,
|
|
2197
|
+
"description": "The number of rows requested per page.",
|
|
2198
|
+
"default": 10
|
|
2199
|
+
},
|
|
2200
|
+
"currency": {
|
|
2201
|
+
"type": "string",
|
|
2202
|
+
"enum": [
|
|
2203
|
+
"CNY",
|
|
2204
|
+
"JPY",
|
|
2205
|
+
"GBP",
|
|
2206
|
+
"EUR",
|
|
2207
|
+
"USD"
|
|
2208
|
+
],
|
|
2209
|
+
"description": "The currency used for monetary values."
|
|
2210
|
+
}
|
|
2211
|
+
},
|
|
2212
|
+
"additionalProperties": false,
|
|
2213
|
+
"required": [
|
|
2214
|
+
"platform",
|
|
2215
|
+
"categoryId",
|
|
2216
|
+
"brandId",
|
|
2217
|
+
"province",
|
|
2218
|
+
"city",
|
|
2219
|
+
"month",
|
|
2220
|
+
"dimension"
|
|
2221
|
+
],
|
|
2222
|
+
"description": "The input payload for a regional Moojing market breakdown."
|
|
2223
|
+
},
|
|
2224
|
+
"outputSchema": {
|
|
2225
|
+
"type": "object",
|
|
2226
|
+
"properties": {
|
|
2227
|
+
"data": {
|
|
2228
|
+
"type": "object",
|
|
2229
|
+
"properties": {},
|
|
2230
|
+
"additionalProperties": true,
|
|
2231
|
+
"description": "The provider-defined paginated regional rows."
|
|
2232
|
+
}
|
|
2233
|
+
},
|
|
2234
|
+
"additionalProperties": false,
|
|
2235
|
+
"description": "The regional Moojing market breakdown."
|
|
2236
|
+
}
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
"id": "mktindex.list_spus",
|
|
2240
|
+
"service": "mktindex",
|
|
2241
|
+
"name": "list_spus",
|
|
2242
|
+
"description": "List product models or SPUs for a Tmall category and brand in one month.",
|
|
2243
|
+
"operationType": "read",
|
|
2244
|
+
"requiredScopes": [],
|
|
2245
|
+
"providerPermissions": [],
|
|
2246
|
+
"inputSchema": {
|
|
2247
|
+
"type": "object",
|
|
2248
|
+
"properties": {
|
|
2249
|
+
"platform": {
|
|
2250
|
+
"const": "tmall",
|
|
2251
|
+
"type": "string",
|
|
2252
|
+
"description": "The Tmall platform supported by the official SPU endpoint."
|
|
2253
|
+
},
|
|
2254
|
+
"categoryId": {
|
|
2255
|
+
"type": "string",
|
|
2256
|
+
"minLength": 1,
|
|
2257
|
+
"description": "The Moojing category ID. Use 0 only when the selected endpoint supports all categories."
|
|
2258
|
+
},
|
|
2259
|
+
"brandId": {
|
|
2260
|
+
"type": "string",
|
|
2261
|
+
"minLength": 1,
|
|
2262
|
+
"description": "The Moojing brand ID. Use all to include every brand when supported."
|
|
2263
|
+
},
|
|
2264
|
+
"month": {
|
|
2265
|
+
"type": "string",
|
|
2266
|
+
"minLength": 1,
|
|
2267
|
+
"description": "The data month in YYYY-MM format.",
|
|
2268
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
|
|
2269
|
+
},
|
|
2270
|
+
"currency": {
|
|
2271
|
+
"type": "string",
|
|
2272
|
+
"enum": [
|
|
2273
|
+
"CNY",
|
|
2274
|
+
"JPY",
|
|
2275
|
+
"GBP",
|
|
2276
|
+
"EUR",
|
|
2277
|
+
"USD"
|
|
2278
|
+
],
|
|
2279
|
+
"description": "The currency used for monetary values."
|
|
2280
|
+
}
|
|
2281
|
+
},
|
|
2282
|
+
"additionalProperties": false,
|
|
2283
|
+
"required": [
|
|
2284
|
+
"platform",
|
|
2285
|
+
"categoryId",
|
|
2286
|
+
"brandId",
|
|
2287
|
+
"month"
|
|
2288
|
+
],
|
|
2289
|
+
"description": "The input payload for listing Moojing SPUs."
|
|
2290
|
+
},
|
|
2291
|
+
"outputSchema": {
|
|
2292
|
+
"type": "object",
|
|
2293
|
+
"properties": {
|
|
2294
|
+
"data": {
|
|
2295
|
+
"type": "object",
|
|
2296
|
+
"properties": {},
|
|
2297
|
+
"additionalProperties": true,
|
|
2298
|
+
"description": "The provider-defined SPU count and rows."
|
|
2299
|
+
}
|
|
2300
|
+
},
|
|
2301
|
+
"additionalProperties": false,
|
|
2302
|
+
"description": "The Moojing SPU list."
|
|
2303
|
+
}
|
|
2304
|
+
},
|
|
2305
|
+
{
|
|
2306
|
+
"id": "mktindex.list_subscriptions",
|
|
2307
|
+
"service": "mktindex",
|
|
2308
|
+
"name": "list_subscriptions",
|
|
2309
|
+
"description": "List markets subscribed to or followed by the connected Moojing account.",
|
|
2310
|
+
"operationType": "read",
|
|
2311
|
+
"requiredScopes": [],
|
|
2312
|
+
"providerPermissions": [],
|
|
2313
|
+
"inputSchema": {
|
|
2314
|
+
"type": "object",
|
|
2315
|
+
"properties": {
|
|
2316
|
+
"mode": {
|
|
2317
|
+
"type": "string",
|
|
2318
|
+
"enum": [
|
|
2319
|
+
"subscribed",
|
|
2320
|
+
"followed"
|
|
2321
|
+
],
|
|
2322
|
+
"description": "Whether to return subscribed or followed markets."
|
|
2323
|
+
},
|
|
2324
|
+
"language": {
|
|
2325
|
+
"type": "string",
|
|
2326
|
+
"enum": [
|
|
2327
|
+
"zh",
|
|
2328
|
+
"en"
|
|
2329
|
+
],
|
|
2330
|
+
"description": "The response language."
|
|
2331
|
+
}
|
|
2332
|
+
},
|
|
2333
|
+
"additionalProperties": false,
|
|
2334
|
+
"required": [
|
|
2335
|
+
"mode"
|
|
2336
|
+
],
|
|
2337
|
+
"description": "The input payload for listing subscribed or followed Moojing markets."
|
|
2338
|
+
},
|
|
2339
|
+
"outputSchema": {
|
|
2340
|
+
"type": "object",
|
|
2341
|
+
"properties": {
|
|
2342
|
+
"subscriptions": {
|
|
2343
|
+
"type": "array",
|
|
2344
|
+
"items": {
|
|
2345
|
+
"type": "object",
|
|
2346
|
+
"properties": {},
|
|
2347
|
+
"additionalProperties": true,
|
|
2348
|
+
"description": "The raw object returned by Moojing."
|
|
2349
|
+
},
|
|
2350
|
+
"description": "The subscribed or followed market records."
|
|
2351
|
+
}
|
|
2352
|
+
},
|
|
2353
|
+
"additionalProperties": false,
|
|
2354
|
+
"description": "The markets available to the connected Moojing account."
|
|
2355
|
+
}
|
|
2356
|
+
},
|
|
2357
|
+
{
|
|
2358
|
+
"id": "mktindex.search_brands",
|
|
2359
|
+
"service": "mktindex",
|
|
2360
|
+
"name": "search_brands",
|
|
2361
|
+
"description": "Search Moojing brands by keyword or stock code.",
|
|
2362
|
+
"operationType": "read",
|
|
2363
|
+
"requiredScopes": [],
|
|
2364
|
+
"providerPermissions": [],
|
|
2365
|
+
"inputSchema": {
|
|
2366
|
+
"type": "object",
|
|
2367
|
+
"properties": {
|
|
2368
|
+
"query": {
|
|
2369
|
+
"type": "string",
|
|
2370
|
+
"minLength": 1,
|
|
2371
|
+
"description": "The brand keyword or stock code to search for.",
|
|
2372
|
+
"pattern": "\\S"
|
|
2373
|
+
},
|
|
2374
|
+
"currency": {
|
|
2375
|
+
"type": "string",
|
|
2376
|
+
"enum": [
|
|
2377
|
+
"CNY",
|
|
2378
|
+
"JPY",
|
|
2379
|
+
"GBP",
|
|
2380
|
+
"EUR",
|
|
2381
|
+
"USD"
|
|
2382
|
+
],
|
|
2383
|
+
"description": "The currency used for monetary values."
|
|
2384
|
+
}
|
|
2385
|
+
},
|
|
2386
|
+
"additionalProperties": false,
|
|
2387
|
+
"required": [
|
|
2388
|
+
"query"
|
|
2389
|
+
],
|
|
2390
|
+
"description": "The input payload for searching Moojing brands."
|
|
2391
|
+
},
|
|
2392
|
+
"outputSchema": {
|
|
2393
|
+
"type": "object",
|
|
2394
|
+
"properties": {
|
|
2395
|
+
"results": {
|
|
2396
|
+
"type": "array",
|
|
2397
|
+
"items": {
|
|
2398
|
+
"type": "object",
|
|
2399
|
+
"properties": {},
|
|
2400
|
+
"additionalProperties": true,
|
|
2401
|
+
"description": "The raw object returned by Moojing."
|
|
2402
|
+
},
|
|
2403
|
+
"description": "The brand search result groups returned by Moojing."
|
|
2404
|
+
}
|
|
2405
|
+
},
|
|
2406
|
+
"additionalProperties": false,
|
|
2407
|
+
"description": "The Moojing brand search response."
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
]
|
|
2411
|
+
}
|