@dyrected/knowledge 0.2.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.
@@ -0,0 +1,891 @@
1
+ [
2
+ {
3
+ "id": "GET /api/collections/media",
4
+ "method": "GET",
5
+ "path": "/api/collections/media",
6
+ "summary": "Find Media",
7
+ "tags": [
8
+ "Collections"
9
+ ],
10
+ "authenticated": true,
11
+ "parameters": [
12
+ {
13
+ "name": "limit",
14
+ "in": "query",
15
+ "required": false
16
+ },
17
+ {
18
+ "name": "page",
19
+ "in": "query",
20
+ "required": false
21
+ },
22
+ {
23
+ "name": "where",
24
+ "in": "query",
25
+ "required": false,
26
+ "description": "JSON filter"
27
+ },
28
+ {
29
+ "name": "sort",
30
+ "in": "query",
31
+ "required": false,
32
+ "description": "Sort field (e.g. -createdAt)"
33
+ }
34
+ ],
35
+ "responses": [
36
+ "200"
37
+ ]
38
+ },
39
+ {
40
+ "id": "POST /api/collections/media",
41
+ "method": "POST",
42
+ "path": "/api/collections/media",
43
+ "summary": "Create Media item",
44
+ "tags": [
45
+ "Collections"
46
+ ],
47
+ "authenticated": true,
48
+ "parameters": [],
49
+ "responses": [
50
+ "201"
51
+ ]
52
+ },
53
+ {
54
+ "id": "DELETE /api/collections/media/{id}",
55
+ "method": "DELETE",
56
+ "path": "/api/collections/media/{id}",
57
+ "summary": "Delete Media item",
58
+ "tags": [
59
+ "Collections"
60
+ ],
61
+ "authenticated": true,
62
+ "parameters": [
63
+ {
64
+ "name": "id",
65
+ "in": "path",
66
+ "required": true
67
+ }
68
+ ],
69
+ "responses": [
70
+ "204"
71
+ ]
72
+ },
73
+ {
74
+ "id": "GET /api/collections/media/{id}",
75
+ "method": "GET",
76
+ "path": "/api/collections/media/{id}",
77
+ "summary": "Get a single Media item",
78
+ "tags": [
79
+ "Collections"
80
+ ],
81
+ "authenticated": true,
82
+ "parameters": [
83
+ {
84
+ "name": "id",
85
+ "in": "path",
86
+ "required": true
87
+ }
88
+ ],
89
+ "responses": [
90
+ "200"
91
+ ]
92
+ },
93
+ {
94
+ "id": "PATCH /api/collections/media/{id}",
95
+ "method": "PATCH",
96
+ "path": "/api/collections/media/{id}",
97
+ "summary": "Update Media item",
98
+ "tags": [
99
+ "Collections"
100
+ ],
101
+ "authenticated": true,
102
+ "parameters": [
103
+ {
104
+ "name": "id",
105
+ "in": "path",
106
+ "required": true
107
+ }
108
+ ],
109
+ "responses": [
110
+ "200"
111
+ ]
112
+ },
113
+ {
114
+ "id": "DELETE /api/collections/media/delete-many",
115
+ "method": "DELETE",
116
+ "path": "/api/collections/media/delete-many",
117
+ "summary": "Delete multiple Media",
118
+ "tags": [
119
+ "Collections"
120
+ ],
121
+ "authenticated": true,
122
+ "parameters": [],
123
+ "responses": [
124
+ "200"
125
+ ]
126
+ },
127
+ {
128
+ "id": "GET /api/collections/media/media",
129
+ "method": "GET",
130
+ "path": "/api/collections/media/media",
131
+ "summary": "List Media",
132
+ "tags": [
133
+ "Media"
134
+ ],
135
+ "authenticated": true,
136
+ "parameters": [],
137
+ "responses": [
138
+ "200"
139
+ ]
140
+ },
141
+ {
142
+ "id": "POST /api/collections/media/media",
143
+ "method": "POST",
144
+ "path": "/api/collections/media/media",
145
+ "summary": "Upload Media item",
146
+ "tags": [
147
+ "Media"
148
+ ],
149
+ "authenticated": true,
150
+ "parameters": [],
151
+ "responses": [
152
+ "201"
153
+ ]
154
+ },
155
+ {
156
+ "id": "GET /api/collections/media/media/{filename}",
157
+ "method": "GET",
158
+ "path": "/api/collections/media/media/{filename}",
159
+ "summary": "Serve Media item bytes",
160
+ "tags": [
161
+ "Media"
162
+ ],
163
+ "authenticated": false,
164
+ "parameters": [
165
+ {
166
+ "name": "filename",
167
+ "in": "path",
168
+ "required": true
169
+ }
170
+ ],
171
+ "responses": [
172
+ "200",
173
+ "404"
174
+ ]
175
+ },
176
+ {
177
+ "id": "POST /api/collections/media/seed",
178
+ "method": "POST",
179
+ "path": "/api/collections/media/seed",
180
+ "summary": "Seed initial Media",
181
+ "tags": [
182
+ "Collections"
183
+ ],
184
+ "authenticated": true,
185
+ "parameters": [],
186
+ "responses": [
187
+ "200"
188
+ ]
189
+ },
190
+ {
191
+ "id": "GET /api/collections/posts",
192
+ "method": "GET",
193
+ "path": "/api/collections/posts",
194
+ "summary": "Find Posts",
195
+ "tags": [
196
+ "Collections"
197
+ ],
198
+ "authenticated": true,
199
+ "parameters": [
200
+ {
201
+ "name": "limit",
202
+ "in": "query",
203
+ "required": false
204
+ },
205
+ {
206
+ "name": "page",
207
+ "in": "query",
208
+ "required": false
209
+ },
210
+ {
211
+ "name": "where",
212
+ "in": "query",
213
+ "required": false,
214
+ "description": "JSON filter"
215
+ },
216
+ {
217
+ "name": "sort",
218
+ "in": "query",
219
+ "required": false,
220
+ "description": "Sort field (e.g. -createdAt)"
221
+ }
222
+ ],
223
+ "responses": [
224
+ "200"
225
+ ]
226
+ },
227
+ {
228
+ "id": "POST /api/collections/posts",
229
+ "method": "POST",
230
+ "path": "/api/collections/posts",
231
+ "summary": "Create Post",
232
+ "tags": [
233
+ "Collections"
234
+ ],
235
+ "authenticated": true,
236
+ "parameters": [],
237
+ "responses": [
238
+ "201"
239
+ ]
240
+ },
241
+ {
242
+ "id": "DELETE /api/collections/posts/{id}",
243
+ "method": "DELETE",
244
+ "path": "/api/collections/posts/{id}",
245
+ "summary": "Delete Post",
246
+ "tags": [
247
+ "Collections"
248
+ ],
249
+ "authenticated": true,
250
+ "parameters": [
251
+ {
252
+ "name": "id",
253
+ "in": "path",
254
+ "required": true
255
+ }
256
+ ],
257
+ "responses": [
258
+ "204"
259
+ ]
260
+ },
261
+ {
262
+ "id": "GET /api/collections/posts/{id}",
263
+ "method": "GET",
264
+ "path": "/api/collections/posts/{id}",
265
+ "summary": "Get a single Post",
266
+ "tags": [
267
+ "Collections"
268
+ ],
269
+ "authenticated": true,
270
+ "parameters": [
271
+ {
272
+ "name": "id",
273
+ "in": "path",
274
+ "required": true
275
+ }
276
+ ],
277
+ "responses": [
278
+ "200"
279
+ ]
280
+ },
281
+ {
282
+ "id": "PATCH /api/collections/posts/{id}",
283
+ "method": "PATCH",
284
+ "path": "/api/collections/posts/{id}",
285
+ "summary": "Update Post",
286
+ "tags": [
287
+ "Collections"
288
+ ],
289
+ "authenticated": true,
290
+ "parameters": [
291
+ {
292
+ "name": "id",
293
+ "in": "path",
294
+ "required": true
295
+ }
296
+ ],
297
+ "responses": [
298
+ "200"
299
+ ]
300
+ },
301
+ {
302
+ "id": "POST /api/collections/posts/{id}/transitions/{transition}",
303
+ "method": "POST",
304
+ "path": "/api/collections/posts/{id}/transitions/{transition}",
305
+ "summary": "Transition Post workflow",
306
+ "tags": [
307
+ "Workflows"
308
+ ],
309
+ "authenticated": true,
310
+ "parameters": [
311
+ {
312
+ "name": "id",
313
+ "in": "path",
314
+ "required": true
315
+ },
316
+ {
317
+ "name": "transition",
318
+ "in": "path",
319
+ "required": true
320
+ }
321
+ ],
322
+ "responses": [
323
+ "200",
324
+ "400",
325
+ "403",
326
+ "409"
327
+ ]
328
+ },
329
+ {
330
+ "id": "GET /api/collections/posts/{id}/workflow-history",
331
+ "method": "GET",
332
+ "path": "/api/collections/posts/{id}/workflow-history",
333
+ "summary": "Get Post workflow history",
334
+ "tags": [
335
+ "Workflows"
336
+ ],
337
+ "authenticated": true,
338
+ "parameters": [
339
+ {
340
+ "name": "id",
341
+ "in": "path",
342
+ "required": true
343
+ },
344
+ {
345
+ "name": "limit",
346
+ "in": "query",
347
+ "required": false
348
+ }
349
+ ],
350
+ "responses": [
351
+ "200",
352
+ "403"
353
+ ]
354
+ },
355
+ {
356
+ "id": "DELETE /api/collections/posts/delete-many",
357
+ "method": "DELETE",
358
+ "path": "/api/collections/posts/delete-many",
359
+ "summary": "Delete multiple Posts",
360
+ "tags": [
361
+ "Collections"
362
+ ],
363
+ "authenticated": true,
364
+ "parameters": [],
365
+ "responses": [
366
+ "200"
367
+ ]
368
+ },
369
+ {
370
+ "id": "POST /api/collections/posts/seed",
371
+ "method": "POST",
372
+ "path": "/api/collections/posts/seed",
373
+ "summary": "Seed initial Posts",
374
+ "tags": [
375
+ "Collections"
376
+ ],
377
+ "authenticated": true,
378
+ "parameters": [],
379
+ "responses": [
380
+ "200"
381
+ ]
382
+ },
383
+ {
384
+ "id": "GET /api/collections/users",
385
+ "method": "GET",
386
+ "path": "/api/collections/users",
387
+ "summary": "Find Users",
388
+ "tags": [
389
+ "Collections"
390
+ ],
391
+ "authenticated": true,
392
+ "parameters": [
393
+ {
394
+ "name": "limit",
395
+ "in": "query",
396
+ "required": false
397
+ },
398
+ {
399
+ "name": "page",
400
+ "in": "query",
401
+ "required": false
402
+ },
403
+ {
404
+ "name": "where",
405
+ "in": "query",
406
+ "required": false,
407
+ "description": "JSON filter"
408
+ },
409
+ {
410
+ "name": "sort",
411
+ "in": "query",
412
+ "required": false,
413
+ "description": "Sort field (e.g. -createdAt)"
414
+ }
415
+ ],
416
+ "responses": [
417
+ "200"
418
+ ]
419
+ },
420
+ {
421
+ "id": "POST /api/collections/users",
422
+ "method": "POST",
423
+ "path": "/api/collections/users",
424
+ "summary": "Create User",
425
+ "tags": [
426
+ "Collections"
427
+ ],
428
+ "authenticated": true,
429
+ "parameters": [],
430
+ "responses": [
431
+ "201"
432
+ ]
433
+ },
434
+ {
435
+ "id": "DELETE /api/collections/users/{id}",
436
+ "method": "DELETE",
437
+ "path": "/api/collections/users/{id}",
438
+ "summary": "Delete User",
439
+ "tags": [
440
+ "Collections"
441
+ ],
442
+ "authenticated": true,
443
+ "parameters": [
444
+ {
445
+ "name": "id",
446
+ "in": "path",
447
+ "required": true
448
+ }
449
+ ],
450
+ "responses": [
451
+ "204"
452
+ ]
453
+ },
454
+ {
455
+ "id": "GET /api/collections/users/{id}",
456
+ "method": "GET",
457
+ "path": "/api/collections/users/{id}",
458
+ "summary": "Get a single User",
459
+ "tags": [
460
+ "Collections"
461
+ ],
462
+ "authenticated": true,
463
+ "parameters": [
464
+ {
465
+ "name": "id",
466
+ "in": "path",
467
+ "required": true
468
+ }
469
+ ],
470
+ "responses": [
471
+ "200"
472
+ ]
473
+ },
474
+ {
475
+ "id": "PATCH /api/collections/users/{id}",
476
+ "method": "PATCH",
477
+ "path": "/api/collections/users/{id}",
478
+ "summary": "Update User",
479
+ "tags": [
480
+ "Collections"
481
+ ],
482
+ "authenticated": true,
483
+ "parameters": [
484
+ {
485
+ "name": "id",
486
+ "in": "path",
487
+ "required": true
488
+ }
489
+ ],
490
+ "responses": [
491
+ "200"
492
+ ]
493
+ },
494
+ {
495
+ "id": "POST /api/collections/users/{id}/change-password",
496
+ "method": "POST",
497
+ "path": "/api/collections/users/{id}/change-password",
498
+ "summary": "Change a User password",
499
+ "tags": [
500
+ "Authentication"
501
+ ],
502
+ "authenticated": true,
503
+ "parameters": [
504
+ {
505
+ "name": "id",
506
+ "in": "path",
507
+ "required": true
508
+ }
509
+ ],
510
+ "responses": [
511
+ "200"
512
+ ]
513
+ },
514
+ {
515
+ "id": "POST /api/collections/users/accept-invite",
516
+ "method": "POST",
517
+ "path": "/api/collections/users/accept-invite",
518
+ "summary": "Accept an invitation",
519
+ "tags": [
520
+ "Authentication"
521
+ ],
522
+ "authenticated": false,
523
+ "parameters": [],
524
+ "responses": [
525
+ "200",
526
+ "400"
527
+ ]
528
+ },
529
+ {
530
+ "id": "DELETE /api/collections/users/delete-many",
531
+ "method": "DELETE",
532
+ "path": "/api/collections/users/delete-many",
533
+ "summary": "Delete multiple Users",
534
+ "tags": [
535
+ "Collections"
536
+ ],
537
+ "authenticated": true,
538
+ "parameters": [],
539
+ "responses": [
540
+ "200"
541
+ ]
542
+ },
543
+ {
544
+ "id": "POST /api/collections/users/first-user",
545
+ "method": "POST",
546
+ "path": "/api/collections/users/first-user",
547
+ "summary": "Register the first User",
548
+ "tags": [
549
+ "Authentication"
550
+ ],
551
+ "authenticated": false,
552
+ "parameters": [],
553
+ "responses": [
554
+ "200",
555
+ "400"
556
+ ]
557
+ },
558
+ {
559
+ "id": "POST /api/collections/users/forgot-password",
560
+ "method": "POST",
561
+ "path": "/api/collections/users/forgot-password",
562
+ "summary": "Request a password reset",
563
+ "tags": [
564
+ "Authentication"
565
+ ],
566
+ "authenticated": false,
567
+ "parameters": [],
568
+ "responses": [
569
+ "200",
570
+ "400"
571
+ ]
572
+ },
573
+ {
574
+ "id": "GET /api/collections/users/init",
575
+ "method": "GET",
576
+ "path": "/api/collections/users/init",
577
+ "summary": "Get Users initialization state",
578
+ "tags": [
579
+ "Authentication"
580
+ ],
581
+ "authenticated": false,
582
+ "parameters": [],
583
+ "responses": [
584
+ "200"
585
+ ]
586
+ },
587
+ {
588
+ "id": "POST /api/collections/users/invite",
589
+ "method": "POST",
590
+ "path": "/api/collections/users/invite",
591
+ "summary": "Invite a User",
592
+ "tags": [
593
+ "Authentication"
594
+ ],
595
+ "authenticated": true,
596
+ "parameters": [],
597
+ "responses": [
598
+ "200"
599
+ ]
600
+ },
601
+ {
602
+ "id": "POST /api/collections/users/login",
603
+ "method": "POST",
604
+ "path": "/api/collections/users/login",
605
+ "summary": "Log in to Users",
606
+ "tags": [
607
+ "Authentication"
608
+ ],
609
+ "authenticated": false,
610
+ "parameters": [],
611
+ "responses": [
612
+ "200",
613
+ "401"
614
+ ]
615
+ },
616
+ {
617
+ "id": "POST /api/collections/users/logout",
618
+ "method": "POST",
619
+ "path": "/api/collections/users/logout",
620
+ "summary": "Log out of Users",
621
+ "tags": [
622
+ "Authentication"
623
+ ],
624
+ "authenticated": true,
625
+ "parameters": [],
626
+ "responses": [
627
+ "200"
628
+ ]
629
+ },
630
+ {
631
+ "id": "GET /api/collections/users/me",
632
+ "method": "GET",
633
+ "path": "/api/collections/users/me",
634
+ "summary": "Get the current User",
635
+ "tags": [
636
+ "Authentication"
637
+ ],
638
+ "authenticated": true,
639
+ "parameters": [],
640
+ "responses": [
641
+ "200"
642
+ ]
643
+ },
644
+ {
645
+ "id": "POST /api/collections/users/refresh-token",
646
+ "method": "POST",
647
+ "path": "/api/collections/users/refresh-token",
648
+ "summary": "Refresh an authentication token",
649
+ "tags": [
650
+ "Authentication"
651
+ ],
652
+ "authenticated": true,
653
+ "parameters": [],
654
+ "responses": [
655
+ "200"
656
+ ]
657
+ },
658
+ {
659
+ "id": "POST /api/collections/users/reset-password",
660
+ "method": "POST",
661
+ "path": "/api/collections/users/reset-password",
662
+ "summary": "Reset a password",
663
+ "tags": [
664
+ "Authentication"
665
+ ],
666
+ "authenticated": false,
667
+ "parameters": [],
668
+ "responses": [
669
+ "200",
670
+ "400"
671
+ ]
672
+ },
673
+ {
674
+ "id": "POST /api/collections/users/seed",
675
+ "method": "POST",
676
+ "path": "/api/collections/users/seed",
677
+ "summary": "Seed initial Users",
678
+ "tags": [
679
+ "Collections"
680
+ ],
681
+ "authenticated": true,
682
+ "parameters": [],
683
+ "responses": [
684
+ "200"
685
+ ]
686
+ },
687
+ {
688
+ "id": "GET /api/docs",
689
+ "method": "GET",
690
+ "path": "/api/docs",
691
+ "summary": "Open interactive API documentation",
692
+ "tags": [
693
+ "System"
694
+ ],
695
+ "authenticated": false,
696
+ "parameters": [],
697
+ "responses": [
698
+ "200"
699
+ ]
700
+ },
701
+ {
702
+ "id": "GET /api/dyrected/options/{collection}/{field}",
703
+ "method": "GET",
704
+ "path": "/api/dyrected/options/{collection}/{field}",
705
+ "summary": "Resolve dynamic field options",
706
+ "tags": [
707
+ "System"
708
+ ],
709
+ "authenticated": true,
710
+ "parameters": [
711
+ {
712
+ "name": "collection",
713
+ "in": "path",
714
+ "required": true
715
+ },
716
+ {
717
+ "name": "field",
718
+ "in": "path",
719
+ "required": true
720
+ }
721
+ ],
722
+ "responses": [
723
+ "200"
724
+ ]
725
+ },
726
+ {
727
+ "id": "GET /api/globals/settings",
728
+ "method": "GET",
729
+ "path": "/api/globals/settings",
730
+ "summary": "Get Site settings",
731
+ "tags": [
732
+ "Globals"
733
+ ],
734
+ "authenticated": true,
735
+ "parameters": [],
736
+ "responses": [
737
+ "200"
738
+ ]
739
+ },
740
+ {
741
+ "id": "PATCH /api/globals/settings",
742
+ "method": "PATCH",
743
+ "path": "/api/globals/settings",
744
+ "summary": "Update Site settings",
745
+ "tags": [
746
+ "Globals"
747
+ ],
748
+ "authenticated": true,
749
+ "parameters": [],
750
+ "responses": [
751
+ "200"
752
+ ]
753
+ },
754
+ {
755
+ "id": "POST /api/globals/settings/seed",
756
+ "method": "POST",
757
+ "path": "/api/globals/settings/seed",
758
+ "summary": "Seed Site settings",
759
+ "tags": [
760
+ "Globals"
761
+ ],
762
+ "authenticated": true,
763
+ "parameters": [],
764
+ "responses": [
765
+ "200"
766
+ ]
767
+ },
768
+ {
769
+ "id": "GET /api/media/{filename}",
770
+ "method": "GET",
771
+ "path": "/api/media/{filename}",
772
+ "summary": "Serve a stored file",
773
+ "tags": [
774
+ "Media"
775
+ ],
776
+ "authenticated": false,
777
+ "parameters": [
778
+ {
779
+ "name": "filename",
780
+ "in": "path",
781
+ "required": true
782
+ }
783
+ ],
784
+ "responses": [
785
+ "200",
786
+ "404"
787
+ ]
788
+ },
789
+ {
790
+ "id": "GET /api/openapi.json",
791
+ "method": "GET",
792
+ "path": "/api/openapi.json",
793
+ "summary": "Get the OpenAPI specification",
794
+ "tags": [
795
+ "System"
796
+ ],
797
+ "authenticated": false,
798
+ "parameters": [],
799
+ "responses": [
800
+ "200"
801
+ ]
802
+ },
803
+ {
804
+ "id": "GET /api/preferences/{key}",
805
+ "method": "GET",
806
+ "path": "/api/preferences/{key}",
807
+ "summary": "Get an authenticated user preference",
808
+ "tags": [
809
+ "Preferences"
810
+ ],
811
+ "authenticated": true,
812
+ "parameters": [
813
+ {
814
+ "name": "key",
815
+ "in": "path",
816
+ "required": true
817
+ }
818
+ ],
819
+ "responses": [
820
+ "200"
821
+ ]
822
+ },
823
+ {
824
+ "id": "PUT /api/preferences/{key}",
825
+ "method": "PUT",
826
+ "path": "/api/preferences/{key}",
827
+ "summary": "Set an authenticated user preference",
828
+ "tags": [
829
+ "Preferences"
830
+ ],
831
+ "authenticated": true,
832
+ "parameters": [
833
+ {
834
+ "name": "key",
835
+ "in": "path",
836
+ "required": true
837
+ }
838
+ ],
839
+ "responses": [
840
+ "200"
841
+ ]
842
+ },
843
+ {
844
+ "id": "GET /api/preview-data",
845
+ "method": "GET",
846
+ "path": "/api/preview-data",
847
+ "summary": "Resolve preview data from a token",
848
+ "tags": [
849
+ "Preview"
850
+ ],
851
+ "authenticated": false,
852
+ "parameters": [
853
+ {
854
+ "name": "token",
855
+ "in": "query",
856
+ "required": true
857
+ }
858
+ ],
859
+ "responses": [
860
+ "200"
861
+ ]
862
+ },
863
+ {
864
+ "id": "POST /api/preview-token",
865
+ "method": "POST",
866
+ "path": "/api/preview-token",
867
+ "summary": "Create a preview token",
868
+ "tags": [
869
+ "Preview"
870
+ ],
871
+ "authenticated": true,
872
+ "parameters": [],
873
+ "responses": [
874
+ "200"
875
+ ]
876
+ },
877
+ {
878
+ "id": "GET /api/schemas",
879
+ "method": "GET",
880
+ "path": "/api/schemas",
881
+ "summary": "Get the serialized Dyrected schema",
882
+ "tags": [
883
+ "System"
884
+ ],
885
+ "authenticated": false,
886
+ "parameters": [],
887
+ "responses": [
888
+ "200"
889
+ ]
890
+ }
891
+ ]