acebase-server 1.19.2 → 1.20.0

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.
Files changed (63) hide show
  1. package/README.md +19 -33
  2. package/api-clients/thunder-client/README.md +32 -0
  3. package/api-clients/thunder-client/collection.json +1069 -0
  4. package/api-clients/thunder-client/environment.json +25 -0
  5. package/dist/cjs/auth.js +10 -7
  6. package/dist/cjs/logger.js +3 -3
  7. package/dist/cjs/middleware/user.js +6 -13
  8. package/dist/cjs/oauth-providers/facebook.js +1 -1
  9. package/dist/cjs/oauth-providers/instagram.js +1 -1
  10. package/dist/cjs/routes/auth-change-password.js +12 -9
  11. package/dist/cjs/routes/auth-reset-password.js +6 -5
  12. package/dist/cjs/routes/auth-signin.js +15 -2
  13. package/dist/cjs/routes/data-reflect.js +1 -1
  14. package/dist/cjs/routes/data-transaction.js +7 -7
  15. package/dist/cjs/routes/docs.js +1 -1
  16. package/dist/cjs/routes/meta-info.js +2 -2
  17. package/dist/cjs/routes/oauth2-signin.js +2 -2
  18. package/dist/cjs/rules.js +4 -2
  19. package/dist/cjs/sandbox.js +2 -3
  20. package/dist/cjs/server.js +5 -2
  21. package/dist/cjs/shared/admin.js +1 -2
  22. package/dist/cjs/shared/error.js +2 -1
  23. package/dist/cjs/shared/http.js +17 -0
  24. package/dist/cjs/shared/signin.js +72 -76
  25. package/dist/cjs/shared/simple-fetch.js +1 -2
  26. package/dist/cjs/shared/tokens.js +1 -1
  27. package/dist/cjs/start.js +1 -1
  28. package/dist/cjs/websocket/index.js +10 -10
  29. package/dist/cjs/websocket/socket.io.js +2 -2
  30. package/dist/esm/auth.js +10 -7
  31. package/dist/esm/middleware/user.js +6 -13
  32. package/dist/esm/oauth-providers/facebook.js +1 -1
  33. package/dist/esm/oauth-providers/instagram.js +1 -1
  34. package/dist/esm/routes/auth-change-password.js +11 -8
  35. package/dist/esm/routes/auth-reset-password.js +3 -3
  36. package/dist/esm/routes/auth-signin.js +17 -4
  37. package/dist/esm/routes/data-reflect.js +1 -1
  38. package/dist/esm/routes/docs.js +1 -1
  39. package/dist/esm/routes/meta-info.js +2 -2
  40. package/dist/esm/routes/oauth2-signin.js +2 -2
  41. package/dist/esm/rules.js +4 -2
  42. package/dist/esm/server.js +4 -1
  43. package/dist/esm/shared/error.js +1 -1
  44. package/dist/esm/shared/http.js +17 -0
  45. package/dist/esm/shared/signin.js +87 -75
  46. package/dist/esm/shared/tokens.js +1 -1
  47. package/dist/esm/start.js +1 -1
  48. package/dist/esm/websocket/socket.io.js +2 -2
  49. package/dist/types/routes/auth-change-password.d.ts +1 -0
  50. package/dist/types/rules.d.ts +1 -1
  51. package/dist/types/schema/user.d.ts +4 -0
  52. package/dist/types/settings/index.d.ts +0 -2
  53. package/dist/types/shared/clients.d.ts +0 -1
  54. package/dist/types/shared/env.d.ts +12 -11
  55. package/dist/types/shared/http.d.ts +2 -2
  56. package/dist/types/shared/password.d.ts +1 -1
  57. package/dist/types/shared/signin.d.ts +4 -6
  58. package/dist/types/shared/simple-fetch.d.ts +2 -2
  59. package/dist/types/shared/tokens.d.ts +1 -1
  60. package/package.json +10 -11
  61. package/release_notes.md +21 -2
  62. package/src/routes/auth-change-password.yaml +9 -0
  63. package/src/routes/auth-signin.yaml +2 -1
