@ndla/types-backend 1.0.105 → 1.0.107

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.
@@ -1,3840 +0,0 @@
1
- export type paths = {
2
- "/myndla-api/v1/folders": {
3
- parameters: {
4
- query?: never;
5
- header?: never;
6
- path?: never;
7
- cookie?: never;
8
- };
9
- /**
10
- * Fetch top folders that belongs to a user
11
- * @description Fetch top folders that belongs to a user
12
- */
13
- get: operations["getMyndla-apiV1Folders"];
14
- put?: never;
15
- /**
16
- * Creates new folder
17
- * @description Creates new folder
18
- */
19
- post: operations["postMyndla-apiV1Folders"];
20
- delete?: never;
21
- options?: never;
22
- head?: never;
23
- patch?: never;
24
- trace?: never;
25
- };
26
- "/myndla-api/v1/folders/resources": {
27
- parameters: {
28
- query?: never;
29
- header?: never;
30
- path?: never;
31
- cookie?: never;
32
- };
33
- /**
34
- * Fetch all resources that belongs to a user
35
- * @description Fetch all resources that belongs to a user
36
- */
37
- get: operations["getMyndla-apiV1FoldersResources"];
38
- put?: never;
39
- post?: never;
40
- delete?: never;
41
- options?: never;
42
- head?: never;
43
- patch?: never;
44
- trace?: never;
45
- };
46
- "/myndla-api/v1/folders/resources/recent": {
47
- parameters: {
48
- query?: never;
49
- header?: never;
50
- path?: never;
51
- cookie?: never;
52
- };
53
- /**
54
- * Fetch the most recent favorited resource across all users
55
- * @description Fetch the most recent favorited resource across all users
56
- */
57
- get: operations["getMyndla-apiV1FoldersResourcesRecent"];
58
- put?: never;
59
- post?: never;
60
- delete?: never;
61
- options?: never;
62
- head?: never;
63
- patch?: never;
64
- trace?: never;
65
- };
66
- "/myndla-api/v1/folders/{folder-id}": {
67
- parameters: {
68
- query?: never;
69
- header?: never;
70
- path?: never;
71
- cookie?: never;
72
- };
73
- /**
74
- * Fetch a folder and all its content
75
- * @description Fetch a folder and all its content
76
- */
77
- get: operations["getMyndla-apiV1FoldersFolder-id"];
78
- put?: never;
79
- post?: never;
80
- /**
81
- * Remove folder from user folders
82
- * @description Remove folder from user folders
83
- */
84
- delete: operations["deleteMyndla-apiV1FoldersFolder-id"];
85
- options?: never;
86
- head?: never;
87
- /**
88
- * Update folder with new data
89
- * @description Update folder with new data
90
- */
91
- patch: operations["patchMyndla-apiV1FoldersFolder-id"];
92
- trace?: never;
93
- };
94
- "/myndla-api/v1/folders/resources/connections": {
95
- parameters: {
96
- query?: never;
97
- header?: never;
98
- path?: never;
99
- cookie?: never;
100
- };
101
- /**
102
- * Fetch resource connections by resource path
103
- * @description Fetch resource connections by resource path
104
- */
105
- get: operations["getMyndla-apiV1FoldersResourcesConnections"];
106
- put?: never;
107
- post?: never;
108
- delete?: never;
109
- options?: never;
110
- head?: never;
111
- patch?: never;
112
- trace?: never;
113
- };
114
- "/myndla-api/v1/folders/resources/path": {
115
- parameters: {
116
- query?: never;
117
- header?: never;
118
- path?: never;
119
- cookie?: never;
120
- };
121
- /**
122
- * Fetch resource by path
123
- * @description Fetch resource by path
124
- */
125
- get: operations["getMyndla-apiV1FoldersResourcesPath"];
126
- put?: never;
127
- post?: never;
128
- delete?: never;
129
- options?: never;
130
- head?: never;
131
- patch?: never;
132
- trace?: never;
133
- };
134
- "/myndla-api/v1/folders/resources/tags": {
135
- parameters: {
136
- query?: never;
137
- header?: never;
138
- path?: never;
139
- cookie?: never;
140
- };
141
- /**
142
- * Fetch all tags that belongs to a user
143
- * @description Fetch all tags that belongs to a user
144
- */
145
- get: operations["getMyndla-apiV1FoldersResourcesTags"];
146
- put?: never;
147
- post?: never;
148
- delete?: never;
149
- options?: never;
150
- head?: never;
151
- patch?: never;
152
- trace?: never;
153
- };
154
- "/myndla-api/v1/folders/resources/has-favorited": {
155
- parameters: {
156
- query?: never;
157
- header?: never;
158
- path?: never;
159
- cookie?: never;
160
- };
161
- /**
162
- * Check if a resource has been favorited by the user
163
- * @description Check if a resource has been favorited by the user
164
- */
165
- get: operations["getMyndla-apiV1FoldersResourcesHas-favorited"];
166
- put?: never;
167
- post?: never;
168
- delete?: never;
169
- options?: never;
170
- head?: never;
171
- patch?: never;
172
- trace?: never;
173
- };
174
- "/myndla-api/v1/folders/{folder-id}/resources": {
175
- parameters: {
176
- query?: never;
177
- header?: never;
178
- path?: never;
179
- cookie?: never;
180
- };
181
- get?: never;
182
- put?: never;
183
- /**
184
- * Creates new folder resource
185
- * @description Creates new folder resource
186
- */
187
- post: operations["postMyndla-apiV1FoldersFolder-idResources"];
188
- delete?: never;
189
- options?: never;
190
- head?: never;
191
- patch?: never;
192
- trace?: never;
193
- };
194
- "/myndla-api/v1/folders/resources/root": {
195
- parameters: {
196
- query?: never;
197
- header?: never;
198
- path?: never;
199
- cookie?: never;
200
- };
201
- /**
202
- * Fetch root resources
203
- * @description Fetch root resources
204
- */
205
- get: operations["getMyndla-apiV1FoldersResourcesRoot"];
206
- put?: never;
207
- /**
208
- * Creates a resource at root level
209
- * @description Creates a resource at root level
210
- */
211
- post: operations["postMyndla-apiV1FoldersResourcesRoot"];
212
- delete?: never;
213
- options?: never;
214
- head?: never;
215
- patch?: never;
216
- trace?: never;
217
- };
218
- "/myndla-api/v1/folders/resources/{resource-id}": {
219
- parameters: {
220
- query?: never;
221
- header?: never;
222
- path?: never;
223
- cookie?: never;
224
- };
225
- get?: never;
226
- put?: never;
227
- post?: never;
228
- delete?: never;
229
- options?: never;
230
- head?: never;
231
- /**
232
- * Updated selected resource
233
- * @description Updates selected resource
234
- */
235
- patch: operations["patchMyndla-apiV1FoldersResourcesResource-id"];
236
- trace?: never;
237
- };
238
- "/myndla-api/v1/folders/{folder-id}/resources/{resource-id}": {
239
- parameters: {
240
- query?: never;
241
- header?: never;
242
- path?: never;
243
- cookie?: never;
244
- };
245
- get?: never;
246
- put?: never;
247
- post?: never;
248
- /**
249
- * Delete selected resource
250
- * @description Delete selected resource
251
- */
252
- delete: operations["deleteMyndla-apiV1FoldersFolder-idResourcesResource-id"];
253
- options?: never;
254
- head?: never;
255
- patch?: never;
256
- trace?: never;
257
- };
258
- "/myndla-api/v1/folders/resources/root/{resource-id}": {
259
- parameters: {
260
- query?: never;
261
- header?: never;
262
- path?: never;
263
- cookie?: never;
264
- };
265
- get?: never;
266
- put?: never;
267
- post?: never;
268
- /**
269
- * Delete selected root resource
270
- * @description Delete selected root resource
271
- */
272
- delete: operations["deleteMyndla-apiV1FoldersResourcesRootResource-id"];
273
- options?: never;
274
- head?: never;
275
- patch?: never;
276
- trace?: never;
277
- };
278
- "/myndla-api/v1/folders/shared/{folder-id}": {
279
- parameters: {
280
- query?: never;
281
- header?: never;
282
- path?: never;
283
- cookie?: never;
284
- };
285
- /**
286
- * Fetch a shared folder and all its content
287
- * @description Fetch a shared folder and all its content
288
- */
289
- get: operations["getMyndla-apiV1FoldersSharedFolder-id"];
290
- put?: never;
291
- post?: never;
292
- delete?: never;
293
- options?: never;
294
- head?: never;
295
- /**
296
- * Change status for given folder and all its subfolders
297
- * @description Change status for given folder and all its subfolders
298
- */
299
- patch: operations["patchMyndla-apiV1FoldersSharedFolder-id"];
300
- trace?: never;
301
- };
302
- "/myndla-api/v1/folders/clone/{source-folder-id}": {
303
- parameters: {
304
- query?: never;
305
- header?: never;
306
- path?: never;
307
- cookie?: never;
308
- };
309
- get?: never;
310
- put?: never;
311
- /**
312
- * Creates new folder structure based on source folder structure
313
- * @description Creates new folder structure based on source folder structure
314
- */
315
- post: operations["postMyndla-apiV1FoldersCloneSource-folder-id"];
316
- delete?: never;
317
- options?: never;
318
- head?: never;
319
- patch?: never;
320
- trace?: never;
321
- };
322
- "/myndla-api/v1/folders/sort-resources/root": {
323
- parameters: {
324
- query?: never;
325
- header?: never;
326
- path?: never;
327
- cookie?: never;
328
- };
329
- get?: never;
330
- /**
331
- * Decide order of root resource ids
332
- * @description Decide order of root resource ids
333
- */
334
- put: operations["putMyndla-apiV1FoldersSort-resourcesRoot"];
335
- post?: never;
336
- delete?: never;
337
- options?: never;
338
- head?: never;
339
- patch?: never;
340
- trace?: never;
341
- };
342
- "/myndla-api/v1/folders/sort-resources/{folder-id}": {
343
- parameters: {
344
- query?: never;
345
- header?: never;
346
- path?: never;
347
- cookie?: never;
348
- };
349
- get?: never;
350
- /**
351
- * Decide order of resource ids in a folder
352
- * @description Decide order of resource ids in a folder
353
- */
354
- put: operations["putMyndla-apiV1FoldersSort-resourcesFolder-id"];
355
- post?: never;
356
- delete?: never;
357
- options?: never;
358
- head?: never;
359
- patch?: never;
360
- trace?: never;
361
- };
362
- "/myndla-api/v1/folders/sort-subfolders": {
363
- parameters: {
364
- query?: never;
365
- header?: never;
366
- path?: never;
367
- cookie?: never;
368
- };
369
- get?: never;
370
- /**
371
- * Decide order of subfolder ids in a folder
372
- * @description Decide order of subfolder ids in a folder
373
- */
374
- put: operations["putMyndla-apiV1FoldersSort-subfolders"];
375
- post?: never;
376
- delete?: never;
377
- options?: never;
378
- head?: never;
379
- patch?: never;
380
- trace?: never;
381
- };
382
- "/myndla-api/v1/folders/sort-saved": {
383
- parameters: {
384
- query?: never;
385
- header?: never;
386
- path?: never;
387
- cookie?: never;
388
- };
389
- get?: never;
390
- /**
391
- * Decide order of saved shared folders
392
- * @description Decide order of saved shared folders
393
- */
394
- put: operations["putMyndla-apiV1FoldersSort-saved"];
395
- post?: never;
396
- delete?: never;
397
- options?: never;
398
- head?: never;
399
- patch?: never;
400
- trace?: never;
401
- };
402
- "/myndla-api/v1/folders/shared/{folder-id}/save": {
403
- parameters: {
404
- query?: never;
405
- header?: never;
406
- path?: never;
407
- cookie?: never;
408
- };
409
- get?: never;
410
- put?: never;
411
- /**
412
- * Saves a shared folder
413
- * @description Saves a shared folder
414
- */
415
- post: operations["postMyndla-apiV1FoldersSharedFolder-idSave"];
416
- /**
417
- * Deletes a saved shared folder
418
- * @description Deletes a saved shared folder
419
- */
420
- delete: operations["deleteMyndla-apiV1FoldersSharedFolder-idSave"];
421
- options?: never;
422
- head?: never;
423
- patch?: never;
424
- trace?: never;
425
- };
426
- "/myndla-api/v1/robots": {
427
- parameters: {
428
- query?: never;
429
- header?: never;
430
- path?: never;
431
- cookie?: never;
432
- };
433
- /**
434
- * List out all of your own robot definitions
435
- * @description List out all of your own robot definitions
436
- */
437
- get: operations["getMyndla-apiV1Robots"];
438
- put?: never;
439
- /**
440
- * Create a new robot definition
441
- * @description Create a new robot definition
442
- */
443
- post: operations["postMyndla-apiV1Robots"];
444
- delete?: never;
445
- options?: never;
446
- head?: never;
447
- patch?: never;
448
- trace?: never;
449
- };
450
- "/myndla-api/v1/robots/{robot-id}": {
451
- parameters: {
452
- query?: never;
453
- header?: never;
454
- path?: never;
455
- cookie?: never;
456
- };
457
- /**
458
- * Get single robot definition
459
- * @description Get single robot definition
460
- */
461
- get: operations["getMyndla-apiV1RobotsRobot-id"];
462
- /**
463
- * Update a robot definition
464
- * @description Update a robot definition
465
- */
466
- put: operations["putMyndla-apiV1RobotsRobot-id"];
467
- post?: never;
468
- /**
469
- * Delete a robot definition
470
- * @description Delete a robot definition
471
- */
472
- delete: operations["deleteMyndla-apiV1RobotsRobot-id"];
473
- options?: never;
474
- head?: never;
475
- patch?: never;
476
- trace?: never;
477
- };
478
- "/myndla-api/v1/robots/{robot-id}/{robot-status}": {
479
- parameters: {
480
- query?: never;
481
- header?: never;
482
- path?: never;
483
- cookie?: never;
484
- };
485
- get?: never;
486
- /**
487
- * Update a robot definition status
488
- * @description Update a robot definition status
489
- */
490
- put: operations["putMyndla-apiV1RobotsRobot-idRobot-status"];
491
- post?: never;
492
- delete?: never;
493
- options?: never;
494
- head?: never;
495
- patch?: never;
496
- trace?: never;
497
- };
498
- "/myndla-api/v1/users": {
499
- parameters: {
500
- query?: never;
501
- header?: never;
502
- path?: never;
503
- cookie?: never;
504
- };
505
- /**
506
- * Get user data
507
- * @description Get user data
508
- */
509
- get: operations["getMyndla-apiV1Users"];
510
- put?: never;
511
- post?: never;
512
- delete?: never;
513
- options?: never;
514
- head?: never;
515
- /**
516
- * Update user data
517
- * @description Update user data
518
- */
519
- patch: operations["patchMyndla-apiV1Users"];
520
- trace?: never;
521
- };
522
- "/myndla-api/v1/users/delete-personal-data": {
523
- parameters: {
524
- query?: never;
525
- header?: never;
526
- path?: never;
527
- cookie?: never;
528
- };
529
- get?: never;
530
- put?: never;
531
- post?: never;
532
- /**
533
- * Delete all data connected to this user
534
- * @description Delete all data connected to this user
535
- */
536
- delete: operations["deleteMyndla-apiV1UsersDelete-personal-data"];
537
- options?: never;
538
- head?: never;
539
- patch?: never;
540
- trace?: never;
541
- };
542
- "/myndla-api/v1/users/export": {
543
- parameters: {
544
- query?: never;
545
- header?: never;
546
- path?: never;
547
- cookie?: never;
548
- };
549
- /**
550
- * Export all stored user-related data as a json structure
551
- * @description Export all stored user-related data as a json structure
552
- */
553
- get: operations["getMyndla-apiV1UsersExport"];
554
- put?: never;
555
- post?: never;
556
- delete?: never;
557
- options?: never;
558
- head?: never;
559
- patch?: never;
560
- trace?: never;
561
- };
562
- "/myndla-api/v1/users/import": {
563
- parameters: {
564
- query?: never;
565
- header?: never;
566
- path?: never;
567
- cookie?: never;
568
- };
569
- get?: never;
570
- put?: never;
571
- /**
572
- * Import all stored user-related data from a exported json structure
573
- * @description Import all stored user-related data from a exported json structure
574
- */
575
- post: operations["postMyndla-apiV1UsersImport"];
576
- delete?: never;
577
- options?: never;
578
- head?: never;
579
- patch?: never;
580
- trace?: never;
581
- };
582
- "/myndla-api/v1/config/{config-key}": {
583
- parameters: {
584
- query?: never;
585
- header?: never;
586
- path?: never;
587
- cookie?: never;
588
- };
589
- /**
590
- * Get db configuration by key
591
- * @description Get db configuration by key
592
- */
593
- get: operations["getMyndla-apiV1ConfigConfig-key"];
594
- put?: never;
595
- /**
596
- * Update configuration used by api.
597
- * @description Update configuration used by api.
598
- */
599
- post: operations["postMyndla-apiV1ConfigConfig-key"];
600
- delete?: never;
601
- options?: never;
602
- head?: never;
603
- patch?: never;
604
- trace?: never;
605
- };
606
- "/myndla-api/v1/stats": {
607
- parameters: {
608
- query?: never;
609
- header?: never;
610
- path?: never;
611
- cookie?: never;
612
- };
613
- /**
614
- * Get stats
615
- * @description Get stats
616
- */
617
- get: operations["getMyndla-apiV1Stats"];
618
- put?: never;
619
- post?: never;
620
- delete?: never;
621
- options?: never;
622
- head?: never;
623
- patch?: never;
624
- trace?: never;
625
- };
626
- "/myndla-api/v1/stats/favorites": {
627
- parameters: {
628
- query?: never;
629
- header?: never;
630
- path?: never;
631
- cookie?: never;
632
- };
633
- /**
634
- * Get number of favorites for favorited resources
635
- * @description Get number of favorites for favorited resources
636
- */
637
- get: operations["getMyndla-apiV1StatsFavorites"];
638
- put?: never;
639
- post?: never;
640
- delete?: never;
641
- options?: never;
642
- head?: never;
643
- patch?: never;
644
- trace?: never;
645
- };
646
- "/myndla-api/v1/stats/favorites/{resourceType}/{resourceIds}": {
647
- parameters: {
648
- query?: never;
649
- header?: never;
650
- path?: never;
651
- cookie?: never;
652
- };
653
- /**
654
- * Get folder resource favorites
655
- * @description Get folder resource favorites
656
- */
657
- get: operations["getMyndla-apiV1StatsFavoritesResourcetypeResourceids"];
658
- put?: never;
659
- post?: never;
660
- delete?: never;
661
- options?: never;
662
- head?: never;
663
- patch?: never;
664
- trace?: never;
665
- };
666
- };
667
- export type webhooks = Record<string, never>;
668
- export type components = {
669
- schemas: {
670
- /** AllErrors */
671
- AllErrors: components["schemas"]["ErrorBody"] | components["schemas"]["NotFoundWithSupportedLanguages"] | components["schemas"]["ValidationErrorBody"];
672
- /** BreadcrumbDTO */
673
- BreadcrumbDTO: {
674
- /**
675
- * Format: uuid
676
- * @description UUID of the folder
677
- */
678
- id: string;
679
- /** @description Folder name */
680
- name: string;
681
- };
682
- /**
683
- * ConfigKey
684
- * @enum {string}
685
- */
686
- ConfigKey: "MY_NDLA_WRITE_RESTRICTED";
687
- /**
688
- * ConfigMetaDTO
689
- * @description Describes configuration value.
690
- */
691
- ConfigMetaDTO: {
692
- /** @description Configuration key */
693
- key: string;
694
- /** @description Configuration value. */
695
- value: string[] | boolean;
696
- /** @description Date of when configuration was last updated */
697
- updatedAt: string;
698
- /** @description UserId of who last updated the configuration parameter. */
699
- updatedBy: string;
700
- };
701
- /**
702
- * ConfigMetaRestrictedDTO
703
- * @description Describes configuration value.
704
- */
705
- ConfigMetaRestrictedDTO: {
706
- /** @description Configuration key */
707
- key: string;
708
- /** @description Configuration value. */
709
- value: string[] | boolean;
710
- };
711
- /** ConfigMetaValueDTO */
712
- ConfigMetaValueDTO: {
713
- /** @description Value to set configuration param to. */
714
- value: string[] | boolean;
715
- };
716
- /**
717
- * CreateRobotDefinitionDTO
718
- * @description DTO for creating a new robot definition
719
- */
720
- CreateRobotDefinitionDTO: {
721
- status: components["schemas"]["RobotStatus"];
722
- /** @description DTO for robot configuration */
723
- configuration: components["schemas"]["RobotConfigurationDTO"];
724
- };
725
- /**
726
- * ErrorBody
727
- * @description Information about an error
728
- */
729
- ErrorBody: {
730
- /** @description Code stating the type of error */
731
- code: string;
732
- /** @description Description of the error */
733
- description: string;
734
- /** @description When the error occurred */
735
- occurredAt: string;
736
- /**
737
- * Format: int32
738
- * @description Numeric http status code
739
- */
740
- statusCode: number;
741
- };
742
- /** ExportedUserDataDTO */
743
- ExportedUserDataDTO: {
744
- /** @description The users data */
745
- userData: components["schemas"]["MyNDLAUserDTO"];
746
- /** @description The users folders */
747
- folders: components["schemas"]["FolderDTO"][];
748
- };
749
- /** FolderDTO */
750
- FolderDTO: {
751
- /**
752
- * Format: uuid
753
- * @description UUID of the folder
754
- */
755
- id: string;
756
- /** @description Folder name */
757
- name: string;
758
- /** @description Folder status */
759
- status: string;
760
- /**
761
- * Format: uuid
762
- * @description UUID of parent folder
763
- */
764
- parentId?: string;
765
- /** @description List of parent folders to resource */
766
- breadcrumbs: components["schemas"]["BreadcrumbDTO"][];
767
- /** @description List of subfolders */
768
- subfolders: components["schemas"]["FolderDataDTO"][];
769
- /** @description List of resources */
770
- resources: components["schemas"]["ResourceDTO"][];
771
- /**
772
- * Format: int32
773
- * @description Where the folder is sorted within its parent
774
- */
775
- rank: number;
776
- /** @description When the folder was created */
777
- created: string;
778
- /** @description When the folder was updated */
779
- updated: string;
780
- /** @description When the folder was last shared */
781
- shared?: string;
782
- /** @description Description of the folder */
783
- description?: string;
784
- owner?: components["schemas"]["OwnerDTO"];
785
- };
786
- /** FolderDataDTO */
787
- FolderDataDTO: components["schemas"]["FolderDTO"];
788
- /** FolderSortRequestDTO */
789
- FolderSortRequestDTO: {
790
- /** @description List of the children ids in sorted order, MUST be all ids */
791
- sortedIds: string[];
792
- };
793
- /**
794
- * FolderStatus
795
- * @enum {string}
796
- */
797
- FolderStatus: "private" | "shared";
798
- /**
799
- * ListOfRobotDefinitionsDTO
800
- * @description DTO for listing all robot definitions
801
- */
802
- ListOfRobotDefinitionsDTO: {
803
- robots: components["schemas"]["RobotDefinitionDTO"][];
804
- };
805
- /** Map_Long */
806
- Map_Long: {
807
- [key: string]: number;
808
- };
809
- /** Map_Map_String_Long */
810
- Map_Map_String_Long: {
811
- [key: string]: components["schemas"]["Map_Long"];
812
- };
813
- /** MyNDLAGroupDTO */
814
- MyNDLAGroupDTO: {
815
- /** @description ID of the group */
816
- id: string;
817
- /** @description Name of the group */
818
- displayName: string;
819
- /** @description Is this the primary school */
820
- isPrimarySchool: boolean;
821
- /** @description ID of parent group */
822
- parentId?: string;
823
- };
824
- /** MyNDLAUserDTO */
825
- MyNDLAUserDTO: {
826
- /**
827
- * Format: int64
828
- * @description ID of the user
829
- */
830
- id: number;
831
- /** @description FeideID of the user */
832
- feideId: string;
833
- /** @description Username of the user */
834
- username: string;
835
- /** @description Email address of the user */
836
- email: string;
837
- /** @description Name of the user */
838
- displayName: string;
839
- /** @description Favorite subjects of the user */
840
- favoriteSubjects: string[];
841
- role: components["schemas"]["UserRole"];
842
- /** @description User root organization */
843
- organization: string;
844
- /** @description User groups */
845
- groups: components["schemas"]["MyNDLAGroupDTO"][];
846
- /** @description Whether arena is explicitly enabled for the user */
847
- arenaEnabled: boolean;
848
- };
849
- /** NewFolderDTO */
850
- NewFolderDTO: {
851
- /** @description Folder name */
852
- name: string;
853
- /** @description Id of parent folder */
854
- parentId?: string;
855
- /** @description Status of the folder (private, shared) */
856
- status?: string;
857
- /** @description Description of the folder */
858
- description?: string;
859
- };
860
- /** NewResourceDTO */
861
- NewResourceDTO: {
862
- /** @description Type of the resource. (Article, Learningpath) */
863
- resourceType: components["schemas"]["ResourceType"];
864
- /** @description Relative path of this resource */
865
- path: string;
866
- /** @description List of tags */
867
- tags?: string[];
868
- /** @description The id of the resource, useful for fetching metadata for the resource */
869
- resourceId: string;
870
- };
871
- /**
872
- * NotFoundWithSupportedLanguages
873
- * @description Information about an error
874
- */
875
- NotFoundWithSupportedLanguages: {
876
- /** @description Code stating the type of error */
877
- code: string;
878
- /** @description Description of the error */
879
- description: string;
880
- /** @description When the error occurred */
881
- occurredAt: string;
882
- /** @description List of supported languages */
883
- supportedLanguages?: string[];
884
- /**
885
- * Format: int32
886
- * @description Numeric http status code
887
- */
888
- statusCode: number;
889
- };
890
- /**
891
- * OwnerDTO
892
- * @description Owner of the folder, if the owner have opted in to share their name
893
- */
894
- OwnerDTO: {
895
- /** @description Name of the owner */
896
- name: string;
897
- /**
898
- * Format: int64
899
- * @description ID of the owner
900
- */
901
- id: number;
902
- };
903
- /** ResourceConnectionDTO */
904
- ResourceConnectionDTO: {
905
- /**
906
- * Format: uuid
907
- * @description The id of the resource this connection points to
908
- */
909
- resourceId: string;
910
- /**
911
- * Format: uuid
912
- * @description The id of the folder this connection points to
913
- */
914
- folderId?: string;
915
- };
916
- /** ResourceDTO */
917
- ResourceDTO: {
918
- /**
919
- * Format: uuid
920
- * @description Unique ID of the resource
921
- */
922
- id: string;
923
- /** @description Type of the resource. (Article, Learningpath) */
924
- resourceType: components["schemas"]["ResourceType"];
925
- /** @description Relative path of this resource */
926
- path: string;
927
- /** @description When the resource was created */
928
- created: string;
929
- /** @description List of tags */
930
- tags: string[];
931
- /** @description The id of the resource, useful for fetching metadata for the resource */
932
- resourceId: string;
933
- /**
934
- * Format: int32
935
- * @description The which rank the resource appears in a sorted sequence
936
- */
937
- rank?: number;
938
- };
939
- /** ResourceStatsDTO */
940
- ResourceStatsDTO: {
941
- /** @description The type of favourited resouce */
942
- type: string;
943
- /**
944
- * Format: int64
945
- * @description The number of favourited resource
946
- */
947
- number: number;
948
- };
949
- /**
950
- * ResourceType
951
- * @enum {string}
952
- */
953
- ResourceType: "article" | "audio" | "concept" | "image" | "learningpath" | "multidisciplinary" | "topic" | "video";
954
- /** RobotConfigurationDTO */
955
- RobotConfigurationDTO: {
956
- title: string;
957
- version: string;
958
- settings: components["schemas"]["RobotSettingsDTO"];
959
- };
960
- /**
961
- * RobotDefinitionDTO
962
- * @description DTO for creating a new robot definition
963
- */
964
- RobotDefinitionDTO: {
965
- /** @description The unique identifier of the robot */
966
- id: string;
967
- /** @description The status of the robot */
968
- status: components["schemas"]["RobotStatus"];
969
- /** @description The configuration details of the robot */
970
- configuration: components["schemas"]["RobotConfigurationDTO"];
971
- /** @description The date when the robot was created */
972
- created: string;
973
- /** @description The date when the robot was last updated */
974
- updated: string;
975
- /** @description The date when the robot was shared, if applicable */
976
- shared?: string;
977
- };
978
- /**
979
- * RobotSettingsDTO
980
- * @description DTO for robot settings
981
- */
982
- RobotSettingsDTO: {
983
- name: string;
984
- systemprompt?: string;
985
- question?: string;
986
- temperature: string;
987
- model: string;
988
- };
989
- /**
990
- * RobotStatus
991
- * @enum {string}
992
- */
993
- RobotStatus: "PRIVATE" | "SHARED";
994
- /**
995
- * SingleResourceStatsDTO
996
- * @description Stats for single resource
997
- */
998
- SingleResourceStatsDTO: {
999
- /** @description The resource type */
1000
- resourceType: string;
1001
- /** @description Id of the resource */
1002
- id: string;
1003
- /**
1004
- * Format: int64
1005
- * @description The number of times the resource has been favorited
1006
- */
1007
- favourites: number;
1008
- };
1009
- /**
1010
- * StatsDTO
1011
- * @description Stats for my-ndla usage
1012
- */
1013
- StatsDTO: {
1014
- /**
1015
- * Format: int64
1016
- * @description The total number of users registered
1017
- */
1018
- numberOfUsers: number;
1019
- /**
1020
- * Format: int64
1021
- * @description The total number of created folders
1022
- */
1023
- numberOfFolders: number;
1024
- /**
1025
- * Format: int64
1026
- * @description The total number of favourited resources
1027
- */
1028
- numberOfResources: number;
1029
- /**
1030
- * Format: int64
1031
- * @description The total number of created tags
1032
- */
1033
- numberOfTags: number;
1034
- /**
1035
- * Format: int64
1036
- * @description The total number of favourited subjects
1037
- */
1038
- numberOfSubjects: number;
1039
- /**
1040
- * Format: int64
1041
- * @description The total number of shared folders
1042
- */
1043
- numberOfSharedFolders: number;
1044
- /**
1045
- * Format: int64
1046
- * @description The total number of learning paths in My NDLA
1047
- */
1048
- numberOfMyNdlaLearningPaths: number;
1049
- /** @description Stats for type resources */
1050
- favouritedResources: components["schemas"]["ResourceStatsDTO"][];
1051
- /** @description Stats for favourited resources */
1052
- favourited: components["schemas"]["Map_Long"];
1053
- users: components["schemas"]["UserStatsDTO"];
1054
- };
1055
- /** UpdatedFolderDTO */
1056
- UpdatedFolderDTO: {
1057
- /** @description Id of parent folder */
1058
- parentId?: string | null;
1059
- /** @description Folder name */
1060
- name?: string;
1061
- /** @description Status of the folder (private, shared) */
1062
- status?: string;
1063
- /** @description Description of the folder */
1064
- description?: string;
1065
- };
1066
- /** UpdatedMyNDLAUserDTO */
1067
- UpdatedMyNDLAUserDTO: {
1068
- /** @description Favorite subjects of the user */
1069
- favoriteSubjects?: string[];
1070
- /** @description Whether arena should explicitly be enabled for the user */
1071
- arenaEnabled?: boolean;
1072
- };
1073
- /** UpdatedResourceDTO */
1074
- UpdatedResourceDTO: {
1075
- /** @description List of tags */
1076
- tags?: string[];
1077
- /** @description The id of the resource, useful for fetching metadata for the resource */
1078
- resourceId?: string;
1079
- };
1080
- /**
1081
- * UserFolderDTO
1082
- * @description User folder data
1083
- */
1084
- UserFolderDTO: {
1085
- /** @description The users own folders */
1086
- folders: components["schemas"]["FolderDTO"][];
1087
- /** @description The shared folder the user has saved */
1088
- sharedFolders: components["schemas"]["FolderDTO"][];
1089
- };
1090
- /**
1091
- * UserRole
1092
- * @description User role
1093
- * @enum {string}
1094
- */
1095
- UserRole: "employee" | "student";
1096
- /**
1097
- * UserStatsDTO
1098
- * @description Stats for the users
1099
- */
1100
- UserStatsDTO: {
1101
- /**
1102
- * Format: int64
1103
- * @description The total number of users
1104
- */
1105
- total: number;
1106
- /**
1107
- * Format: int64
1108
- * @description The number of employees
1109
- */
1110
- employees: number;
1111
- /**
1112
- * Format: int64
1113
- * @description The number of students
1114
- */
1115
- students: number;
1116
- /**
1117
- * Format: int64
1118
- * @description The number of users with favourites
1119
- */
1120
- withFavourites: number;
1121
- /**
1122
- * Format: int64
1123
- * @description The number of users with no favourites
1124
- */
1125
- noFavourites: number;
1126
- /**
1127
- * Format: int64
1128
- * @description The number of users with learningpaths
1129
- */
1130
- withLearningpaths: number;
1131
- /**
1132
- * Format: int64
1133
- * @description The number of users in the arena
1134
- */
1135
- arena: number;
1136
- };
1137
- /**
1138
- * ValidationErrorBody
1139
- * @description Information about an error
1140
- */
1141
- ValidationErrorBody: {
1142
- /** @description Code stating the type of error */
1143
- code: string;
1144
- /** @description Description of the error */
1145
- description: string;
1146
- /** @description When the error occurred */
1147
- occurredAt: string;
1148
- /** @description List of validation messages */
1149
- messages?: components["schemas"]["ValidationMessage"][];
1150
- /**
1151
- * Format: int32
1152
- * @description Numeric http status code
1153
- */
1154
- statusCode: number;
1155
- };
1156
- /**
1157
- * ValidationMessage
1158
- * @description A message describing a validation error on a specific field
1159
- */
1160
- ValidationMessage: {
1161
- /** @description The field the error occured in */
1162
- field: string;
1163
- /** @description The validation message */
1164
- message: string;
1165
- };
1166
- };
1167
- responses: never;
1168
- parameters: never;
1169
- requestBodies: never;
1170
- headers: never;
1171
- pathItems: never;
1172
- };
1173
- export type $defs = Record<string, never>;
1174
- export interface operations {
1175
- "getMyndla-apiV1Folders": {
1176
- parameters: {
1177
- query?: {
1178
- /** @description Choose if resources should be included in the response */
1179
- "include-resources"?: boolean;
1180
- /** @description Choose if sub-folders should be included in the response */
1181
- "include-subfolders"?: boolean;
1182
- };
1183
- header?: never;
1184
- path?: never;
1185
- cookie?: never;
1186
- };
1187
- requestBody?: never;
1188
- responses: {
1189
- 200: {
1190
- headers: {
1191
- [name: string]: unknown;
1192
- };
1193
- content: {
1194
- "application/json": components["schemas"]["UserFolderDTO"];
1195
- };
1196
- };
1197
- 400: {
1198
- headers: {
1199
- [name: string]: unknown;
1200
- };
1201
- content: {
1202
- "application/json": components["schemas"]["AllErrors"];
1203
- };
1204
- };
1205
- 401: {
1206
- headers: {
1207
- [name: string]: unknown;
1208
- };
1209
- content: {
1210
- "application/json": components["schemas"]["AllErrors"];
1211
- };
1212
- };
1213
- 403: {
1214
- headers: {
1215
- [name: string]: unknown;
1216
- };
1217
- content: {
1218
- "application/json": components["schemas"]["AllErrors"];
1219
- };
1220
- };
1221
- 404: {
1222
- headers: {
1223
- [name: string]: unknown;
1224
- };
1225
- content: {
1226
- "application/json": components["schemas"]["AllErrors"];
1227
- };
1228
- };
1229
- 500: {
1230
- headers: {
1231
- [name: string]: unknown;
1232
- };
1233
- content: {
1234
- "application/json": components["schemas"]["ErrorBody"];
1235
- };
1236
- };
1237
- };
1238
- };
1239
- "postMyndla-apiV1Folders": {
1240
- parameters: {
1241
- query?: never;
1242
- header?: never;
1243
- path?: never;
1244
- cookie?: never;
1245
- };
1246
- requestBody: {
1247
- content: {
1248
- "application/json": components["schemas"]["NewFolderDTO"];
1249
- };
1250
- };
1251
- responses: {
1252
- 200: {
1253
- headers: {
1254
- [name: string]: unknown;
1255
- };
1256
- content: {
1257
- "application/json": components["schemas"]["FolderDTO"];
1258
- };
1259
- };
1260
- 400: {
1261
- headers: {
1262
- [name: string]: unknown;
1263
- };
1264
- content: {
1265
- "application/json": components["schemas"]["AllErrors"];
1266
- };
1267
- };
1268
- 401: {
1269
- headers: {
1270
- [name: string]: unknown;
1271
- };
1272
- content: {
1273
- "application/json": components["schemas"]["AllErrors"];
1274
- };
1275
- };
1276
- 403: {
1277
- headers: {
1278
- [name: string]: unknown;
1279
- };
1280
- content: {
1281
- "application/json": components["schemas"]["AllErrors"];
1282
- };
1283
- };
1284
- 404: {
1285
- headers: {
1286
- [name: string]: unknown;
1287
- };
1288
- content: {
1289
- "application/json": components["schemas"]["AllErrors"];
1290
- };
1291
- };
1292
- 500: {
1293
- headers: {
1294
- [name: string]: unknown;
1295
- };
1296
- content: {
1297
- "application/json": components["schemas"]["ErrorBody"];
1298
- };
1299
- };
1300
- };
1301
- };
1302
- "getMyndla-apiV1FoldersResources": {
1303
- parameters: {
1304
- query?: {
1305
- /** @description Limit the number of results to this many elements */
1306
- size?: number;
1307
- };
1308
- header?: never;
1309
- path?: never;
1310
- cookie?: never;
1311
- };
1312
- requestBody?: never;
1313
- responses: {
1314
- 200: {
1315
- headers: {
1316
- [name: string]: unknown;
1317
- };
1318
- content: {
1319
- "application/json": components["schemas"]["ResourceDTO"][];
1320
- };
1321
- };
1322
- 400: {
1323
- headers: {
1324
- [name: string]: unknown;
1325
- };
1326
- content: {
1327
- "application/json": components["schemas"]["AllErrors"];
1328
- };
1329
- };
1330
- 401: {
1331
- headers: {
1332
- [name: string]: unknown;
1333
- };
1334
- content: {
1335
- "application/json": components["schemas"]["AllErrors"];
1336
- };
1337
- };
1338
- 403: {
1339
- headers: {
1340
- [name: string]: unknown;
1341
- };
1342
- content: {
1343
- "application/json": components["schemas"]["AllErrors"];
1344
- };
1345
- };
1346
- 404: {
1347
- headers: {
1348
- [name: string]: unknown;
1349
- };
1350
- content: {
1351
- "application/json": components["schemas"]["AllErrors"];
1352
- };
1353
- };
1354
- 500: {
1355
- headers: {
1356
- [name: string]: unknown;
1357
- };
1358
- content: {
1359
- "application/json": components["schemas"]["ErrorBody"];
1360
- };
1361
- };
1362
- };
1363
- };
1364
- "getMyndla-apiV1FoldersResourcesRecent": {
1365
- parameters: {
1366
- query?: {
1367
- /** @description How many latest favorited resources to return */
1368
- size?: number;
1369
- /** @description Which resource types to exclude. If None all resource types are included. To provide multiple resource types, separate by comma (,). */
1370
- exclude?: components["schemas"]["ResourceType"][];
1371
- };
1372
- header?: never;
1373
- path?: never;
1374
- cookie?: never;
1375
- };
1376
- requestBody?: never;
1377
- responses: {
1378
- 200: {
1379
- headers: {
1380
- [name: string]: unknown;
1381
- };
1382
- content: {
1383
- "application/json": components["schemas"]["ResourceDTO"][];
1384
- };
1385
- };
1386
- 400: {
1387
- headers: {
1388
- [name: string]: unknown;
1389
- };
1390
- content: {
1391
- "application/json": components["schemas"]["AllErrors"];
1392
- };
1393
- };
1394
- 401: {
1395
- headers: {
1396
- [name: string]: unknown;
1397
- };
1398
- content: {
1399
- "application/json": components["schemas"]["AllErrors"];
1400
- };
1401
- };
1402
- 403: {
1403
- headers: {
1404
- [name: string]: unknown;
1405
- };
1406
- content: {
1407
- "application/json": components["schemas"]["AllErrors"];
1408
- };
1409
- };
1410
- 404: {
1411
- headers: {
1412
- [name: string]: unknown;
1413
- };
1414
- content: {
1415
- "application/json": components["schemas"]["AllErrors"];
1416
- };
1417
- };
1418
- 500: {
1419
- headers: {
1420
- [name: string]: unknown;
1421
- };
1422
- content: {
1423
- "application/json": components["schemas"]["ErrorBody"];
1424
- };
1425
- };
1426
- };
1427
- };
1428
- "getMyndla-apiV1FoldersFolder-id": {
1429
- parameters: {
1430
- query?: {
1431
- /** @description Choose if resources should be included in the response */
1432
- "include-resources"?: boolean;
1433
- /** @description Choose if sub-folders should be included in the response */
1434
- "include-subfolders"?: boolean;
1435
- };
1436
- header?: never;
1437
- path: {
1438
- /** @description The UUID of the folder */
1439
- "folder-id": string;
1440
- };
1441
- cookie?: never;
1442
- };
1443
- requestBody?: never;
1444
- responses: {
1445
- 200: {
1446
- headers: {
1447
- [name: string]: unknown;
1448
- };
1449
- content: {
1450
- "application/json": components["schemas"]["FolderDTO"];
1451
- };
1452
- };
1453
- 400: {
1454
- headers: {
1455
- [name: string]: unknown;
1456
- };
1457
- content: {
1458
- "application/json": components["schemas"]["AllErrors"];
1459
- };
1460
- };
1461
- 401: {
1462
- headers: {
1463
- [name: string]: unknown;
1464
- };
1465
- content: {
1466
- "application/json": components["schemas"]["AllErrors"];
1467
- };
1468
- };
1469
- 403: {
1470
- headers: {
1471
- [name: string]: unknown;
1472
- };
1473
- content: {
1474
- "application/json": components["schemas"]["AllErrors"];
1475
- };
1476
- };
1477
- 404: {
1478
- headers: {
1479
- [name: string]: unknown;
1480
- };
1481
- content: {
1482
- "application/json": components["schemas"]["AllErrors"];
1483
- };
1484
- };
1485
- 500: {
1486
- headers: {
1487
- [name: string]: unknown;
1488
- };
1489
- content: {
1490
- "application/json": components["schemas"]["ErrorBody"];
1491
- };
1492
- };
1493
- };
1494
- };
1495
- "deleteMyndla-apiV1FoldersFolder-id": {
1496
- parameters: {
1497
- query?: never;
1498
- header?: never;
1499
- path: {
1500
- /** @description The UUID of the folder */
1501
- "folder-id": string;
1502
- };
1503
- cookie?: never;
1504
- };
1505
- requestBody?: never;
1506
- responses: {
1507
- 204: {
1508
- headers: {
1509
- [name: string]: unknown;
1510
- };
1511
- content?: never;
1512
- };
1513
- 400: {
1514
- headers: {
1515
- [name: string]: unknown;
1516
- };
1517
- content: {
1518
- "application/json": components["schemas"]["AllErrors"];
1519
- };
1520
- };
1521
- 401: {
1522
- headers: {
1523
- [name: string]: unknown;
1524
- };
1525
- content: {
1526
- "application/json": components["schemas"]["AllErrors"];
1527
- };
1528
- };
1529
- 403: {
1530
- headers: {
1531
- [name: string]: unknown;
1532
- };
1533
- content: {
1534
- "application/json": components["schemas"]["AllErrors"];
1535
- };
1536
- };
1537
- 404: {
1538
- headers: {
1539
- [name: string]: unknown;
1540
- };
1541
- content: {
1542
- "application/json": components["schemas"]["AllErrors"];
1543
- };
1544
- };
1545
- 500: {
1546
- headers: {
1547
- [name: string]: unknown;
1548
- };
1549
- content: {
1550
- "application/json": components["schemas"]["ErrorBody"];
1551
- };
1552
- };
1553
- };
1554
- };
1555
- "patchMyndla-apiV1FoldersFolder-id": {
1556
- parameters: {
1557
- query?: never;
1558
- header?: never;
1559
- path: {
1560
- /** @description The UUID of the folder */
1561
- "folder-id": string;
1562
- };
1563
- cookie?: never;
1564
- };
1565
- requestBody: {
1566
- content: {
1567
- "application/json": components["schemas"]["UpdatedFolderDTO"];
1568
- };
1569
- };
1570
- responses: {
1571
- 200: {
1572
- headers: {
1573
- [name: string]: unknown;
1574
- };
1575
- content: {
1576
- "application/json": components["schemas"]["FolderDTO"];
1577
- };
1578
- };
1579
- 400: {
1580
- headers: {
1581
- [name: string]: unknown;
1582
- };
1583
- content: {
1584
- "application/json": components["schemas"]["AllErrors"];
1585
- };
1586
- };
1587
- 401: {
1588
- headers: {
1589
- [name: string]: unknown;
1590
- };
1591
- content: {
1592
- "application/json": components["schemas"]["AllErrors"];
1593
- };
1594
- };
1595
- 403: {
1596
- headers: {
1597
- [name: string]: unknown;
1598
- };
1599
- content: {
1600
- "application/json": components["schemas"]["AllErrors"];
1601
- };
1602
- };
1603
- 404: {
1604
- headers: {
1605
- [name: string]: unknown;
1606
- };
1607
- content: {
1608
- "application/json": components["schemas"]["AllErrors"];
1609
- };
1610
- };
1611
- 500: {
1612
- headers: {
1613
- [name: string]: unknown;
1614
- };
1615
- content: {
1616
- "application/json": components["schemas"]["ErrorBody"];
1617
- };
1618
- };
1619
- };
1620
- };
1621
- "getMyndla-apiV1FoldersResourcesConnections": {
1622
- parameters: {
1623
- query: {
1624
- /** @description The path of the resource to check */
1625
- path: string;
1626
- };
1627
- header?: never;
1628
- path?: never;
1629
- cookie?: never;
1630
- };
1631
- requestBody?: never;
1632
- responses: {
1633
- 200: {
1634
- headers: {
1635
- [name: string]: unknown;
1636
- };
1637
- content: {
1638
- "application/json": components["schemas"]["ResourceConnectionDTO"][];
1639
- };
1640
- };
1641
- 400: {
1642
- headers: {
1643
- [name: string]: unknown;
1644
- };
1645
- content: {
1646
- "application/json": components["schemas"]["AllErrors"];
1647
- };
1648
- };
1649
- 401: {
1650
- headers: {
1651
- [name: string]: unknown;
1652
- };
1653
- content: {
1654
- "application/json": components["schemas"]["AllErrors"];
1655
- };
1656
- };
1657
- 403: {
1658
- headers: {
1659
- [name: string]: unknown;
1660
- };
1661
- content: {
1662
- "application/json": components["schemas"]["AllErrors"];
1663
- };
1664
- };
1665
- 404: {
1666
- headers: {
1667
- [name: string]: unknown;
1668
- };
1669
- content: {
1670
- "application/json": components["schemas"]["AllErrors"];
1671
- };
1672
- };
1673
- 500: {
1674
- headers: {
1675
- [name: string]: unknown;
1676
- };
1677
- content: {
1678
- "application/json": components["schemas"]["ErrorBody"];
1679
- };
1680
- };
1681
- 502: {
1682
- headers: {
1683
- [name: string]: unknown;
1684
- };
1685
- content: {
1686
- "application/json": components["schemas"]["AllErrors"];
1687
- };
1688
- };
1689
- };
1690
- };
1691
- "getMyndla-apiV1FoldersResourcesPath": {
1692
- parameters: {
1693
- query: {
1694
- /** @description The path of the resource to check */
1695
- path: string;
1696
- };
1697
- header?: never;
1698
- path?: never;
1699
- cookie?: never;
1700
- };
1701
- requestBody?: never;
1702
- responses: {
1703
- 200: {
1704
- headers: {
1705
- [name: string]: unknown;
1706
- };
1707
- content: {
1708
- "application/json": components["schemas"]["ResourceDTO"];
1709
- };
1710
- };
1711
- 400: {
1712
- headers: {
1713
- [name: string]: unknown;
1714
- };
1715
- content: {
1716
- "application/json": components["schemas"]["AllErrors"];
1717
- };
1718
- };
1719
- 401: {
1720
- headers: {
1721
- [name: string]: unknown;
1722
- };
1723
- content: {
1724
- "application/json": components["schemas"]["AllErrors"];
1725
- };
1726
- };
1727
- 403: {
1728
- headers: {
1729
- [name: string]: unknown;
1730
- };
1731
- content: {
1732
- "application/json": components["schemas"]["AllErrors"];
1733
- };
1734
- };
1735
- 404: {
1736
- headers: {
1737
- [name: string]: unknown;
1738
- };
1739
- content: {
1740
- "application/json": components["schemas"]["AllErrors"];
1741
- };
1742
- };
1743
- 500: {
1744
- headers: {
1745
- [name: string]: unknown;
1746
- };
1747
- content: {
1748
- "application/json": components["schemas"]["ErrorBody"];
1749
- };
1750
- };
1751
- };
1752
- };
1753
- "getMyndla-apiV1FoldersResourcesTags": {
1754
- parameters: {
1755
- query?: never;
1756
- header?: never;
1757
- path?: never;
1758
- cookie?: never;
1759
- };
1760
- requestBody?: never;
1761
- responses: {
1762
- 200: {
1763
- headers: {
1764
- [name: string]: unknown;
1765
- };
1766
- content: {
1767
- "application/json": string[];
1768
- };
1769
- };
1770
- 400: {
1771
- headers: {
1772
- [name: string]: unknown;
1773
- };
1774
- content: {
1775
- "application/json": components["schemas"]["AllErrors"];
1776
- };
1777
- };
1778
- 401: {
1779
- headers: {
1780
- [name: string]: unknown;
1781
- };
1782
- content: {
1783
- "application/json": components["schemas"]["AllErrors"];
1784
- };
1785
- };
1786
- 403: {
1787
- headers: {
1788
- [name: string]: unknown;
1789
- };
1790
- content: {
1791
- "application/json": components["schemas"]["AllErrors"];
1792
- };
1793
- };
1794
- 404: {
1795
- headers: {
1796
- [name: string]: unknown;
1797
- };
1798
- content: {
1799
- "application/json": components["schemas"]["AllErrors"];
1800
- };
1801
- };
1802
- 500: {
1803
- headers: {
1804
- [name: string]: unknown;
1805
- };
1806
- content: {
1807
- "application/json": components["schemas"]["ErrorBody"];
1808
- };
1809
- };
1810
- };
1811
- };
1812
- "getMyndla-apiV1FoldersResourcesHas-favorited": {
1813
- parameters: {
1814
- query: {
1815
- /** @description The path of the resource to check */
1816
- path: string;
1817
- };
1818
- header?: never;
1819
- path?: never;
1820
- cookie?: never;
1821
- };
1822
- requestBody?: never;
1823
- responses: {
1824
- 200: {
1825
- headers: {
1826
- [name: string]: unknown;
1827
- };
1828
- content: {
1829
- "application/json": boolean;
1830
- };
1831
- };
1832
- 400: {
1833
- headers: {
1834
- [name: string]: unknown;
1835
- };
1836
- content: {
1837
- "application/json": components["schemas"]["AllErrors"];
1838
- };
1839
- };
1840
- 401: {
1841
- headers: {
1842
- [name: string]: unknown;
1843
- };
1844
- content: {
1845
- "application/json": components["schemas"]["AllErrors"];
1846
- };
1847
- };
1848
- 403: {
1849
- headers: {
1850
- [name: string]: unknown;
1851
- };
1852
- content: {
1853
- "application/json": components["schemas"]["AllErrors"];
1854
- };
1855
- };
1856
- 404: {
1857
- headers: {
1858
- [name: string]: unknown;
1859
- };
1860
- content: {
1861
- "application/json": components["schemas"]["AllErrors"];
1862
- };
1863
- };
1864
- 500: {
1865
- headers: {
1866
- [name: string]: unknown;
1867
- };
1868
- content: {
1869
- "application/json": components["schemas"]["ErrorBody"];
1870
- };
1871
- };
1872
- 502: {
1873
- headers: {
1874
- [name: string]: unknown;
1875
- };
1876
- content: {
1877
- "application/json": components["schemas"]["AllErrors"];
1878
- };
1879
- };
1880
- };
1881
- };
1882
- "postMyndla-apiV1FoldersFolder-idResources": {
1883
- parameters: {
1884
- query?: never;
1885
- header?: never;
1886
- path: {
1887
- /** @description The UUID of the folder */
1888
- "folder-id": string;
1889
- };
1890
- cookie?: never;
1891
- };
1892
- requestBody: {
1893
- content: {
1894
- "application/json": components["schemas"]["NewResourceDTO"];
1895
- };
1896
- };
1897
- responses: {
1898
- 200: {
1899
- headers: {
1900
- [name: string]: unknown;
1901
- };
1902
- content: {
1903
- "application/json": components["schemas"]["ResourceDTO"];
1904
- };
1905
- };
1906
- 400: {
1907
- headers: {
1908
- [name: string]: unknown;
1909
- };
1910
- content: {
1911
- "application/json": components["schemas"]["AllErrors"];
1912
- };
1913
- };
1914
- 401: {
1915
- headers: {
1916
- [name: string]: unknown;
1917
- };
1918
- content: {
1919
- "application/json": components["schemas"]["AllErrors"];
1920
- };
1921
- };
1922
- 403: {
1923
- headers: {
1924
- [name: string]: unknown;
1925
- };
1926
- content: {
1927
- "application/json": components["schemas"]["AllErrors"];
1928
- };
1929
- };
1930
- 404: {
1931
- headers: {
1932
- [name: string]: unknown;
1933
- };
1934
- content: {
1935
- "application/json": components["schemas"]["AllErrors"];
1936
- };
1937
- };
1938
- 500: {
1939
- headers: {
1940
- [name: string]: unknown;
1941
- };
1942
- content: {
1943
- "application/json": components["schemas"]["ErrorBody"];
1944
- };
1945
- };
1946
- };
1947
- };
1948
- "getMyndla-apiV1FoldersResourcesRoot": {
1949
- parameters: {
1950
- query?: never;
1951
- header?: never;
1952
- path?: never;
1953
- cookie?: never;
1954
- };
1955
- requestBody?: never;
1956
- responses: {
1957
- 200: {
1958
- headers: {
1959
- [name: string]: unknown;
1960
- };
1961
- content: {
1962
- "application/json": components["schemas"]["ResourceDTO"][];
1963
- };
1964
- };
1965
- 400: {
1966
- headers: {
1967
- [name: string]: unknown;
1968
- };
1969
- content: {
1970
- "application/json": components["schemas"]["AllErrors"];
1971
- };
1972
- };
1973
- 401: {
1974
- headers: {
1975
- [name: string]: unknown;
1976
- };
1977
- content: {
1978
- "application/json": components["schemas"]["AllErrors"];
1979
- };
1980
- };
1981
- 403: {
1982
- headers: {
1983
- [name: string]: unknown;
1984
- };
1985
- content: {
1986
- "application/json": components["schemas"]["AllErrors"];
1987
- };
1988
- };
1989
- 404: {
1990
- headers: {
1991
- [name: string]: unknown;
1992
- };
1993
- content: {
1994
- "application/json": components["schemas"]["AllErrors"];
1995
- };
1996
- };
1997
- 500: {
1998
- headers: {
1999
- [name: string]: unknown;
2000
- };
2001
- content: {
2002
- "application/json": components["schemas"]["ErrorBody"];
2003
- };
2004
- };
2005
- };
2006
- };
2007
- "postMyndla-apiV1FoldersResourcesRoot": {
2008
- parameters: {
2009
- query?: never;
2010
- header?: never;
2011
- path?: never;
2012
- cookie?: never;
2013
- };
2014
- requestBody: {
2015
- content: {
2016
- "application/json": components["schemas"]["NewResourceDTO"];
2017
- };
2018
- };
2019
- responses: {
2020
- 200: {
2021
- headers: {
2022
- [name: string]: unknown;
2023
- };
2024
- content: {
2025
- "application/json": components["schemas"]["ResourceDTO"];
2026
- };
2027
- };
2028
- 400: {
2029
- headers: {
2030
- [name: string]: unknown;
2031
- };
2032
- content: {
2033
- "application/json": components["schemas"]["AllErrors"];
2034
- };
2035
- };
2036
- 401: {
2037
- headers: {
2038
- [name: string]: unknown;
2039
- };
2040
- content: {
2041
- "application/json": components["schemas"]["AllErrors"];
2042
- };
2043
- };
2044
- 403: {
2045
- headers: {
2046
- [name: string]: unknown;
2047
- };
2048
- content: {
2049
- "application/json": components["schemas"]["AllErrors"];
2050
- };
2051
- };
2052
- 404: {
2053
- headers: {
2054
- [name: string]: unknown;
2055
- };
2056
- content: {
2057
- "application/json": components["schemas"]["AllErrors"];
2058
- };
2059
- };
2060
- 500: {
2061
- headers: {
2062
- [name: string]: unknown;
2063
- };
2064
- content: {
2065
- "application/json": components["schemas"]["ErrorBody"];
2066
- };
2067
- };
2068
- };
2069
- };
2070
- "patchMyndla-apiV1FoldersResourcesResource-id": {
2071
- parameters: {
2072
- query?: never;
2073
- header?: never;
2074
- path: {
2075
- /** @description The UUID of the resource */
2076
- "resource-id": string;
2077
- };
2078
- cookie?: never;
2079
- };
2080
- requestBody: {
2081
- content: {
2082
- "application/json": components["schemas"]["UpdatedResourceDTO"];
2083
- };
2084
- };
2085
- responses: {
2086
- 200: {
2087
- headers: {
2088
- [name: string]: unknown;
2089
- };
2090
- content: {
2091
- "application/json": components["schemas"]["ResourceDTO"];
2092
- };
2093
- };
2094
- 400: {
2095
- headers: {
2096
- [name: string]: unknown;
2097
- };
2098
- content: {
2099
- "application/json": components["schemas"]["AllErrors"];
2100
- };
2101
- };
2102
- 401: {
2103
- headers: {
2104
- [name: string]: unknown;
2105
- };
2106
- content: {
2107
- "application/json": components["schemas"]["AllErrors"];
2108
- };
2109
- };
2110
- 403: {
2111
- headers: {
2112
- [name: string]: unknown;
2113
- };
2114
- content: {
2115
- "application/json": components["schemas"]["AllErrors"];
2116
- };
2117
- };
2118
- 404: {
2119
- headers: {
2120
- [name: string]: unknown;
2121
- };
2122
- content: {
2123
- "application/json": components["schemas"]["AllErrors"];
2124
- };
2125
- };
2126
- 500: {
2127
- headers: {
2128
- [name: string]: unknown;
2129
- };
2130
- content: {
2131
- "application/json": components["schemas"]["ErrorBody"];
2132
- };
2133
- };
2134
- };
2135
- };
2136
- "deleteMyndla-apiV1FoldersFolder-idResourcesResource-id": {
2137
- parameters: {
2138
- query?: never;
2139
- header?: never;
2140
- path: {
2141
- /** @description The UUID of the folder */
2142
- "folder-id": string;
2143
- /** @description The UUID of the resource */
2144
- "resource-id": string;
2145
- };
2146
- cookie?: never;
2147
- };
2148
- requestBody?: never;
2149
- responses: {
2150
- 204: {
2151
- headers: {
2152
- [name: string]: unknown;
2153
- };
2154
- content?: never;
2155
- };
2156
- 400: {
2157
- headers: {
2158
- [name: string]: unknown;
2159
- };
2160
- content: {
2161
- "application/json": components["schemas"]["AllErrors"];
2162
- };
2163
- };
2164
- 401: {
2165
- headers: {
2166
- [name: string]: unknown;
2167
- };
2168
- content: {
2169
- "application/json": components["schemas"]["AllErrors"];
2170
- };
2171
- };
2172
- 403: {
2173
- headers: {
2174
- [name: string]: unknown;
2175
- };
2176
- content: {
2177
- "application/json": components["schemas"]["AllErrors"];
2178
- };
2179
- };
2180
- 404: {
2181
- headers: {
2182
- [name: string]: unknown;
2183
- };
2184
- content: {
2185
- "application/json": components["schemas"]["AllErrors"];
2186
- };
2187
- };
2188
- 500: {
2189
- headers: {
2190
- [name: string]: unknown;
2191
- };
2192
- content: {
2193
- "application/json": components["schemas"]["ErrorBody"];
2194
- };
2195
- };
2196
- 502: {
2197
- headers: {
2198
- [name: string]: unknown;
2199
- };
2200
- content: {
2201
- "application/json": components["schemas"]["AllErrors"];
2202
- };
2203
- };
2204
- };
2205
- };
2206
- "deleteMyndla-apiV1FoldersResourcesRootResource-id": {
2207
- parameters: {
2208
- query?: never;
2209
- header?: never;
2210
- path: {
2211
- /** @description The UUID of the resource */
2212
- "resource-id": string;
2213
- };
2214
- cookie?: never;
2215
- };
2216
- requestBody?: never;
2217
- responses: {
2218
- 204: {
2219
- headers: {
2220
- [name: string]: unknown;
2221
- };
2222
- content?: never;
2223
- };
2224
- 400: {
2225
- headers: {
2226
- [name: string]: unknown;
2227
- };
2228
- content: {
2229
- "application/json": components["schemas"]["AllErrors"];
2230
- };
2231
- };
2232
- 401: {
2233
- headers: {
2234
- [name: string]: unknown;
2235
- };
2236
- content: {
2237
- "application/json": components["schemas"]["AllErrors"];
2238
- };
2239
- };
2240
- 403: {
2241
- headers: {
2242
- [name: string]: unknown;
2243
- };
2244
- content: {
2245
- "application/json": components["schemas"]["AllErrors"];
2246
- };
2247
- };
2248
- 404: {
2249
- headers: {
2250
- [name: string]: unknown;
2251
- };
2252
- content: {
2253
- "application/json": components["schemas"]["AllErrors"];
2254
- };
2255
- };
2256
- 500: {
2257
- headers: {
2258
- [name: string]: unknown;
2259
- };
2260
- content: {
2261
- "application/json": components["schemas"]["ErrorBody"];
2262
- };
2263
- };
2264
- 502: {
2265
- headers: {
2266
- [name: string]: unknown;
2267
- };
2268
- content: {
2269
- "application/json": components["schemas"]["AllErrors"];
2270
- };
2271
- };
2272
- };
2273
- };
2274
- "getMyndla-apiV1FoldersSharedFolder-id": {
2275
- parameters: {
2276
- query?: never;
2277
- header?: never;
2278
- path: {
2279
- /** @description The UUID of the folder */
2280
- "folder-id": string;
2281
- };
2282
- cookie?: never;
2283
- };
2284
- requestBody?: never;
2285
- responses: {
2286
- 200: {
2287
- headers: {
2288
- [name: string]: unknown;
2289
- };
2290
- content: {
2291
- "application/json": components["schemas"]["FolderDTO"];
2292
- };
2293
- };
2294
- 400: {
2295
- headers: {
2296
- [name: string]: unknown;
2297
- };
2298
- content: {
2299
- "application/json": components["schemas"]["AllErrors"];
2300
- };
2301
- };
2302
- 401: {
2303
- headers: {
2304
- [name: string]: unknown;
2305
- };
2306
- content: {
2307
- "application/json": components["schemas"]["AllErrors"];
2308
- };
2309
- };
2310
- 403: {
2311
- headers: {
2312
- [name: string]: unknown;
2313
- };
2314
- content: {
2315
- "application/json": components["schemas"]["AllErrors"];
2316
- };
2317
- };
2318
- 404: {
2319
- headers: {
2320
- [name: string]: unknown;
2321
- };
2322
- content: {
2323
- "application/json": components["schemas"]["AllErrors"];
2324
- };
2325
- };
2326
- 500: {
2327
- headers: {
2328
- [name: string]: unknown;
2329
- };
2330
- content: {
2331
- "application/json": components["schemas"]["ErrorBody"];
2332
- };
2333
- };
2334
- 502: {
2335
- headers: {
2336
- [name: string]: unknown;
2337
- };
2338
- content: {
2339
- "application/json": components["schemas"]["AllErrors"];
2340
- };
2341
- };
2342
- };
2343
- };
2344
- "patchMyndla-apiV1FoldersSharedFolder-id": {
2345
- parameters: {
2346
- query: {
2347
- /** @description Status of the folder */
2348
- "folder-status": components["schemas"]["FolderStatus"];
2349
- };
2350
- header?: never;
2351
- path: {
2352
- /** @description The UUID of the folder */
2353
- "folder-id": string;
2354
- };
2355
- cookie?: never;
2356
- };
2357
- requestBody?: never;
2358
- responses: {
2359
- 200: {
2360
- headers: {
2361
- [name: string]: unknown;
2362
- };
2363
- content: {
2364
- "application/json": string[];
2365
- };
2366
- };
2367
- 400: {
2368
- headers: {
2369
- [name: string]: unknown;
2370
- };
2371
- content: {
2372
- "application/json": components["schemas"]["AllErrors"];
2373
- };
2374
- };
2375
- 401: {
2376
- headers: {
2377
- [name: string]: unknown;
2378
- };
2379
- content: {
2380
- "application/json": components["schemas"]["AllErrors"];
2381
- };
2382
- };
2383
- 403: {
2384
- headers: {
2385
- [name: string]: unknown;
2386
- };
2387
- content: {
2388
- "application/json": components["schemas"]["AllErrors"];
2389
- };
2390
- };
2391
- 404: {
2392
- headers: {
2393
- [name: string]: unknown;
2394
- };
2395
- content: {
2396
- "application/json": components["schemas"]["AllErrors"];
2397
- };
2398
- };
2399
- 500: {
2400
- headers: {
2401
- [name: string]: unknown;
2402
- };
2403
- content: {
2404
- "application/json": components["schemas"]["ErrorBody"];
2405
- };
2406
- };
2407
- 502: {
2408
- headers: {
2409
- [name: string]: unknown;
2410
- };
2411
- content: {
2412
- "application/json": components["schemas"]["AllErrors"];
2413
- };
2414
- };
2415
- };
2416
- };
2417
- "postMyndla-apiV1FoldersCloneSource-folder-id": {
2418
- parameters: {
2419
- query?: {
2420
- /** @description Destination UUID of the folder. If None it will be cloned as a root folder. */
2421
- "destination-folder-id"?: string;
2422
- };
2423
- header?: never;
2424
- path: {
2425
- /** @description Source UUID of the folder. */
2426
- "source-folder-id": string;
2427
- };
2428
- cookie?: never;
2429
- };
2430
- requestBody?: never;
2431
- responses: {
2432
- 200: {
2433
- headers: {
2434
- [name: string]: unknown;
2435
- };
2436
- content: {
2437
- "application/json": components["schemas"]["FolderDTO"];
2438
- };
2439
- };
2440
- 400: {
2441
- headers: {
2442
- [name: string]: unknown;
2443
- };
2444
- content: {
2445
- "application/json": components["schemas"]["AllErrors"];
2446
- };
2447
- };
2448
- 401: {
2449
- headers: {
2450
- [name: string]: unknown;
2451
- };
2452
- content: {
2453
- "application/json": components["schemas"]["AllErrors"];
2454
- };
2455
- };
2456
- 403: {
2457
- headers: {
2458
- [name: string]: unknown;
2459
- };
2460
- content: {
2461
- "application/json": components["schemas"]["AllErrors"];
2462
- };
2463
- };
2464
- 404: {
2465
- headers: {
2466
- [name: string]: unknown;
2467
- };
2468
- content: {
2469
- "application/json": components["schemas"]["AllErrors"];
2470
- };
2471
- };
2472
- 500: {
2473
- headers: {
2474
- [name: string]: unknown;
2475
- };
2476
- content: {
2477
- "application/json": components["schemas"]["ErrorBody"];
2478
- };
2479
- };
2480
- 502: {
2481
- headers: {
2482
- [name: string]: unknown;
2483
- };
2484
- content: {
2485
- "application/json": components["schemas"]["AllErrors"];
2486
- };
2487
- };
2488
- };
2489
- };
2490
- "putMyndla-apiV1FoldersSort-resourcesRoot": {
2491
- parameters: {
2492
- query?: never;
2493
- header?: never;
2494
- path?: never;
2495
- cookie?: never;
2496
- };
2497
- requestBody: {
2498
- content: {
2499
- "application/json": components["schemas"]["FolderSortRequestDTO"];
2500
- };
2501
- };
2502
- responses: {
2503
- 204: {
2504
- headers: {
2505
- [name: string]: unknown;
2506
- };
2507
- content?: never;
2508
- };
2509
- 400: {
2510
- headers: {
2511
- [name: string]: unknown;
2512
- };
2513
- content: {
2514
- "application/json": components["schemas"]["AllErrors"];
2515
- };
2516
- };
2517
- 401: {
2518
- headers: {
2519
- [name: string]: unknown;
2520
- };
2521
- content: {
2522
- "application/json": components["schemas"]["AllErrors"];
2523
- };
2524
- };
2525
- 403: {
2526
- headers: {
2527
- [name: string]: unknown;
2528
- };
2529
- content: {
2530
- "application/json": components["schemas"]["AllErrors"];
2531
- };
2532
- };
2533
- 404: {
2534
- headers: {
2535
- [name: string]: unknown;
2536
- };
2537
- content: {
2538
- "application/json": components["schemas"]["AllErrors"];
2539
- };
2540
- };
2541
- 500: {
2542
- headers: {
2543
- [name: string]: unknown;
2544
- };
2545
- content: {
2546
- "application/json": components["schemas"]["ErrorBody"];
2547
- };
2548
- };
2549
- 502: {
2550
- headers: {
2551
- [name: string]: unknown;
2552
- };
2553
- content: {
2554
- "application/json": components["schemas"]["AllErrors"];
2555
- };
2556
- };
2557
- };
2558
- };
2559
- "putMyndla-apiV1FoldersSort-resourcesFolder-id": {
2560
- parameters: {
2561
- query?: never;
2562
- header?: never;
2563
- path: {
2564
- /** @description The UUID of the folder */
2565
- "folder-id": string;
2566
- };
2567
- cookie?: never;
2568
- };
2569
- requestBody: {
2570
- content: {
2571
- "application/json": components["schemas"]["FolderSortRequestDTO"];
2572
- };
2573
- };
2574
- responses: {
2575
- 204: {
2576
- headers: {
2577
- [name: string]: unknown;
2578
- };
2579
- content?: never;
2580
- };
2581
- 400: {
2582
- headers: {
2583
- [name: string]: unknown;
2584
- };
2585
- content: {
2586
- "application/json": components["schemas"]["AllErrors"];
2587
- };
2588
- };
2589
- 401: {
2590
- headers: {
2591
- [name: string]: unknown;
2592
- };
2593
- content: {
2594
- "application/json": components["schemas"]["AllErrors"];
2595
- };
2596
- };
2597
- 403: {
2598
- headers: {
2599
- [name: string]: unknown;
2600
- };
2601
- content: {
2602
- "application/json": components["schemas"]["AllErrors"];
2603
- };
2604
- };
2605
- 404: {
2606
- headers: {
2607
- [name: string]: unknown;
2608
- };
2609
- content: {
2610
- "application/json": components["schemas"]["AllErrors"];
2611
- };
2612
- };
2613
- 500: {
2614
- headers: {
2615
- [name: string]: unknown;
2616
- };
2617
- content: {
2618
- "application/json": components["schemas"]["ErrorBody"];
2619
- };
2620
- };
2621
- 502: {
2622
- headers: {
2623
- [name: string]: unknown;
2624
- };
2625
- content: {
2626
- "application/json": components["schemas"]["AllErrors"];
2627
- };
2628
- };
2629
- };
2630
- };
2631
- "putMyndla-apiV1FoldersSort-subfolders": {
2632
- parameters: {
2633
- query?: {
2634
- /** @description The UUID of the folder */
2635
- "folder-id"?: string;
2636
- };
2637
- header?: never;
2638
- path?: never;
2639
- cookie?: never;
2640
- };
2641
- requestBody: {
2642
- content: {
2643
- "application/json": components["schemas"]["FolderSortRequestDTO"];
2644
- };
2645
- };
2646
- responses: {
2647
- 204: {
2648
- headers: {
2649
- [name: string]: unknown;
2650
- };
2651
- content?: never;
2652
- };
2653
- 400: {
2654
- headers: {
2655
- [name: string]: unknown;
2656
- };
2657
- content: {
2658
- "application/json": components["schemas"]["AllErrors"];
2659
- };
2660
- };
2661
- 401: {
2662
- headers: {
2663
- [name: string]: unknown;
2664
- };
2665
- content: {
2666
- "application/json": components["schemas"]["AllErrors"];
2667
- };
2668
- };
2669
- 403: {
2670
- headers: {
2671
- [name: string]: unknown;
2672
- };
2673
- content: {
2674
- "application/json": components["schemas"]["AllErrors"];
2675
- };
2676
- };
2677
- 404: {
2678
- headers: {
2679
- [name: string]: unknown;
2680
- };
2681
- content: {
2682
- "application/json": components["schemas"]["AllErrors"];
2683
- };
2684
- };
2685
- 500: {
2686
- headers: {
2687
- [name: string]: unknown;
2688
- };
2689
- content: {
2690
- "application/json": components["schemas"]["ErrorBody"];
2691
- };
2692
- };
2693
- 502: {
2694
- headers: {
2695
- [name: string]: unknown;
2696
- };
2697
- content: {
2698
- "application/json": components["schemas"]["AllErrors"];
2699
- };
2700
- };
2701
- };
2702
- };
2703
- "putMyndla-apiV1FoldersSort-saved": {
2704
- parameters: {
2705
- query?: never;
2706
- header?: never;
2707
- path?: never;
2708
- cookie?: never;
2709
- };
2710
- requestBody: {
2711
- content: {
2712
- "application/json": components["schemas"]["FolderSortRequestDTO"];
2713
- };
2714
- };
2715
- responses: {
2716
- 204: {
2717
- headers: {
2718
- [name: string]: unknown;
2719
- };
2720
- content?: never;
2721
- };
2722
- 400: {
2723
- headers: {
2724
- [name: string]: unknown;
2725
- };
2726
- content: {
2727
- "application/json": components["schemas"]["AllErrors"];
2728
- };
2729
- };
2730
- 401: {
2731
- headers: {
2732
- [name: string]: unknown;
2733
- };
2734
- content: {
2735
- "application/json": components["schemas"]["AllErrors"];
2736
- };
2737
- };
2738
- 403: {
2739
- headers: {
2740
- [name: string]: unknown;
2741
- };
2742
- content: {
2743
- "application/json": components["schemas"]["AllErrors"];
2744
- };
2745
- };
2746
- 404: {
2747
- headers: {
2748
- [name: string]: unknown;
2749
- };
2750
- content: {
2751
- "application/json": components["schemas"]["AllErrors"];
2752
- };
2753
- };
2754
- 500: {
2755
- headers: {
2756
- [name: string]: unknown;
2757
- };
2758
- content: {
2759
- "application/json": components["schemas"]["ErrorBody"];
2760
- };
2761
- };
2762
- 502: {
2763
- headers: {
2764
- [name: string]: unknown;
2765
- };
2766
- content: {
2767
- "application/json": components["schemas"]["AllErrors"];
2768
- };
2769
- };
2770
- };
2771
- };
2772
- "postMyndla-apiV1FoldersSharedFolder-idSave": {
2773
- parameters: {
2774
- query?: never;
2775
- header?: never;
2776
- path: {
2777
- /** @description The UUID of the folder */
2778
- "folder-id": string;
2779
- };
2780
- cookie?: never;
2781
- };
2782
- requestBody?: never;
2783
- responses: {
2784
- 204: {
2785
- headers: {
2786
- [name: string]: unknown;
2787
- };
2788
- content?: never;
2789
- };
2790
- 400: {
2791
- headers: {
2792
- [name: string]: unknown;
2793
- };
2794
- content: {
2795
- "application/json": components["schemas"]["AllErrors"];
2796
- };
2797
- };
2798
- 401: {
2799
- headers: {
2800
- [name: string]: unknown;
2801
- };
2802
- content: {
2803
- "application/json": components["schemas"]["AllErrors"];
2804
- };
2805
- };
2806
- 403: {
2807
- headers: {
2808
- [name: string]: unknown;
2809
- };
2810
- content: {
2811
- "application/json": components["schemas"]["AllErrors"];
2812
- };
2813
- };
2814
- 404: {
2815
- headers: {
2816
- [name: string]: unknown;
2817
- };
2818
- content: {
2819
- "application/json": components["schemas"]["AllErrors"];
2820
- };
2821
- };
2822
- 500: {
2823
- headers: {
2824
- [name: string]: unknown;
2825
- };
2826
- content: {
2827
- "application/json": components["schemas"]["ErrorBody"];
2828
- };
2829
- };
2830
- 502: {
2831
- headers: {
2832
- [name: string]: unknown;
2833
- };
2834
- content: {
2835
- "application/json": components["schemas"]["AllErrors"];
2836
- };
2837
- };
2838
- };
2839
- };
2840
- "deleteMyndla-apiV1FoldersSharedFolder-idSave": {
2841
- parameters: {
2842
- query?: never;
2843
- header?: never;
2844
- path: {
2845
- /** @description The UUID of the folder */
2846
- "folder-id": string;
2847
- };
2848
- cookie?: never;
2849
- };
2850
- requestBody?: never;
2851
- responses: {
2852
- 204: {
2853
- headers: {
2854
- [name: string]: unknown;
2855
- };
2856
- content?: never;
2857
- };
2858
- 400: {
2859
- headers: {
2860
- [name: string]: unknown;
2861
- };
2862
- content: {
2863
- "application/json": components["schemas"]["AllErrors"];
2864
- };
2865
- };
2866
- 401: {
2867
- headers: {
2868
- [name: string]: unknown;
2869
- };
2870
- content: {
2871
- "application/json": components["schemas"]["AllErrors"];
2872
- };
2873
- };
2874
- 403: {
2875
- headers: {
2876
- [name: string]: unknown;
2877
- };
2878
- content: {
2879
- "application/json": components["schemas"]["AllErrors"];
2880
- };
2881
- };
2882
- 404: {
2883
- headers: {
2884
- [name: string]: unknown;
2885
- };
2886
- content: {
2887
- "application/json": components["schemas"]["AllErrors"];
2888
- };
2889
- };
2890
- 500: {
2891
- headers: {
2892
- [name: string]: unknown;
2893
- };
2894
- content: {
2895
- "application/json": components["schemas"]["ErrorBody"];
2896
- };
2897
- };
2898
- 502: {
2899
- headers: {
2900
- [name: string]: unknown;
2901
- };
2902
- content: {
2903
- "application/json": components["schemas"]["AllErrors"];
2904
- };
2905
- };
2906
- };
2907
- };
2908
- "getMyndla-apiV1Robots": {
2909
- parameters: {
2910
- query?: never;
2911
- header?: never;
2912
- path?: never;
2913
- cookie?: never;
2914
- };
2915
- requestBody?: never;
2916
- responses: {
2917
- 200: {
2918
- headers: {
2919
- [name: string]: unknown;
2920
- };
2921
- content: {
2922
- "application/json": components["schemas"]["ListOfRobotDefinitionsDTO"];
2923
- };
2924
- };
2925
- 400: {
2926
- headers: {
2927
- [name: string]: unknown;
2928
- };
2929
- content: {
2930
- "application/json": components["schemas"]["AllErrors"];
2931
- };
2932
- };
2933
- 401: {
2934
- headers: {
2935
- [name: string]: unknown;
2936
- };
2937
- content: {
2938
- "application/json": components["schemas"]["AllErrors"];
2939
- };
2940
- };
2941
- 403: {
2942
- headers: {
2943
- [name: string]: unknown;
2944
- };
2945
- content: {
2946
- "application/json": components["schemas"]["AllErrors"];
2947
- };
2948
- };
2949
- 404: {
2950
- headers: {
2951
- [name: string]: unknown;
2952
- };
2953
- content: {
2954
- "application/json": components["schemas"]["AllErrors"];
2955
- };
2956
- };
2957
- 500: {
2958
- headers: {
2959
- [name: string]: unknown;
2960
- };
2961
- content: {
2962
- "application/json": components["schemas"]["ErrorBody"];
2963
- };
2964
- };
2965
- };
2966
- };
2967
- "postMyndla-apiV1Robots": {
2968
- parameters: {
2969
- query?: never;
2970
- header?: never;
2971
- path?: never;
2972
- cookie?: never;
2973
- };
2974
- requestBody: {
2975
- content: {
2976
- "application/json": components["schemas"]["CreateRobotDefinitionDTO"];
2977
- };
2978
- };
2979
- responses: {
2980
- 200: {
2981
- headers: {
2982
- [name: string]: unknown;
2983
- };
2984
- content: {
2985
- "application/json": components["schemas"]["RobotDefinitionDTO"];
2986
- };
2987
- };
2988
- 400: {
2989
- headers: {
2990
- [name: string]: unknown;
2991
- };
2992
- content: {
2993
- "application/json": components["schemas"]["AllErrors"];
2994
- };
2995
- };
2996
- 401: {
2997
- headers: {
2998
- [name: string]: unknown;
2999
- };
3000
- content: {
3001
- "application/json": components["schemas"]["AllErrors"];
3002
- };
3003
- };
3004
- 403: {
3005
- headers: {
3006
- [name: string]: unknown;
3007
- };
3008
- content: {
3009
- "application/json": components["schemas"]["AllErrors"];
3010
- };
3011
- };
3012
- 404: {
3013
- headers: {
3014
- [name: string]: unknown;
3015
- };
3016
- content: {
3017
- "application/json": components["schemas"]["AllErrors"];
3018
- };
3019
- };
3020
- 500: {
3021
- headers: {
3022
- [name: string]: unknown;
3023
- };
3024
- content: {
3025
- "application/json": components["schemas"]["ErrorBody"];
3026
- };
3027
- };
3028
- };
3029
- };
3030
- "getMyndla-apiV1RobotsRobot-id": {
3031
- parameters: {
3032
- query?: never;
3033
- header?: never;
3034
- path: {
3035
- "robot-id": string;
3036
- };
3037
- cookie?: never;
3038
- };
3039
- requestBody?: never;
3040
- responses: {
3041
- 200: {
3042
- headers: {
3043
- [name: string]: unknown;
3044
- };
3045
- content: {
3046
- "application/json": components["schemas"]["RobotDefinitionDTO"];
3047
- };
3048
- };
3049
- 400: {
3050
- headers: {
3051
- [name: string]: unknown;
3052
- };
3053
- content: {
3054
- "application/json": components["schemas"]["AllErrors"];
3055
- };
3056
- };
3057
- 401: {
3058
- headers: {
3059
- [name: string]: unknown;
3060
- };
3061
- content: {
3062
- "application/json": components["schemas"]["AllErrors"];
3063
- };
3064
- };
3065
- 403: {
3066
- headers: {
3067
- [name: string]: unknown;
3068
- };
3069
- content: {
3070
- "application/json": components["schemas"]["AllErrors"];
3071
- };
3072
- };
3073
- 404: {
3074
- headers: {
3075
- [name: string]: unknown;
3076
- };
3077
- content: {
3078
- "application/json": components["schemas"]["AllErrors"];
3079
- };
3080
- };
3081
- 500: {
3082
- headers: {
3083
- [name: string]: unknown;
3084
- };
3085
- content: {
3086
- "application/json": components["schemas"]["ErrorBody"];
3087
- };
3088
- };
3089
- };
3090
- };
3091
- "putMyndla-apiV1RobotsRobot-id": {
3092
- parameters: {
3093
- query?: never;
3094
- header?: never;
3095
- path: {
3096
- "robot-id": string;
3097
- };
3098
- cookie?: never;
3099
- };
3100
- requestBody: {
3101
- content: {
3102
- "application/json": components["schemas"]["CreateRobotDefinitionDTO"];
3103
- };
3104
- };
3105
- responses: {
3106
- 200: {
3107
- headers: {
3108
- [name: string]: unknown;
3109
- };
3110
- content: {
3111
- "application/json": components["schemas"]["RobotDefinitionDTO"];
3112
- };
3113
- };
3114
- 400: {
3115
- headers: {
3116
- [name: string]: unknown;
3117
- };
3118
- content: {
3119
- "application/json": components["schemas"]["AllErrors"];
3120
- };
3121
- };
3122
- 401: {
3123
- headers: {
3124
- [name: string]: unknown;
3125
- };
3126
- content: {
3127
- "application/json": components["schemas"]["AllErrors"];
3128
- };
3129
- };
3130
- 403: {
3131
- headers: {
3132
- [name: string]: unknown;
3133
- };
3134
- content: {
3135
- "application/json": components["schemas"]["AllErrors"];
3136
- };
3137
- };
3138
- 404: {
3139
- headers: {
3140
- [name: string]: unknown;
3141
- };
3142
- content: {
3143
- "application/json": components["schemas"]["AllErrors"];
3144
- };
3145
- };
3146
- 500: {
3147
- headers: {
3148
- [name: string]: unknown;
3149
- };
3150
- content: {
3151
- "application/json": components["schemas"]["ErrorBody"];
3152
- };
3153
- };
3154
- };
3155
- };
3156
- "deleteMyndla-apiV1RobotsRobot-id": {
3157
- parameters: {
3158
- query?: never;
3159
- header?: never;
3160
- path: {
3161
- "robot-id": string;
3162
- };
3163
- cookie?: never;
3164
- };
3165
- requestBody?: never;
3166
- responses: {
3167
- 204: {
3168
- headers: {
3169
- [name: string]: unknown;
3170
- };
3171
- content?: never;
3172
- };
3173
- 400: {
3174
- headers: {
3175
- [name: string]: unknown;
3176
- };
3177
- content: {
3178
- "application/json": components["schemas"]["AllErrors"];
3179
- };
3180
- };
3181
- 401: {
3182
- headers: {
3183
- [name: string]: unknown;
3184
- };
3185
- content: {
3186
- "application/json": components["schemas"]["AllErrors"];
3187
- };
3188
- };
3189
- 403: {
3190
- headers: {
3191
- [name: string]: unknown;
3192
- };
3193
- content: {
3194
- "application/json": components["schemas"]["AllErrors"];
3195
- };
3196
- };
3197
- 404: {
3198
- headers: {
3199
- [name: string]: unknown;
3200
- };
3201
- content: {
3202
- "application/json": components["schemas"]["AllErrors"];
3203
- };
3204
- };
3205
- 500: {
3206
- headers: {
3207
- [name: string]: unknown;
3208
- };
3209
- content: {
3210
- "application/json": components["schemas"]["ErrorBody"];
3211
- };
3212
- };
3213
- };
3214
- };
3215
- "putMyndla-apiV1RobotsRobot-idRobot-status": {
3216
- parameters: {
3217
- query?: never;
3218
- header?: never;
3219
- path: {
3220
- "robot-id": string;
3221
- "robot-status": components["schemas"]["RobotStatus"];
3222
- };
3223
- cookie?: never;
3224
- };
3225
- requestBody?: never;
3226
- responses: {
3227
- 200: {
3228
- headers: {
3229
- [name: string]: unknown;
3230
- };
3231
- content: {
3232
- "application/json": components["schemas"]["RobotDefinitionDTO"];
3233
- };
3234
- };
3235
- 400: {
3236
- headers: {
3237
- [name: string]: unknown;
3238
- };
3239
- content: {
3240
- "application/json": components["schemas"]["AllErrors"];
3241
- };
3242
- };
3243
- 401: {
3244
- headers: {
3245
- [name: string]: unknown;
3246
- };
3247
- content: {
3248
- "application/json": components["schemas"]["AllErrors"];
3249
- };
3250
- };
3251
- 403: {
3252
- headers: {
3253
- [name: string]: unknown;
3254
- };
3255
- content: {
3256
- "application/json": components["schemas"]["AllErrors"];
3257
- };
3258
- };
3259
- 404: {
3260
- headers: {
3261
- [name: string]: unknown;
3262
- };
3263
- content: {
3264
- "application/json": components["schemas"]["AllErrors"];
3265
- };
3266
- };
3267
- 500: {
3268
- headers: {
3269
- [name: string]: unknown;
3270
- };
3271
- content: {
3272
- "application/json": components["schemas"]["ErrorBody"];
3273
- };
3274
- };
3275
- };
3276
- };
3277
- "getMyndla-apiV1Users": {
3278
- parameters: {
3279
- query?: never;
3280
- header?: never;
3281
- path?: never;
3282
- cookie?: never;
3283
- };
3284
- requestBody?: never;
3285
- responses: {
3286
- 200: {
3287
- headers: {
3288
- [name: string]: unknown;
3289
- };
3290
- content: {
3291
- "application/json": components["schemas"]["MyNDLAUserDTO"];
3292
- };
3293
- };
3294
- 400: {
3295
- headers: {
3296
- [name: string]: unknown;
3297
- };
3298
- content: {
3299
- "application/json": components["schemas"]["AllErrors"];
3300
- };
3301
- };
3302
- 401: {
3303
- headers: {
3304
- [name: string]: unknown;
3305
- };
3306
- content: {
3307
- "application/json": components["schemas"]["AllErrors"];
3308
- };
3309
- };
3310
- 403: {
3311
- headers: {
3312
- [name: string]: unknown;
3313
- };
3314
- content: {
3315
- "application/json": components["schemas"]["AllErrors"];
3316
- };
3317
- };
3318
- 404: {
3319
- headers: {
3320
- [name: string]: unknown;
3321
- };
3322
- content: {
3323
- "application/json": components["schemas"]["AllErrors"];
3324
- };
3325
- };
3326
- 500: {
3327
- headers: {
3328
- [name: string]: unknown;
3329
- };
3330
- content: {
3331
- "application/json": components["schemas"]["ErrorBody"];
3332
- };
3333
- };
3334
- };
3335
- };
3336
- "patchMyndla-apiV1Users": {
3337
- parameters: {
3338
- query?: never;
3339
- header?: never;
3340
- path?: never;
3341
- cookie?: never;
3342
- };
3343
- requestBody: {
3344
- content: {
3345
- "application/json": components["schemas"]["UpdatedMyNDLAUserDTO"];
3346
- };
3347
- };
3348
- responses: {
3349
- 200: {
3350
- headers: {
3351
- [name: string]: unknown;
3352
- };
3353
- content: {
3354
- "application/json": components["schemas"]["MyNDLAUserDTO"];
3355
- };
3356
- };
3357
- 400: {
3358
- headers: {
3359
- [name: string]: unknown;
3360
- };
3361
- content: {
3362
- "application/json": components["schemas"]["AllErrors"];
3363
- };
3364
- };
3365
- 401: {
3366
- headers: {
3367
- [name: string]: unknown;
3368
- };
3369
- content: {
3370
- "application/json": components["schemas"]["AllErrors"];
3371
- };
3372
- };
3373
- 403: {
3374
- headers: {
3375
- [name: string]: unknown;
3376
- };
3377
- content: {
3378
- "application/json": components["schemas"]["AllErrors"];
3379
- };
3380
- };
3381
- 404: {
3382
- headers: {
3383
- [name: string]: unknown;
3384
- };
3385
- content: {
3386
- "application/json": components["schemas"]["AllErrors"];
3387
- };
3388
- };
3389
- 500: {
3390
- headers: {
3391
- [name: string]: unknown;
3392
- };
3393
- content: {
3394
- "application/json": components["schemas"]["ErrorBody"];
3395
- };
3396
- };
3397
- };
3398
- };
3399
- "deleteMyndla-apiV1UsersDelete-personal-data": {
3400
- parameters: {
3401
- query?: never;
3402
- header?: never;
3403
- path?: never;
3404
- cookie?: never;
3405
- };
3406
- requestBody?: never;
3407
- responses: {
3408
- 204: {
3409
- headers: {
3410
- [name: string]: unknown;
3411
- };
3412
- content?: never;
3413
- };
3414
- 400: {
3415
- headers: {
3416
- [name: string]: unknown;
3417
- };
3418
- content: {
3419
- "application/json": components["schemas"]["AllErrors"];
3420
- };
3421
- };
3422
- 401: {
3423
- headers: {
3424
- [name: string]: unknown;
3425
- };
3426
- content: {
3427
- "application/json": components["schemas"]["AllErrors"];
3428
- };
3429
- };
3430
- 403: {
3431
- headers: {
3432
- [name: string]: unknown;
3433
- };
3434
- content: {
3435
- "application/json": components["schemas"]["AllErrors"];
3436
- };
3437
- };
3438
- 404: {
3439
- headers: {
3440
- [name: string]: unknown;
3441
- };
3442
- content: {
3443
- "application/json": components["schemas"]["AllErrors"];
3444
- };
3445
- };
3446
- 500: {
3447
- headers: {
3448
- [name: string]: unknown;
3449
- };
3450
- content: {
3451
- "application/json": components["schemas"]["ErrorBody"];
3452
- };
3453
- };
3454
- };
3455
- };
3456
- "getMyndla-apiV1UsersExport": {
3457
- parameters: {
3458
- query?: never;
3459
- header?: never;
3460
- path?: never;
3461
- cookie?: never;
3462
- };
3463
- requestBody?: never;
3464
- responses: {
3465
- 200: {
3466
- headers: {
3467
- [name: string]: unknown;
3468
- };
3469
- content: {
3470
- "application/json": components["schemas"]["ExportedUserDataDTO"];
3471
- };
3472
- };
3473
- 400: {
3474
- headers: {
3475
- [name: string]: unknown;
3476
- };
3477
- content: {
3478
- "application/json": components["schemas"]["AllErrors"];
3479
- };
3480
- };
3481
- 401: {
3482
- headers: {
3483
- [name: string]: unknown;
3484
- };
3485
- content: {
3486
- "application/json": components["schemas"]["AllErrors"];
3487
- };
3488
- };
3489
- 403: {
3490
- headers: {
3491
- [name: string]: unknown;
3492
- };
3493
- content: {
3494
- "application/json": components["schemas"]["AllErrors"];
3495
- };
3496
- };
3497
- 404: {
3498
- headers: {
3499
- [name: string]: unknown;
3500
- };
3501
- content: {
3502
- "application/json": components["schemas"]["AllErrors"];
3503
- };
3504
- };
3505
- 500: {
3506
- headers: {
3507
- [name: string]: unknown;
3508
- };
3509
- content: {
3510
- "application/json": components["schemas"]["ErrorBody"];
3511
- };
3512
- };
3513
- };
3514
- };
3515
- "postMyndla-apiV1UsersImport": {
3516
- parameters: {
3517
- query?: never;
3518
- header?: never;
3519
- path?: never;
3520
- cookie?: never;
3521
- };
3522
- requestBody: {
3523
- content: {
3524
- "application/json": components["schemas"]["ExportedUserDataDTO"];
3525
- };
3526
- };
3527
- responses: {
3528
- 200: {
3529
- headers: {
3530
- [name: string]: unknown;
3531
- };
3532
- content: {
3533
- "application/json": components["schemas"]["ExportedUserDataDTO"];
3534
- };
3535
- };
3536
- 400: {
3537
- headers: {
3538
- [name: string]: unknown;
3539
- };
3540
- content: {
3541
- "application/json": components["schemas"]["AllErrors"];
3542
- };
3543
- };
3544
- 401: {
3545
- headers: {
3546
- [name: string]: unknown;
3547
- };
3548
- content: {
3549
- "application/json": components["schemas"]["AllErrors"];
3550
- };
3551
- };
3552
- 403: {
3553
- headers: {
3554
- [name: string]: unknown;
3555
- };
3556
- content: {
3557
- "application/json": components["schemas"]["AllErrors"];
3558
- };
3559
- };
3560
- 404: {
3561
- headers: {
3562
- [name: string]: unknown;
3563
- };
3564
- content: {
3565
- "application/json": components["schemas"]["AllErrors"];
3566
- };
3567
- };
3568
- 500: {
3569
- headers: {
3570
- [name: string]: unknown;
3571
- };
3572
- content: {
3573
- "application/json": components["schemas"]["ErrorBody"];
3574
- };
3575
- };
3576
- };
3577
- };
3578
- "getMyndla-apiV1ConfigConfig-key": {
3579
- parameters: {
3580
- query?: never;
3581
- header?: never;
3582
- path: {
3583
- /** @description The of configuration value. Can only be one of 'MY_NDLA_WRITE_RESTRICTED' */
3584
- "config-key": components["schemas"]["ConfigKey"];
3585
- };
3586
- cookie?: never;
3587
- };
3588
- requestBody?: never;
3589
- responses: {
3590
- 200: {
3591
- headers: {
3592
- [name: string]: unknown;
3593
- };
3594
- content: {
3595
- "application/json": components["schemas"]["ConfigMetaRestrictedDTO"];
3596
- };
3597
- };
3598
- 400: {
3599
- headers: {
3600
- [name: string]: unknown;
3601
- };
3602
- content: {
3603
- "application/json": components["schemas"]["AllErrors"];
3604
- };
3605
- };
3606
- 401: {
3607
- headers: {
3608
- [name: string]: unknown;
3609
- };
3610
- content: {
3611
- "application/json": components["schemas"]["AllErrors"];
3612
- };
3613
- };
3614
- 403: {
3615
- headers: {
3616
- [name: string]: unknown;
3617
- };
3618
- content: {
3619
- "application/json": components["schemas"]["AllErrors"];
3620
- };
3621
- };
3622
- 404: {
3623
- headers: {
3624
- [name: string]: unknown;
3625
- };
3626
- content: {
3627
- "application/json": components["schemas"]["AllErrors"];
3628
- };
3629
- };
3630
- 500: {
3631
- headers: {
3632
- [name: string]: unknown;
3633
- };
3634
- content: {
3635
- "application/json": components["schemas"]["ErrorBody"];
3636
- };
3637
- };
3638
- };
3639
- };
3640
- "postMyndla-apiV1ConfigConfig-key": {
3641
- parameters: {
3642
- query?: never;
3643
- header?: never;
3644
- path: {
3645
- /** @description The of configuration value. Can only be one of 'MY_NDLA_WRITE_RESTRICTED' */
3646
- "config-key": components["schemas"]["ConfigKey"];
3647
- };
3648
- cookie?: never;
3649
- };
3650
- requestBody: {
3651
- content: {
3652
- "application/json": components["schemas"]["ConfigMetaValueDTO"];
3653
- };
3654
- };
3655
- responses: {
3656
- 200: {
3657
- headers: {
3658
- [name: string]: unknown;
3659
- };
3660
- content: {
3661
- "application/json": components["schemas"]["ConfigMetaDTO"];
3662
- };
3663
- };
3664
- 400: {
3665
- headers: {
3666
- [name: string]: unknown;
3667
- };
3668
- content: {
3669
- "application/json": components["schemas"]["AllErrors"];
3670
- };
3671
- };
3672
- 401: {
3673
- headers: {
3674
- [name: string]: unknown;
3675
- };
3676
- content: {
3677
- "application/json": components["schemas"]["AllErrors"];
3678
- };
3679
- };
3680
- 403: {
3681
- headers: {
3682
- [name: string]: unknown;
3683
- };
3684
- content: {
3685
- "application/json": components["schemas"]["AllErrors"];
3686
- };
3687
- };
3688
- 404: {
3689
- headers: {
3690
- [name: string]: unknown;
3691
- };
3692
- content: {
3693
- "application/json": components["schemas"]["AllErrors"];
3694
- };
3695
- };
3696
- 500: {
3697
- headers: {
3698
- [name: string]: unknown;
3699
- };
3700
- content: {
3701
- "application/json": components["schemas"]["ErrorBody"];
3702
- };
3703
- };
3704
- };
3705
- };
3706
- "getMyndla-apiV1Stats": {
3707
- parameters: {
3708
- query?: never;
3709
- header?: never;
3710
- path?: never;
3711
- cookie?: never;
3712
- };
3713
- requestBody?: never;
3714
- responses: {
3715
- 200: {
3716
- headers: {
3717
- [name: string]: unknown;
3718
- };
3719
- content: {
3720
- "application/json": components["schemas"]["StatsDTO"];
3721
- };
3722
- };
3723
- 400: {
3724
- headers: {
3725
- [name: string]: unknown;
3726
- };
3727
- content: {
3728
- "application/json": components["schemas"]["AllErrors"];
3729
- };
3730
- };
3731
- 404: {
3732
- headers: {
3733
- [name: string]: unknown;
3734
- };
3735
- content: {
3736
- "application/json": components["schemas"]["AllErrors"];
3737
- };
3738
- };
3739
- 500: {
3740
- headers: {
3741
- [name: string]: unknown;
3742
- };
3743
- content: {
3744
- "application/json": components["schemas"]["ErrorBody"];
3745
- };
3746
- };
3747
- };
3748
- };
3749
- "getMyndla-apiV1StatsFavorites": {
3750
- parameters: {
3751
- query?: never;
3752
- header?: never;
3753
- path?: never;
3754
- cookie?: never;
3755
- };
3756
- requestBody?: never;
3757
- responses: {
3758
- 200: {
3759
- headers: {
3760
- [name: string]: unknown;
3761
- };
3762
- content: {
3763
- "application/json": components["schemas"]["Map_Map_String_Long"];
3764
- };
3765
- };
3766
- 400: {
3767
- headers: {
3768
- [name: string]: unknown;
3769
- };
3770
- content: {
3771
- "application/json": components["schemas"]["AllErrors"];
3772
- };
3773
- };
3774
- 404: {
3775
- headers: {
3776
- [name: string]: unknown;
3777
- };
3778
- content: {
3779
- "application/json": components["schemas"]["AllErrors"];
3780
- };
3781
- };
3782
- 500: {
3783
- headers: {
3784
- [name: string]: unknown;
3785
- };
3786
- content: {
3787
- "application/json": components["schemas"]["ErrorBody"];
3788
- };
3789
- };
3790
- };
3791
- };
3792
- "getMyndla-apiV1StatsFavoritesResourcetypeResourceids": {
3793
- parameters: {
3794
- query?: never;
3795
- header?: never;
3796
- path: {
3797
- /** @description The type of the resource to look up. Comma separated list to support multidisciplinary. Possible values article, audio, concept, image, learningpath, multidisciplinary, topic, video */
3798
- resourceType: string[];
3799
- /** @description IDs of the resources to look up */
3800
- resourceIds: string[];
3801
- };
3802
- cookie?: never;
3803
- };
3804
- requestBody?: never;
3805
- responses: {
3806
- 200: {
3807
- headers: {
3808
- [name: string]: unknown;
3809
- };
3810
- content: {
3811
- "application/json": components["schemas"]["SingleResourceStatsDTO"][];
3812
- };
3813
- };
3814
- 400: {
3815
- headers: {
3816
- [name: string]: unknown;
3817
- };
3818
- content: {
3819
- "application/json": components["schemas"]["AllErrors"];
3820
- };
3821
- };
3822
- 404: {
3823
- headers: {
3824
- [name: string]: unknown;
3825
- };
3826
- content: {
3827
- "application/json": components["schemas"]["AllErrors"];
3828
- };
3829
- };
3830
- 500: {
3831
- headers: {
3832
- [name: string]: unknown;
3833
- };
3834
- content: {
3835
- "application/json": components["schemas"]["ErrorBody"];
3836
- };
3837
- };
3838
- };
3839
- };
3840
- }