forked from e-dialect/hinghwa-dict-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
quiz_401.json
504 lines (504 loc) · 14 KB
/
quiz_401.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
{
"apifoxCli": "1.1.0",
"item": [
{
"item": [
{
"id": "60329444-b7c7-4e96-b735-fbe9ba1a846e",
"name": "QZ0102 增加单个测试(QZ0102 增加单个测试)",
"request": {
"url": {
"protocol": "http",
"port": "8000",
"path": [
"quizzes"
],
"host": [
"127",
"0",
"0",
"1"
],
"query": [],
"variable": []
},
"header": [
{
"key": "token",
"value": ""
},
{
"key": "User-Agent",
"value": "Apifox/1.0.0 (https://www.apifox.cn)"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"method": "POST",
"baseUrl": "http://127.0.0.1:8000",
"body": {
"mode": "raw",
"raw": "{\n \"question\": \"决物权律史增\",\n \"options\": [\n \"技目全指心为界亲她天专结农接阶心把。\",\n \"年就里织当火六按此往该响被增。\"\n ],\n \"answer\": 18,\n \"explanation\": \"标年交高之部回些们金转天做志始市。没县即级马阶采且其调方物称有目效正较。五验义选事厂对场构平现西响志水开。活白活现众三定无济实值程后三年。\",\n \"voice_source\": \"http://gpd.bi/utjwpt\"\n}",
"generateMode": "normal",
"type": "application/json"
},
"type": "http"
},
"response": [],
"event": [],
"responseDefinition": {
"id": 69812493,
"createdAt": "2022-07-15T06:52:00.000Z",
"updatedAt": "2022-07-24T10:44:24.000Z",
"deletedAt": null,
"name": "未登录",
"apiDetailId": 0,
"projectId": 404238,
"code": 401,
"contentType": "json",
"ordering": 10,
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"defaultEnable": false,
"folderId": 0,
"responseExamples": [],
"schemaDefinitions": {}
},
"requestDefinition": {
"jsonSchema": {
"$ref": "#/definitions/13080737",
"x-apifox-overrides": {}
}
},
"metaInfo": {
"httpApiId": 29662986,
"httpApiCaseId": 36683809,
"httpApiName": "QZ0102 增加单个测试",
"httpApiPath": "/quizzes",
"httpApiMethod": "post",
"httpApiCaseName": "QZ0102 增加单个测试",
"id": "372ae9e0-91fd-482c-97d3-4b137dc4e28c",
"type": "http"
},
"type": "http",
"protocolProfileBehavior": {
"useWhatWGUrlParser": false,
"disableUrlEncoding": false
}
},
{
"id": "0372976d-4026-4015-8f81-27e5a64f5126",
"name": "QZ0103 修改单个测试(QZ0103 修改单个测试)",
"request": {
"url": {
"protocol": "http",
"port": "8000",
"path": [
"quizzes",
"1"
],
"host": [
"127",
"0",
"0",
"1"
],
"query": [],
"variable": []
},
"header": [
{
"key": "token",
"value": ""
},
{
"key": "User-Agent",
"value": "Apifox/1.0.0 (https://www.apifox.cn)"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"method": "PUT",
"baseUrl": "http://127.0.0.1:8000",
"body": {
"mode": "raw",
"raw": "{\n \"quiz\": {\n \"question\": \"然张具话手建\",\n \"options\": [\n \"反得该头性技很己量些物光却。\",\n \"六况子众图入起标完积山老造路所况造。\",\n \"积社热题里边品料什西验革反。\",\n \"办两办高听群省全报因县千到第列张便识。\",\n \"始装其史联称代场产制元布我效世。\"\n ],\n \"answer\": 95,\n \"explanation\": \"能却确而下部由新需目音造声离间。极文命油问交几问接写个设千。法带龙年分满飞众叫或但子石律方争。\",\n \"voice_source\": \"http://ajqnwfwaf.io/fxgfddymr\"\n }\n}",
"generateMode": "normal",
"type": "application/json"
},
"type": "http"
},
"response": [],
"event": [],
"responseDefinition": {
"id": 69812493,
"createdAt": "2022-07-15T06:52:00.000Z",
"updatedAt": "2022-07-24T10:44:24.000Z",
"deletedAt": null,
"name": "未登录",
"apiDetailId": 0,
"projectId": 404238,
"code": 401,
"contentType": "json",
"ordering": 10,
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"defaultEnable": false,
"folderId": 0,
"responseExamples": [],
"schemaDefinitions": {}
},
"requestDefinition": {
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"x-apifox-refs": {},
"properties": {
"quiz": {
"$ref": "#/definitions/13080737",
"x-apifox-overrides": {}
}
},
"required": [
"quiz"
],
"x-apifox-orders": [
"quiz"
]
}
},
"metaInfo": {
"httpApiId": 29663120,
"httpApiCaseId": 36684893,
"httpApiName": "QZ0103 修改单个测试",
"httpApiPath": "/quizzes/{id}",
"httpApiMethod": "put",
"httpApiCaseName": "QZ0103 修改单个测试",
"id": "24b588f3-7a21-4638-908b-63e262f47523",
"type": "http"
},
"type": "http",
"protocolProfileBehavior": {
"useWhatWGUrlParser": false,
"disableUrlEncoding": false
}
},
{
"id": "3a77bd88-1141-4e9d-9b5e-e77b93b66f50",
"name": "QZ0104 删除单个测试(QZ0104 删除单个测试)",
"request": {
"url": {
"protocol": "http",
"port": "8000",
"path": [
"quizzes",
"1"
],
"host": [
"127",
"0",
"0",
"1"
],
"query": [],
"variable": []
},
"header": [
{
"key": "token",
"value": ""
},
{
"key": "User-Agent",
"value": "Apifox/1.0.0 (https://www.apifox.cn)"
}
],
"method": "DELETE",
"baseUrl": "http://127.0.0.1:8000",
"body": {},
"type": "http"
},
"response": [],
"event": [],
"responseDefinition": {
"id": 69812493,
"createdAt": "2022-07-15T06:52:00.000Z",
"updatedAt": "2022-07-24T10:44:24.000Z",
"deletedAt": null,
"name": "未登录",
"apiDetailId": 0,
"projectId": 404238,
"code": 401,
"contentType": "json",
"ordering": 10,
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"defaultEnable": false,
"folderId": 0,
"responseExamples": [],
"schemaDefinitions": {}
},
"requestDefinition": {
"jsonSchema": {}
},
"metaInfo": {
"httpApiId": 29663170,
"httpApiCaseId": 36684894,
"httpApiName": "QZ0104 删除单个测试",
"httpApiPath": "/quizzes/{id}",
"httpApiMethod": "delete",
"httpApiCaseName": "QZ0104 删除单个测试",
"id": "8e797101-e3c6-42ed-a1e3-e8d6df5dda6b",
"type": "http"
},
"type": "http",
"protocolProfileBehavior": {
"useWhatWGUrlParser": false,
"disableUrlEncoding": false
}
}
],
"name": "QZ模块 401测试"
}
],
"info": {
"name": "QZ模块 401测试"
},
"dataSchemas": {
"13080737": {
"type": "object",
"properties": {
"question": {
"type": "string",
"title": "问题",
"mock": {
"mock": "@ctitle"
}
},
"options": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@csentence"
}
},
"title": "选项"
},
"explanation": {
"type": "string",
"title": "答案解析",
"mock": {
"mock": "@cparagraph"
}
},
"answer": {
"type": "integer",
"title": "答案序号"
},
"voice_source": {
"type": "string",
"mock": {
"mock": "@url(\"http\")"
},
"title": "播报语音链接"
}
},
"x-apifox-orders": [
"question",
"options",
"answer",
"explanation",
"voice_source"
],
"required": [
"question",
"answer",
"options",
"explanation"
],
"title": "[入] quiz_update",
"name": "[入] quiz_update"
}
},
"mockRules": {
"rules": [],
"enableSystemRule": true
},
"environment": {
"id": 510825,
"name": "测试环境",
"baseUrl": "http://127.0.0.1:8000",
"baseUrls": {
"default": "http://127.0.0.1:8000"
},
"variable": {
"id": "3ce95327-950b-44b7-8d93-bbcb7b5fb041",
"name": "测试环境",
"baseUrl": "http://127.0.0.1:8000",
"baseUrls": {
"default": "http://127.0.0.1:8000"
},
"values": [
{
"type": "any",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwiaWQiOjEsImV4cCI6MTY5MTY2MzQ0Ny45MTgxMjR9.blDREsAN85taICmCPnqRuklUDBWLIsG5czFe9m3c5E8",
"key": "token",
"initialValue": ""
},
{
"type": "any",
"value": "87",
"key": "quiz_id",
"initialValue": ""
},
{
"type": "any",
"value": "",
"key": "word_id_2",
"initialValue": ""
},
{
"type": "any",
"value": "",
"key": "word_id_1",
"initialValue": ""
},
{
"type": "any",
"value": "",
"key": "token_2",
"initialValue": ""
},
{
"type": "any",
"value": "",
"key": "word_id_3",
"initialValue": ""
},
{
"type": "any",
"value": "2",
"key": "user_id",
"initialValue": ""
},
{
"type": "any",
"value": "3",
"key": "article_id",
"initialValue": ""
},
{
"type": "any",
"value": "",
"key": "comment_id_1",
"initialValue": ""
},
{
"type": "any",
"value": "",
"key": "comment_id_2",
"initialValue": ""
},
{
"type": "any",
"value": "",
"key": "like_num_2",
"initialValue": ""
},
{
"type": "any",
"value": 6,
"key": "num_pre",
"initialValue": ""
},
{
"type": "any",
"value": "7",
"key": "num_later",
"initialValue": ""
},
{
"type": "any",
"value": "2",
"key": "id",
"initialValue": "2"
},
{
"type": "any",
"value": "13",
"key": "music_id",
"initialValue": "13"
},
{
"type": "any",
"value": "undefined",
"key": "rewards_id",
"initialValue": "undefined"
},
{
"type": "any",
"value": "undefined",
"key": "title_id",
"initialValue": "undefined"
},
{
"type": "any",
"value": "SP000011",
"key": "products_id",
"initialValue": "SP000011"
},
{
"type": "any",
"value": "undefined",
"key": "order_id",
"initialValue": "undefined"
},
{
"type": "any",
"value": "JL000039",
"key": "transaction_id",
"initialValue": "JL000039"
}
]
},
"type": "normal",
"parameter": {
"header": [],
"query": [],
"body": [],
"cookie": []
}
},
"globals": {
"baseUrl": "",
"baseUrls": {},
"variable": {
"id": "298e3590-1634-4e6e-ba31-ca5206df8092",
"baseUrl": "",
"baseUrls": {},
"values": []
},
"parameter": {
"header": [],
"query": [],
"body": [],
"cookie": []
}
},
"isServerBuild": false,
"isTestFlowControl": false
}