@@ -0,0 +1,1069 @@
1
+ {
2
+ "clientName": "Thunder Client",
3
+ "collectionName": "AceBase Server API",
4
+ "collectionId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
5
+ "dateExported": "2026-11-16T00:00:00.000Z",
6
+ "version": "1.4",
7
+ "ref": "collection.json",
8
+ "settings": {
9
+ "options": {
10
+ "baseUrl": "{{base_url}}"
11
+ },
12
+ "auth": {
13
+ "type": "bearer",
14
+ "bearer": "{{access_token}}"
15
+ }
16
+ },
17
+ "folders": [
18
+ {
19
+ "_id": "1a2b3c4d-5e6f-7890-abcd-111111111111",
20
+ "name": "Auth",
21
+ "containerId": "",
22
+ "created": "2026-11-12T00:00:00.000Z",
23
+ "modified": "2026-11-12T00:00:00.000Z"
24
+ },
25
+ {
26
+ "_id": "1a2b3c4d-5e6f-7890-abcd-222222222222",
27
+ "name": "Data",
28
+ "containerId": "",
29
+ "created": "2026-11-12T00:00:00.000Z",
30
+ "modified": "2026-11-12T00:00:00.000Z"
31
+ },
32
+ {
33
+ "_id": "1a2b3c4d-5e6f-7890-abcd-333333333333",
34
+ "name": "Indexes",
35
+ "containerId": "",
36
+ "created": "2026-11-12T00:00:00.000Z",
37
+ "modified": "2026-11-12T00:00:00.000Z"
38
+ },
39
+ {
40
+ "_id": "1a2b3c4d-5e6f-7890-abcd-444444444444",
41
+ "name": "Schemas",
42
+ "containerId": "",
43
+ "created": "2026-11-12T00:00:00.000Z",
44
+ "modified": "2026-11-12T00:00:00.000Z"
45
+ },
46
+ {
47
+ "_id": "1a2b3c4d-5e6f-7890-abcd-555555555555",
48
+ "name": "Sync",
49
+ "containerId": "",
50
+ "created": "2026-11-12T00:00:00.000Z",
51
+ "modified": "2026-11-12T00:00:00.000Z"
52
+ },
53
+ {
54
+ "_id": "1a2b3c4d-5e6f-7890-abcd-666666666666",
55
+ "name": "Transactions",
56
+ "containerId": "",
57
+ "created": "2026-11-12T00:00:00.000Z",
58
+ "modified": "2026-11-12T00:00:00.000Z"
59
+ },
60
+ {
61
+ "_id": "1a2b3c4d-5e6f-7890-abcd-777777777777",
62
+ "name": "Metadata",
63
+ "containerId": "",
64
+ "created": "2026-11-12T00:00:00.000Z",
65
+ "modified": "2026-11-12T00:00:00.000Z"
66
+ },
67
+ {
68
+ "_id": "1a2b3c4d-5e6f-7890-abcd-888888888888",
69
+ "name": "OAuth2",
70
+ "containerId": "",
71
+ "created": "2026-11-12T00:00:00.000Z",
72
+ "modified": "2026-11-12T00:00:00.000Z"
73
+ }
74
+ ],
75
+ "requests": [
76
+ {
77
+ "_id": "req-auth-signin-00000001",
78
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
79
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-111111111111",
80
+ "name": "Sign In",
81
+ "url": "/auth/{{dbname}}/signin",
82
+ "method": "POST",
83
+ "sortNum": 10000,
84
+ "created": "2026-11-12T00:00:00.000Z",
85
+ "modified": "2026-11-12T00:00:00.000Z",
86
+ "headers": [
87
+ {
88
+ "name": "Content-Type",
89
+ "value": "application/json",
90
+ "isEnabled": true
91
+ }
92
+ ],
93
+ "params": [],
94
+ "body": {
95
+ "type": "json",
96
+ "raw": "{\n \"method\": \"email\",\n \"email\": \"user@example.com\",\n \"password\": \"...\"\n}"
97
+ },
98
+ "auth": {
99
+ "type": "none"
100
+ },
101
+ "tests": []
102
+ },
103
+ {
104
+ "_id": "req-auth-signup-00000002",
105
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
106
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-111111111111",
107
+ "name": "Sign Up",
108
+ "url": "/auth/{{dbname}}/signup",
109
+ "method": "POST",
110
+ "sortNum": 20000,
111
+ "created": "2026-11-12T00:00:00.000Z",
112
+ "modified": "2026-11-12T00:00:00.000Z",
113
+ "headers": [
114
+ {
115
+ "name": "Content-Type",
116
+ "value": "application/json",
117
+ "isEnabled": true
118
+ }
119
+ ],
120
+ "params": [],
121
+ "body": {
122
+ "type": "json",
123
+ "raw": "{\n \"email\": \"user@example.com\",\n \"displayName\": \"Real Name\",\n \"password\": \"...\"\n}"
124
+ },
125
+ "auth": {
126
+ "type": "none"
127
+ },
128
+ "tests": []
129
+ },
130
+ {
131
+ "_id": "req-auth-signout-0000003",
132
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
133
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-111111111111",
134
+ "name": "Sign Out",
135
+ "url": "/auth/{{dbname}}/signout",
136
+ "method": "POST",
137
+ "sortNum": 30000,
138
+ "created": "2026-11-12T00:00:00.000Z",
139
+ "modified": "2026-11-12T00:00:00.000Z",
140
+ "headers": [
141
+ {
142
+ "name": "Content-Type",
143
+ "value": "application/json",
144
+ "isEnabled": true
145
+ }
146
+ ],
147
+ "params": [],
148
+ "body": {
149
+ "type": "json",
150
+ "raw": "{\n \"everywhere\": false\n}"
151
+ },
152
+ "auth": {
153
+ "type": "inherit"
154
+ },
155
+ "tests": []
156
+ },
157
+ {
158
+ "_id": "req-auth-state-00000004",
159
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
160
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-111111111111",
161
+ "name": "Auth State",
162
+ "url": "/auth/{{dbname}}/state",
163
+ "method": "GET",
164
+ "sortNum": 40000,
165
+ "created": "2026-11-12T00:00:00.000Z",
166
+ "modified": "2026-11-12T00:00:00.000Z",
167
+ "headers": [],
168
+ "params": [],
169
+ "body": {
170
+ "type": "none"
171
+ },
172
+ "auth": {
173
+ "type": "inherit"
174
+ },
175
+ "tests": []
176
+ },
177
+ {
178
+ "_id": "req-auth-changepw-00000005",
179
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
180
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-111111111111",
181
+ "name": "Change Password",
182
+ "url": "/auth/{{dbname}}/change_password",
183
+ "method": "POST",
184
+ "sortNum": 50000,
185
+ "created": "2026-11-12T00:00:00.000Z",
186
+ "modified": "2026-11-12T00:00:00.000Z",
187
+ "headers": [
188
+ {
189
+ "name": "Content-Type",
190
+ "value": "application/json",
191
+ "isEnabled": true
192
+ }
193
+ ],
194
+ "params": [],
195
+ "body": {
196
+ "type": "json",
197
+ "raw": "{\n \"uid\": \"mbwosl8h0z77i9jxhxht3uyq\",\n \"password\": \"...\",\n \"new_password\": \"...\",\n \"sign_out\": false\n}"
198
+ },
199
+ "auth": {
200
+ "type": "inherit"
201
+ },
202
+ "tests": []
203
+ },
204
+ {
205
+ "_id": "req-auth-update-00000006",
206
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
207
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-111111111111",
208
+ "name": "Update User",
209
+ "url": "/auth/{{dbname}}/update",
210
+ "method": "POST",
211
+ "sortNum": 60000,
212
+ "created": "2026-11-12T00:00:00.000Z",
213
+ "modified": "2026-11-12T00:00:00.000Z",
214
+ "headers": [
215
+ {
216
+ "name": "Content-Type",
217
+ "value": "application/json",
218
+ "isEnabled": true
219
+ }
220
+ ],
221
+ "params": [],
222
+ "body": {
223
+ "type": "json",
224
+ "raw": "{\n \"displayName\": \"Updated Name\",\n \"email\": \"newemail@example.com\"\n}"
225
+ },
226
+ "auth": {
227
+ "type": "inherit"
228
+ },
229
+ "tests": []
230
+ },
231
+ {
232
+ "_id": "req-auth-delete-00000007",
233
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
234
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-111111111111",
235
+ "name": "Delete User",
236
+ "url": "/auth/{{dbname}}/delete",
237
+ "method": "POST",
238
+ "sortNum": 70000,
239
+ "created": "2026-11-12T00:00:00.000Z",
240
+ "modified": "2026-11-12T00:00:00.000Z",
241
+ "headers": [
242
+ {
243
+ "name": "Content-Type",
244
+ "value": "application/json",
245
+ "isEnabled": true
246
+ }
247
+ ],
248
+ "params": [],
249
+ "body": {
250
+ "type": "json",
251
+ "raw": "{\n \"uid\": \"jpx0k53u0002ecr7s354c51l\"\n}"
252
+ },
253
+ "auth": {
254
+ "type": "inherit"
255
+ },
256
+ "tests": []
257
+ },
258
+ {
259
+ "_id": "req-auth-forgotpw-0000008",
260
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
261
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-111111111111",
262
+ "name": "Forgot Password",
263
+ "url": "/auth/{{dbname}}/forgot_password",
264
+ "method": "POST",
265
+ "sortNum": 80000,
266
+ "created": "2026-11-12T00:00:00.000Z",
267
+ "modified": "2026-11-12T00:00:00.000Z",
268
+ "headers": [
269
+ {
270
+ "name": "Content-Type",
271
+ "value": "application/json",
272
+ "isEnabled": true
273
+ }
274
+ ],
275
+ "params": [],
276
+ "body": {
277
+ "type": "json",
278
+ "raw": "{\n \"email\": \"user@example.com\"\n}"
279
+ },
280
+ "auth": {
281
+ "type": "none"
282
+ },
283
+ "tests": []
284
+ },
285
+ {
286
+ "_id": "req-auth-resetpw-00000009",
287
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
288
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-111111111111",
289
+ "name": "Reset Password",
290
+ "url": "/auth/{{dbname}}/reset_password",
291
+ "method": "POST",
292
+ "sortNum": 90000,
293
+ "created": "2026-11-12T00:00:00.000Z",
294
+ "modified": "2026-11-12T00:00:00.000Z",
295
+ "headers": [
296
+ {
297
+ "name": "Content-Type",
298
+ "value": "application/json",
299
+ "isEnabled": true
300
+ }
301
+ ],
302
+ "params": [],
303
+ "body": {
304
+ "type": "json",
305
+ "raw": "{\n \"code\": \"reset_code_from_email\",\n \"password\": \"...\"\n}"
306
+ },
307
+ "auth": {
308
+ "type": "none"
309
+ },
310
+ "tests": []
311
+ },
312
+ {
313
+ "_id": "req-auth-verifyemail-000010",
314
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
315
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-111111111111",
316
+ "name": "Verify Email",
317
+ "url": "/auth/{{dbname}}/verify_email",
318
+ "method": "POST",
319
+ "sortNum": 100000,
320
+ "created": "2026-11-12T00:00:00.000Z",
321
+ "modified": "2026-11-12T00:00:00.000Z",
322
+ "headers": [
323
+ {
324
+ "name": "Content-Type",
325
+ "value": "application/json",
326
+ "isEnabled": true
327
+ }
328
+ ],
329
+ "params": [],
330
+ "body": {
331
+ "type": "json",
332
+ "raw": "{\n \"code\": \"verification_code_from_email\"\n}"
333
+ },
334
+ "auth": {
335
+ "type": "none"
336
+ },
337
+ "tests": []
338
+ },
339
+ {
340
+ "_id": "req-data-get-000000011",
341
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
342
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-222222222222",
343
+ "name": "Get Data",
344
+ "url": "/data/{{dbname}}/collection/child",
345
+ "method": "GET",
346
+ "sortNum": 10000,
347
+ "created": "2026-11-12T00:00:00.000Z",
348
+ "modified": "2026-11-12T00:00:00.000Z",
349
+ "headers": [],
350
+ "params": [
351
+ {
352
+ "name": "include",
353
+ "value": "",
354
+ "isEnabled": false
355
+ },
356
+ {
357
+ "name": "exclude",
358
+ "value": "",
359
+ "isEnabled": false
360
+ },
361
+ {
362
+ "name": "child_objects",
363
+ "value": "true",
364
+ "isEnabled": false
365
+ }
366
+ ],
367
+ "body": {
368
+ "type": "none"
369
+ },
370
+ "auth": {
371
+ "type": "inherit"
372
+ },
373
+ "tests": []
374
+ },
375
+ {
376
+ "_id": "req-data-set-000000012",
377
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
378
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-222222222222",
379
+ "name": "Set Data",
380
+ "url": "/data/{{dbname}}/collection/child",
381
+ "method": "PUT",
382
+ "sortNum": 20000,
383
+ "created": "2026-11-12T00:00:00.000Z",
384
+ "modified": "2026-11-12T00:00:00.000Z",
385
+ "headers": [
386
+ {
387
+ "name": "Content-Type",
388
+ "value": "application/json",
389
+ "isEnabled": true
390
+ },
391
+ {
392
+ "name": "AceBase-Context",
393
+ "value": "{}",
394
+ "isEnabled": false
395
+ }
396
+ ],
397
+ "params": [],
398
+ "body": {
399
+ "type": "json",
400
+ "raw": "{\n \"val\": {\n \"name\": \"My item\",\n \"created\": \"2024-01-01T00:00:00Z\"\n },\n \"map\": { \"created\": \"date\" }\n}"
401
+ },
402
+ "auth": {
403
+ "type": "inherit"
404
+ },
405
+ "tests": []
406
+ },
407
+ {
408
+ "_id": "req-data-update-00000013",
409
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
410
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-222222222222",
411
+ "name": "Update Data",
412
+ "url": "/data/{{dbname}}/collection/child",
413
+ "method": "POST",
414
+ "sortNum": 30000,
415
+ "created": "2026-11-12T00:00:00.000Z",
416
+ "modified": "2026-11-12T00:00:00.000Z",
417
+ "headers": [
418
+ {
419
+ "name": "Content-Type",
420
+ "value": "application/json",
421
+ "isEnabled": true
422
+ },
423
+ {
424
+ "name": "AceBase-Context",
425
+ "value": "{}",
426
+ "isEnabled": false
427
+ }
428
+ ],
429
+ "params": [],
430
+ "body": {
431
+ "type": "json",
432
+ "raw": "{\n \"val\": {\n \"name\": \"Updated name\"\n },\n \"map\": {}\n}"
433
+ },
434
+ "auth": {
435
+ "type": "inherit"
436
+ },
437
+ "tests": []
438
+ },
439
+ {
440
+ "_id": "req-data-exists-00000014",
441
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
442
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-222222222222",
443
+ "name": "Data Exists",
444
+ "url": "/exists/{{dbname}}/collection/child",
445
+ "method": "GET",
446
+ "sortNum": 40000,
447
+ "created": "2026-11-12T00:00:00.000Z",
448
+ "modified": "2026-11-12T00:00:00.000Z",
449
+ "headers": [],
450
+ "params": [],
451
+ "body": {
452
+ "type": "none"
453
+ },
454
+ "auth": {
455
+ "type": "inherit"
456
+ },
457
+ "tests": []
458
+ },
459
+ {
460
+ "_id": "req-data-query-00000015",
461
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
462
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-222222222222",
463
+ "name": "Query Data",
464
+ "url": "/query/{{dbname}}/collection",
465
+ "method": "POST",
466
+ "sortNum": 50000,
467
+ "created": "2026-11-12T00:00:00.000Z",
468
+ "modified": "2026-11-12T00:00:00.000Z",
469
+ "headers": [
470
+ {
471
+ "name": "Content-Type",
472
+ "value": "application/json",
473
+ "isEnabled": true
474
+ }
475
+ ],
476
+ "params": [],
477
+ "body": {
478
+ "type": "json",
479
+ "raw": "{\n \"val\": {\n \"query\": {\n \"filters\": [\n { \"key\": \"title\", \"op\": \"like\", \"compare\": \"AceBase*\" }\n ],\n \"skip\": 0,\n \"take\": 10,\n \"order\": [\n { \"key\": \"rating\", \"ascending\": false }\n ]\n },\n \"options\": {\n \"snapshots\": true,\n \"include\": [\"title\", \"author\", \"rating\"]\n }\n },\n \"map\": {}\n}"
480
+ },
481
+ "auth": {
482
+ "type": "inherit"
483
+ },
484
+ "tests": []
485
+ },
486
+ {
487
+ "_id": "req-data-reflect-00000016",
488
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
489
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-222222222222",
490
+ "name": "Reflect",
491
+ "url": "/reflect/{{dbname}}/collection/child",
492
+ "method": "GET",
493
+ "sortNum": 60000,
494
+ "created": "2026-11-12T00:00:00.000Z",
495
+ "modified": "2026-11-12T00:00:00.000Z",
496
+ "headers": [],
497
+ "params": [
498
+ {
499
+ "name": "type",
500
+ "value": "info",
501
+ "isEnabled": true
502
+ },
503
+ {
504
+ "name": "include_child_count",
505
+ "value": "false",
506
+ "isEnabled": false
507
+ },
508
+ {
509
+ "name": "child_limit",
510
+ "value": "10",
511
+ "isEnabled": false
512
+ },
513
+ {
514
+ "name": "child_skip",
515
+ "value": "0",
516
+ "isEnabled": false
517
+ },
518
+ {
519
+ "name": "impersonate",
520
+ "value": "",
521
+ "isEnabled": false
522
+ }
523
+ ],
524
+ "body": {
525
+ "type": "none"
526
+ },
527
+ "auth": {
528
+ "type": "inherit"
529
+ },
530
+ "tests": []
531
+ },
532
+ {
533
+ "_id": "req-data-export-00000017",
534
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
535
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-222222222222",
536
+ "name": "Export Data",
537
+ "url": "/export/{{dbname}}/collection",
538
+ "method": "GET",
539
+ "sortNum": 70000,
540
+ "created": "2026-11-12T00:00:00.000Z",
541
+ "modified": "2026-11-12T00:00:00.000Z",
542
+ "headers": [],
543
+ "params": [
544
+ {
545
+ "name": "format",
546
+ "value": "json",
547
+ "isEnabled": true
548
+ },
549
+ {
550
+ "name": "type_safe",
551
+ "value": "1",
552
+ "isEnabled": false
553
+ }
554
+ ],
555
+ "body": {
556
+ "type": "none"
557
+ },
558
+ "auth": {
559
+ "type": "inherit"
560
+ },
561
+ "tests": []
562
+ },
563
+ {
564
+ "_id": "req-data-import-00000018",
565
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
566
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-222222222222",
567
+ "name": "Import Data",
568
+ "url": "/import/{{dbname}}/collection",
569
+ "method": "POST",
570
+ "sortNum": 80000,
571
+ "created": "2026-11-12T00:00:00.000Z",
572
+ "modified": "2026-11-12T00:00:00.000Z",
573
+ "headers": [
574
+ {
575
+ "name": "Content-Type",
576
+ "value": "text/plain",
577
+ "isEnabled": true
578
+ }
579
+ ],
580
+ "params": [
581
+ {
582
+ "name": "format",
583
+ "value": "json",
584
+ "isEnabled": true
585
+ },
586
+ {
587
+ "name": "suppress_events",
588
+ "value": "0",
589
+ "isEnabled": false
590
+ }
591
+ ],
592
+ "body": {
593
+ "type": "text",
594
+ "raw": "{\"key1\":{\"name\":\"Item 1\"},\"key2\":{\"name\":\"Item 2\"}}"
595
+ },
596
+ "auth": {
597
+ "type": "inherit"
598
+ },
599
+ "tests": []
600
+ },
601
+ {
602
+ "_id": "req-index-list-00000019",
603
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
604
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-333333333333",
605
+ "name": "List Indexes",
606
+ "url": "/index/{{dbname}}",
607
+ "method": "GET",
608
+ "sortNum": 10000,
609
+ "created": "2026-11-12T00:00:00.000Z",
610
+ "modified": "2026-11-12T00:00:00.000Z",
611
+ "headers": [],
612
+ "params": [],
613
+ "body": {
614
+ "type": "none"
615
+ },
616
+ "auth": {
617
+ "type": "inherit"
618
+ },
619
+ "tests": []
620
+ },
621
+ {
622
+ "_id": "req-index-create-00000020",
623
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
624
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-333333333333",
625
+ "name": "Create Index",
626
+ "url": "/index/{{dbname}}/create",
627
+ "method": "POST",
628
+ "sortNum": 20000,
629
+ "created": "2026-11-12T00:00:00.000Z",
630
+ "modified": "2026-11-12T00:00:00.000Z",
631
+ "headers": [
632
+ {
633
+ "name": "Content-Type",
634
+ "value": "application/json",
635
+ "isEnabled": true
636
+ }
637
+ ],
638
+ "params": [],
639
+ "body": {
640
+ "type": "json",
641
+ "raw": "{\n \"path\": \"books\",\n \"key\": \"title\",\n \"options\": {\n \"type\": \"normal\",\n \"rebuild\": false\n }\n}"
642
+ },
643
+ "auth": {
644
+ "type": "inherit"
645
+ },
646
+ "tests": []
647
+ },
648
+ {
649
+ "_id": "req-index-delete-00000021",
650
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
651
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-333333333333",
652
+ "name": "Delete Index",
653
+ "url": "/index/{{dbname}}/delete",
654
+ "method": "POST",
655
+ "sortNum": 30000,
656
+ "created": "2026-11-12T00:00:00.000Z",
657
+ "modified": "2026-11-12T00:00:00.000Z",
658
+ "headers": [
659
+ {
660
+ "name": "Content-Type",
661
+ "value": "application/json",
662
+ "isEnabled": true
663
+ }
664
+ ],
665
+ "params": [],
666
+ "body": {
667
+ "type": "json",
668
+ "raw": "{\n \"fileName\": \"index_books_title.idx\"\n}"
669
+ },
670
+ "auth": {
671
+ "type": "inherit"
672
+ },
673
+ "tests": []
674
+ },
675
+ {
676
+ "_id": "req-schema-list-00000022",
677
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
678
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-444444444444",
679
+ "name": "List Schemas",
680
+ "url": "/schema/{{dbname}}",
681
+ "method": "GET",
682
+ "sortNum": 10000,
683
+ "created": "2026-11-12T00:00:00.000Z",
684
+ "modified": "2026-11-12T00:00:00.000Z",
685
+ "headers": [],
686
+ "params": [],
687
+ "body": {
688
+ "type": "none"
689
+ },
690
+ "auth": {
691
+ "type": "inherit"
692
+ },
693
+ "tests": []
694
+ },
695
+ {
696
+ "_id": "req-schema-set-000000023",
697
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
698
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-444444444444",
699
+ "name": "Set Schema",
700
+ "url": "/schema/{{dbname}}",
701
+ "method": "POST",
702
+ "sortNum": 20000,
703
+ "created": "2026-11-12T00:00:00.000Z",
704
+ "modified": "2026-11-12T00:00:00.000Z",
705
+ "headers": [
706
+ {
707
+ "name": "Content-Type",
708
+ "value": "application/json",
709
+ "isEnabled": true
710
+ }
711
+ ],
712
+ "params": [],
713
+ "body": {
714
+ "type": "json",
715
+ "raw": "{\n \"path\": \"collection/item\",\n \"schema\": \"{ name: string, stats?: { size: number, created: Date, modified: Date } }\",\n \"warnOnly\": false\n}"
716
+ },
717
+ "auth": {
718
+ "type": "inherit"
719
+ },
720
+ "tests": []
721
+ },
722
+ {
723
+ "_id": "req-schema-get-000000024",
724
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
725
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-444444444444",
726
+ "name": "Get Schema",
727
+ "url": "/schema/{{dbname}}/collection/item",
728
+ "method": "GET",
729
+ "sortNum": 30000,
730
+ "created": "2026-11-12T00:00:00.000Z",
731
+ "modified": "2026-11-12T00:00:00.000Z",
732
+ "headers": [],
733
+ "params": [],
734
+ "body": {
735
+ "type": "none"
736
+ },
737
+ "auth": {
738
+ "type": "inherit"
739
+ },
740
+ "tests": []
741
+ },
742
+ {
743
+ "_id": "req-schema-test-00000025",
744
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
745
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-444444444444",
746
+ "name": "Test Schema",
747
+ "url": "/schema/{{dbname}}/test",
748
+ "method": "POST",
749
+ "sortNum": 40000,
750
+ "created": "2026-11-12T00:00:00.000Z",
751
+ "modified": "2026-11-12T00:00:00.000Z",
752
+ "headers": [
753
+ {
754
+ "name": "Content-Type",
755
+ "value": "application/json",
756
+ "isEnabled": true
757
+ }
758
+ ],
759
+ "params": [],
760
+ "body": {
761
+ "type": "json",
762
+ "raw": "{\n \"path\": \"collection/item\",\n \"value\": { \"val\": { \"name\": \"Test item\" }, \"map\": {} },\n \"partial\": false,\n \"schema\": \"{ name: string }\"\n}"
763
+ },
764
+ "auth": {
765
+ "type": "inherit"
766
+ },
767
+ "tests": []
768
+ },
769
+ {
770
+ "_id": "req-sync-changes-00000026",
771
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
772
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-555555555555",
773
+ "name": "Get Changes",
774
+ "url": "/sync/changes/{{dbname}}",
775
+ "method": "GET",
776
+ "sortNum": 10000,
777
+ "created": "2026-11-12T00:00:00.000Z",
778
+ "modified": "2026-11-12T00:00:00.000Z",
779
+ "headers": [],
780
+ "params": [
781
+ {
782
+ "name": "path",
783
+ "value": "collection",
784
+ "isEnabled": true
785
+ },
786
+ {
787
+ "name": "cursor",
788
+ "value": "l2a37q55000008ll8dyngkny",
789
+ "isEnabled": false
790
+ },
791
+ {
792
+ "name": "timestamp",
793
+ "value": "",
794
+ "isEnabled": false
795
+ }
796
+ ],
797
+ "body": {
798
+ "type": "none"
799
+ },
800
+ "auth": {
801
+ "type": "inherit"
802
+ },
803
+ "tests": []
804
+ },
805
+ {
806
+ "_id": "req-sync-mutations-0000027",
807
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
808
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-555555555555",
809
+ "name": "Get Mutations",
810
+ "url": "/sync/mutations/{{dbname}}",
811
+ "method": "GET",
812
+ "sortNum": 20000,
813
+ "created": "2026-11-12T00:00:00.000Z",
814
+ "modified": "2026-11-12T00:00:00.000Z",
815
+ "headers": [],
816
+ "params": [
817
+ {
818
+ "name": "path",
819
+ "value": "collection",
820
+ "isEnabled": true
821
+ },
822
+ {
823
+ "name": "cursor",
824
+ "value": "l2a37q55000008ll8dyngkny",
825
+ "isEnabled": false
826
+ },
827
+ {
828
+ "name": "timestamp",
829
+ "value": "",
830
+ "isEnabled": false
831
+ }
832
+ ],
833
+ "body": {
834
+ "type": "none"
835
+ },
836
+ "auth": {
837
+ "type": "inherit"
838
+ },
839
+ "tests": []
840
+ },
841
+ {
842
+ "_id": "req-txn-start-000000028",
843
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
844
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-666666666666",
845
+ "name": "Start Transaction",
846
+ "url": "/transaction/{{dbname}}/start",
847
+ "method": "POST",
848
+ "sortNum": 10000,
849
+ "created": "2026-11-12T00:00:00.000Z",
850
+ "modified": "2026-11-12T00:00:00.000Z",
851
+ "headers": [
852
+ {
853
+ "name": "Content-Type",
854
+ "value": "application/json",
855
+ "isEnabled": true
856
+ },
857
+ {
858
+ "name": "AceBase-Context",
859
+ "value": "{}",
860
+ "isEnabled": false
861
+ }
862
+ ],
863
+ "params": [],
864
+ "body": {
865
+ "type": "json",
866
+ "raw": "{\n \"path\": \"collection/child/property\"\n}"
867
+ },
868
+ "auth": {
869
+ "type": "inherit"
870
+ },
871
+ "tests": []
872
+ },
873
+ {
874
+ "_id": "req-txn-finish-000000029",
875
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
876
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-666666666666",
877
+ "name": "Finish Transaction",
878
+ "url": "/transaction/{{dbname}}/finish",
879
+ "method": "POST",
880
+ "sortNum": 20000,
881
+ "created": "2026-11-12T00:00:00.000Z",
882
+ "modified": "2026-11-12T00:00:00.000Z",
883
+ "headers": [
884
+ {
885
+ "name": "Content-Type",
886
+ "value": "application/json",
887
+ "isEnabled": true
888
+ }
889
+ ],
890
+ "params": [],
891
+ "body": {
892
+ "type": "json",
893
+ "raw": "{\n \"id\": \"jld2cjxh0000qzrmn831i7rn\",\n \"path\": \"collection/child/property\",\n \"value\": {\n \"val\": { \"name\": \"Updated value\" },\n \"map\": {}\n }\n}"
894
+ },
895
+ "auth": {
896
+ "type": "inherit"
897
+ },
898
+ "tests": []
899
+ },
900
+ {
901
+ "_id": "req-meta-ping-000000030",
902
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
903
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-777777777777",
904
+ "name": "Ping",
905
+ "url": "/ping/{{dbname}}",
906
+ "method": "GET",
907
+ "sortNum": 10000,
908
+ "created": "2026-11-12T00:00:00.000Z",
909
+ "modified": "2026-11-12T00:00:00.000Z",
910
+ "headers": [],
911
+ "params": [],
912
+ "body": {
913
+ "type": "none"
914
+ },
915
+ "auth": {
916
+ "type": "none"
917
+ },
918
+ "tests": []
919
+ },
920
+ {
921
+ "_id": "req-meta-info-000000031",
922
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
923
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-777777777777",
924
+ "name": "Server Info",
925
+ "url": "/info/{{dbname}}",
926
+ "method": "GET",
927
+ "sortNum": 20000,
928
+ "created": "2026-11-12T00:00:00.000Z",
929
+ "modified": "2026-11-12T00:00:00.000Z",
930
+ "headers": [],
931
+ "params": [],
932
+ "body": {
933
+ "type": "none"
934
+ },
935
+ "auth": {
936
+ "type": "inherit"
937
+ },
938
+ "tests": []
939
+ },
940
+ {
941
+ "_id": "req-meta-stats-000000032",
942
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
943
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-777777777777",
944
+ "name": "Stats",
945
+ "url": "/stats/{{dbname}}",
946
+ "method": "GET",
947
+ "sortNum": 30000,
948
+ "created": "2026-11-12T00:00:00.000Z",
949
+ "modified": "2026-11-12T00:00:00.000Z",
950
+ "headers": [],
951
+ "params": [],
952
+ "body": {
953
+ "type": "none"
954
+ },
955
+ "auth": {
956
+ "type": "inherit"
957
+ },
958
+ "tests": []
959
+ },
960
+ {
961
+ "_id": "req-oauth2-init-00000033",
962
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
963
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-888888888888",
964
+ "name": "OAuth2 Init",
965
+ "url": "/oauth2/{{dbname}}/init",
966
+ "method": "GET",
967
+ "sortNum": 10000,
968
+ "created": "2026-11-12T00:00:00.000Z",
969
+ "modified": "2026-11-12T00:00:00.000Z",
970
+ "headers": [],
971
+ "params": [
972
+ {
973
+ "name": "provider",
974
+ "value": "facebook",
975
+ "isEnabled": true
976
+ },
977
+ {
978
+ "name": "callbackUrl",
979
+ "value": "https://my.website.com/oauth2/callback",
980
+ "isEnabled": true
981
+ }
982
+ ],
983
+ "body": {
984
+ "type": "none"
985
+ },
986
+ "auth": {
987
+ "type": "inherit"
988
+ },
989
+ "tests": []
990
+ },
991
+ {
992
+ "_id": "req-oauth2-signin-0000034",
993
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
994
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-888888888888",
995
+ "name": "OAuth2 Signin Callback",
996
+ "url": "/oauth2/{{dbname}}/signin",
997
+ "method": "GET",
998
+ "sortNum": 20000,
999
+ "created": "2026-11-12T00:00:00.000Z",
1000
+ "modified": "2026-11-12T00:00:00.000Z",
1001
+ "headers": [],
1002
+ "params": [
1003
+ {
1004
+ "name": "state",
1005
+ "value": "sefwerg44tgwefvq3g4rbqewrgbqebwdfbwsergq34t",
1006
+ "isEnabled": true
1007
+ },
1008
+ {
1009
+ "name": "code",
1010
+ "value": "erfuihqrf7g3rfgh3rifhwre8f73efuh3eifh",
1011
+ "isEnabled": false
1012
+ },
1013
+ {
1014
+ "name": "error",
1015
+ "value": "canceled",
1016
+ "isEnabled": false
1017
+ },
1018
+ {
1019
+ "name": "error_reason",
1020
+ "value": "user_canceled",
1021
+ "isEnabled": false
1022
+ },
1023
+ {
1024
+ "name": "error_description",
1025
+ "value": "The user canceled the auth request",
1026
+ "isEnabled": false
1027
+ }
1028
+ ],
1029
+ "body": {
1030
+ "type": "none"
1031
+ },
1032
+ "auth": {
1033
+ "type": "none"
1034
+ },
1035
+ "tests": []
1036
+ },
1037
+ {
1038
+ "_id": "req-oauth2-refresh-0000035",
1039
+ "colId": "5a8f2b1c-3d4e-4f6a-b7c8-9d0e1f2a3b4c",
1040
+ "containerId": "1a2b3c4d-5e6f-7890-abcd-888888888888",
1041
+ "name": "OAuth2 Refresh Token",
1042
+ "url": "/oauth2/{{dbname}}/refresh",
1043
+ "method": "GET",
1044
+ "sortNum": 30000,
1045
+ "created": "2026-11-12T00:00:00.000Z",
1046
+ "modified": "2026-11-12T00:00:00.000Z",
1047
+ "headers": [],
1048
+ "params": [
1049
+ {
1050
+ "name": "provider",
1051
+ "value": "facebook",
1052
+ "isEnabled": true
1053
+ },
1054
+ {
1055
+ "name": "refresh_token",
1056
+ "value": "erfiyh3rfig3fuyb3rjfg3u7refc",
1057
+ "isEnabled": true
1058
+ }
1059
+ ],
1060
+ "body": {
1061
+ "type": "none"
1062
+ },
1063
+ "auth": {
1064
+ "type": "none"
1065
+ },
1066
+ "tests": []
1067
+ }
1068
+ ]
1069
+ }