@ndla/types-backend 1.0.34 → 1.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/article-api-openapi.d.ts +1092 -0
- package/build/article-api-openapi.js +7 -0
- package/build/article-api-openapi.js.map +1 -0
- package/build/article-api.d.ts +57 -156
- package/build/article-api.js +27 -13
- package/build/article-api.js.map +1 -1
- package/build/audio-api-openapi.d.ts +2153 -0
- package/build/audio-api-openapi.js +7 -0
- package/build/audio-api-openapi.js.map +1 -0
- package/build/audio-api.d.ts +69 -190
- package/build/audio-api.js +27 -13
- package/build/audio-api.js.map +1 -1
- package/build/concept-api-openapi.d.ts +1682 -0
- package/build/concept-api-openapi.js +7 -0
- package/build/concept-api-openapi.js.map +1 -0
- package/build/concept-api.d.ts +69 -221
- package/build/concept-api.js +27 -21
- package/build/concept-api.js.map +1 -1
- package/build/draft-api-openapi.d.ts +2893 -0
- package/build/draft-api-openapi.js +7 -0
- package/build/draft-api-openapi.js.map +1 -0
- package/build/draft-api.d.ts +117 -292
- package/build/draft-api.js +27 -13
- package/build/draft-api.js.map +1 -1
- package/build/frontpage-api-openapi.d.ts +800 -0
- package/build/frontpage-api-openapi.js +7 -0
- package/build/frontpage-api-openapi.js.map +1 -0
- package/build/frontpage-api.d.ts +53 -121
- package/build/frontpage-api.js +27 -1
- package/build/frontpage-api.js.map +1 -1
- package/build/image-api-openapi.d.ts +2192 -0
- package/build/image-api-openapi.js +7 -0
- package/build/image-api-openapi.js.map +1 -0
- package/build/image-api.d.ts +61 -174
- package/build/image-api.js +27 -13
- package/build/image-api.js.map +1 -1
- package/build/learningpath-api-openapi.d.ts +2671 -0
- package/build/learningpath-api-openapi.js +7 -0
- package/build/learningpath-api-openapi.js.map +1 -0
- package/build/learningpath-api.d.ts +71 -143
- package/build/learningpath-api.js +27 -1
- package/build/learningpath-api.js.map +1 -1
- package/build/myndla-api-openapi.d.ts +2718 -0
- package/build/myndla-api-openapi.js +7 -0
- package/build/myndla-api-openapi.js.map +1 -0
- package/build/myndla-api.d.ts +69 -125
- package/build/myndla-api.js +27 -1
- package/build/myndla-api.js.map +1 -1
- package/build/oembed-proxy-openapi.d.ts +249 -0
- package/build/oembed-proxy-openapi.js +7 -0
- package/build/oembed-proxy-openapi.js.map +1 -0
- package/build/oembed-proxy.d.ts +15 -0
- package/build/oembed-proxy.js +30 -0
- package/build/oembed-proxy.js.map +1 -0
- package/build/search-api-openapi.d.ts +1525 -0
- package/build/search-api-openapi.js +7 -0
- package/build/search-api-openapi.js.map +1 -0
- package/build/search-api.d.ts +121 -422
- package/build/search-api.js +27 -33
- package/build/search-api.js.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,2718 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export type paths = {
|
|
6
|
+
"/myndla-api/v1/folders": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Fetch top folders that belongs to a user
|
|
15
|
+
* @description Fetch top folders that belongs to a user
|
|
16
|
+
*/
|
|
17
|
+
get: operations["getMyndla-apiV1Folders"];
|
|
18
|
+
put?: never;
|
|
19
|
+
/**
|
|
20
|
+
* Creates new folder
|
|
21
|
+
* @description Creates new folder
|
|
22
|
+
*/
|
|
23
|
+
post: operations["postMyndla-apiV1Folders"];
|
|
24
|
+
delete?: never;
|
|
25
|
+
options?: never;
|
|
26
|
+
head?: never;
|
|
27
|
+
patch?: never;
|
|
28
|
+
trace?: never;
|
|
29
|
+
};
|
|
30
|
+
"/myndla-api/v1/folders/resources": {
|
|
31
|
+
parameters: {
|
|
32
|
+
query?: never;
|
|
33
|
+
header?: never;
|
|
34
|
+
path?: never;
|
|
35
|
+
cookie?: never;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Fetch all resources that belongs to a user
|
|
39
|
+
* @description Fetch all resources that belongs to a user
|
|
40
|
+
*/
|
|
41
|
+
get: operations["getMyndla-apiV1FoldersResources"];
|
|
42
|
+
put?: never;
|
|
43
|
+
post?: never;
|
|
44
|
+
delete?: never;
|
|
45
|
+
options?: never;
|
|
46
|
+
head?: never;
|
|
47
|
+
patch?: never;
|
|
48
|
+
trace?: never;
|
|
49
|
+
};
|
|
50
|
+
"/myndla-api/v1/folders/resources/recent": {
|
|
51
|
+
parameters: {
|
|
52
|
+
query?: never;
|
|
53
|
+
header?: never;
|
|
54
|
+
path?: never;
|
|
55
|
+
cookie?: never;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Fetch the most recent favorited resource
|
|
59
|
+
* @description Fetch the most recent favorited resource
|
|
60
|
+
*/
|
|
61
|
+
get: operations["getMyndla-apiV1FoldersResourcesRecent"];
|
|
62
|
+
put?: never;
|
|
63
|
+
post?: never;
|
|
64
|
+
delete?: never;
|
|
65
|
+
options?: never;
|
|
66
|
+
head?: never;
|
|
67
|
+
patch?: never;
|
|
68
|
+
trace?: never;
|
|
69
|
+
};
|
|
70
|
+
"/myndla-api/v1/folders/{folder-id}": {
|
|
71
|
+
parameters: {
|
|
72
|
+
query?: never;
|
|
73
|
+
header?: never;
|
|
74
|
+
path?: never;
|
|
75
|
+
cookie?: never;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Fetch a folder and all its content
|
|
79
|
+
* @description Fetch a folder and all its content
|
|
80
|
+
*/
|
|
81
|
+
get: operations["getMyndla-apiV1FoldersFolder-id"];
|
|
82
|
+
put?: never;
|
|
83
|
+
post?: never;
|
|
84
|
+
/**
|
|
85
|
+
* Remove folder from user folders
|
|
86
|
+
* @description Remove folder from user folders
|
|
87
|
+
*/
|
|
88
|
+
delete: operations["deleteMyndla-apiV1FoldersFolder-id"];
|
|
89
|
+
options?: never;
|
|
90
|
+
head?: never;
|
|
91
|
+
/**
|
|
92
|
+
* Update folder with new data
|
|
93
|
+
* @description Update folder with new data
|
|
94
|
+
*/
|
|
95
|
+
patch: operations["patchMyndla-apiV1FoldersFolder-id"];
|
|
96
|
+
trace?: never;
|
|
97
|
+
};
|
|
98
|
+
"/myndla-api/v1/folders/{folder-id}/resources": {
|
|
99
|
+
parameters: {
|
|
100
|
+
query?: never;
|
|
101
|
+
header?: never;
|
|
102
|
+
path?: never;
|
|
103
|
+
cookie?: never;
|
|
104
|
+
};
|
|
105
|
+
get?: never;
|
|
106
|
+
put?: never;
|
|
107
|
+
/**
|
|
108
|
+
* Creates new folder resource
|
|
109
|
+
* @description Creates new folder resource
|
|
110
|
+
*/
|
|
111
|
+
post: operations["postMyndla-apiV1FoldersFolder-idResources"];
|
|
112
|
+
delete?: never;
|
|
113
|
+
options?: never;
|
|
114
|
+
head?: never;
|
|
115
|
+
patch?: never;
|
|
116
|
+
trace?: never;
|
|
117
|
+
};
|
|
118
|
+
"/myndla-api/v1/folders/resources/{resource-id}": {
|
|
119
|
+
parameters: {
|
|
120
|
+
query?: never;
|
|
121
|
+
header?: never;
|
|
122
|
+
path?: never;
|
|
123
|
+
cookie?: never;
|
|
124
|
+
};
|
|
125
|
+
get?: never;
|
|
126
|
+
put?: never;
|
|
127
|
+
post?: never;
|
|
128
|
+
delete?: never;
|
|
129
|
+
options?: never;
|
|
130
|
+
head?: never;
|
|
131
|
+
/**
|
|
132
|
+
* Updated selected resource
|
|
133
|
+
* @description Updates selected resource
|
|
134
|
+
*/
|
|
135
|
+
patch: operations["patchMyndla-apiV1FoldersResourcesResource-id"];
|
|
136
|
+
trace?: never;
|
|
137
|
+
};
|
|
138
|
+
"/myndla-api/v1/folders/{folder-id}/resources/{resource-id}": {
|
|
139
|
+
parameters: {
|
|
140
|
+
query?: never;
|
|
141
|
+
header?: never;
|
|
142
|
+
path?: never;
|
|
143
|
+
cookie?: never;
|
|
144
|
+
};
|
|
145
|
+
get?: never;
|
|
146
|
+
put?: never;
|
|
147
|
+
post?: never;
|
|
148
|
+
/**
|
|
149
|
+
* Delete selected resource
|
|
150
|
+
* @description Delete selected resource
|
|
151
|
+
*/
|
|
152
|
+
delete: operations["deleteMyndla-apiV1FoldersFolder-idResourcesResource-id"];
|
|
153
|
+
options?: never;
|
|
154
|
+
head?: never;
|
|
155
|
+
patch?: never;
|
|
156
|
+
trace?: never;
|
|
157
|
+
};
|
|
158
|
+
"/myndla-api/v1/folders/shared/{folder-id}": {
|
|
159
|
+
parameters: {
|
|
160
|
+
query?: never;
|
|
161
|
+
header?: never;
|
|
162
|
+
path?: never;
|
|
163
|
+
cookie?: never;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Fetch a shared folder and all its content
|
|
167
|
+
* @description Fetch a shared folder and all its content
|
|
168
|
+
*/
|
|
169
|
+
get: operations["getMyndla-apiV1FoldersSharedFolder-id"];
|
|
170
|
+
put?: never;
|
|
171
|
+
post?: never;
|
|
172
|
+
delete?: never;
|
|
173
|
+
options?: never;
|
|
174
|
+
head?: never;
|
|
175
|
+
/**
|
|
176
|
+
* Change status for given folder and all its subfolders
|
|
177
|
+
* @description Change status for given folder and all its subfolders
|
|
178
|
+
*/
|
|
179
|
+
patch: operations["patchMyndla-apiV1FoldersSharedFolder-id"];
|
|
180
|
+
trace?: never;
|
|
181
|
+
};
|
|
182
|
+
"/myndla-api/v1/folders/clone/{source-folder-id}": {
|
|
183
|
+
parameters: {
|
|
184
|
+
query?: never;
|
|
185
|
+
header?: never;
|
|
186
|
+
path?: never;
|
|
187
|
+
cookie?: never;
|
|
188
|
+
};
|
|
189
|
+
get?: never;
|
|
190
|
+
put?: never;
|
|
191
|
+
/**
|
|
192
|
+
* Creates new folder structure based on source folder structure
|
|
193
|
+
* @description Creates new folder structure based on source folder structure
|
|
194
|
+
*/
|
|
195
|
+
post: operations["postMyndla-apiV1FoldersCloneSource-folder-id"];
|
|
196
|
+
delete?: never;
|
|
197
|
+
options?: never;
|
|
198
|
+
head?: never;
|
|
199
|
+
patch?: never;
|
|
200
|
+
trace?: never;
|
|
201
|
+
};
|
|
202
|
+
"/myndla-api/v1/folders/sort-resources/{folder-id}": {
|
|
203
|
+
parameters: {
|
|
204
|
+
query?: never;
|
|
205
|
+
header?: never;
|
|
206
|
+
path?: never;
|
|
207
|
+
cookie?: never;
|
|
208
|
+
};
|
|
209
|
+
get?: never;
|
|
210
|
+
/**
|
|
211
|
+
* Decide order of resource ids in a folder
|
|
212
|
+
* @description Decide order of resource ids in a folder
|
|
213
|
+
*/
|
|
214
|
+
put: operations["putMyndla-apiV1FoldersSort-resourcesFolder-id"];
|
|
215
|
+
post?: never;
|
|
216
|
+
delete?: never;
|
|
217
|
+
options?: never;
|
|
218
|
+
head?: never;
|
|
219
|
+
patch?: never;
|
|
220
|
+
trace?: never;
|
|
221
|
+
};
|
|
222
|
+
"/myndla-api/v1/folders/sort-subfolders": {
|
|
223
|
+
parameters: {
|
|
224
|
+
query?: never;
|
|
225
|
+
header?: never;
|
|
226
|
+
path?: never;
|
|
227
|
+
cookie?: never;
|
|
228
|
+
};
|
|
229
|
+
get?: never;
|
|
230
|
+
/**
|
|
231
|
+
* Decide order of subfolder ids in a folder
|
|
232
|
+
* @description Decide order of subfolder ids in a folder
|
|
233
|
+
*/
|
|
234
|
+
put: operations["putMyndla-apiV1FoldersSort-subfolders"];
|
|
235
|
+
post?: never;
|
|
236
|
+
delete?: never;
|
|
237
|
+
options?: never;
|
|
238
|
+
head?: never;
|
|
239
|
+
patch?: never;
|
|
240
|
+
trace?: never;
|
|
241
|
+
};
|
|
242
|
+
"/myndla-api/v1/folders/sort-saved": {
|
|
243
|
+
parameters: {
|
|
244
|
+
query?: never;
|
|
245
|
+
header?: never;
|
|
246
|
+
path?: never;
|
|
247
|
+
cookie?: never;
|
|
248
|
+
};
|
|
249
|
+
get?: never;
|
|
250
|
+
/**
|
|
251
|
+
* Decide order of saved shared folders
|
|
252
|
+
* @description Decide order of saved shared folders
|
|
253
|
+
*/
|
|
254
|
+
put: operations["putMyndla-apiV1FoldersSort-saved"];
|
|
255
|
+
post?: never;
|
|
256
|
+
delete?: never;
|
|
257
|
+
options?: never;
|
|
258
|
+
head?: never;
|
|
259
|
+
patch?: never;
|
|
260
|
+
trace?: never;
|
|
261
|
+
};
|
|
262
|
+
"/myndla-api/v1/folders/shared/{folder-id}/save": {
|
|
263
|
+
parameters: {
|
|
264
|
+
query?: never;
|
|
265
|
+
header?: never;
|
|
266
|
+
path?: never;
|
|
267
|
+
cookie?: never;
|
|
268
|
+
};
|
|
269
|
+
get?: never;
|
|
270
|
+
put?: never;
|
|
271
|
+
/**
|
|
272
|
+
* Saves a shared folder
|
|
273
|
+
* @description Saves a shared folder
|
|
274
|
+
*/
|
|
275
|
+
post: operations["postMyndla-apiV1FoldersSharedFolder-idSave"];
|
|
276
|
+
/**
|
|
277
|
+
* Deletes a saved shared folder
|
|
278
|
+
* @description Deletes a saved shared folder
|
|
279
|
+
*/
|
|
280
|
+
delete: operations["deleteMyndla-apiV1FoldersSharedFolder-idSave"];
|
|
281
|
+
options?: never;
|
|
282
|
+
head?: never;
|
|
283
|
+
patch?: never;
|
|
284
|
+
trace?: never;
|
|
285
|
+
};
|
|
286
|
+
"/myndla-api/v1/users": {
|
|
287
|
+
parameters: {
|
|
288
|
+
query?: never;
|
|
289
|
+
header?: never;
|
|
290
|
+
path?: never;
|
|
291
|
+
cookie?: never;
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* Get user data
|
|
295
|
+
* @description Get user data
|
|
296
|
+
*/
|
|
297
|
+
get: operations["getMyndla-apiV1Users"];
|
|
298
|
+
put?: never;
|
|
299
|
+
post?: never;
|
|
300
|
+
delete?: never;
|
|
301
|
+
options?: never;
|
|
302
|
+
head?: never;
|
|
303
|
+
/**
|
|
304
|
+
* Update user data
|
|
305
|
+
* @description Update user data
|
|
306
|
+
*/
|
|
307
|
+
patch: operations["patchMyndla-apiV1Users"];
|
|
308
|
+
trace?: never;
|
|
309
|
+
};
|
|
310
|
+
"/myndla-api/v1/users/delete-personal-data": {
|
|
311
|
+
parameters: {
|
|
312
|
+
query?: never;
|
|
313
|
+
header?: never;
|
|
314
|
+
path?: never;
|
|
315
|
+
cookie?: never;
|
|
316
|
+
};
|
|
317
|
+
get?: never;
|
|
318
|
+
put?: never;
|
|
319
|
+
post?: never;
|
|
320
|
+
/**
|
|
321
|
+
* Delete all data connected to this user
|
|
322
|
+
* @description Delete all data connected to this user
|
|
323
|
+
*/
|
|
324
|
+
delete: operations["deleteMyndla-apiV1UsersDelete-personal-data"];
|
|
325
|
+
options?: never;
|
|
326
|
+
head?: never;
|
|
327
|
+
patch?: never;
|
|
328
|
+
trace?: never;
|
|
329
|
+
};
|
|
330
|
+
"/myndla-api/v1/users/export": {
|
|
331
|
+
parameters: {
|
|
332
|
+
query?: never;
|
|
333
|
+
header?: never;
|
|
334
|
+
path?: never;
|
|
335
|
+
cookie?: never;
|
|
336
|
+
};
|
|
337
|
+
/**
|
|
338
|
+
* Export all stored user-related data as a json structure
|
|
339
|
+
* @description Export all stored user-related data as a json structure
|
|
340
|
+
*/
|
|
341
|
+
get: operations["getMyndla-apiV1UsersExport"];
|
|
342
|
+
put?: never;
|
|
343
|
+
post?: never;
|
|
344
|
+
delete?: never;
|
|
345
|
+
options?: never;
|
|
346
|
+
head?: never;
|
|
347
|
+
patch?: never;
|
|
348
|
+
trace?: never;
|
|
349
|
+
};
|
|
350
|
+
"/myndla-api/v1/users/import": {
|
|
351
|
+
parameters: {
|
|
352
|
+
query?: never;
|
|
353
|
+
header?: never;
|
|
354
|
+
path?: never;
|
|
355
|
+
cookie?: never;
|
|
356
|
+
};
|
|
357
|
+
get?: never;
|
|
358
|
+
put?: never;
|
|
359
|
+
/**
|
|
360
|
+
* Import all stored user-related data from a exported json structure
|
|
361
|
+
* @description Import all stored user-related data from a exported json structure
|
|
362
|
+
*/
|
|
363
|
+
post: operations["postMyndla-apiV1UsersImport"];
|
|
364
|
+
delete?: never;
|
|
365
|
+
options?: never;
|
|
366
|
+
head?: never;
|
|
367
|
+
patch?: never;
|
|
368
|
+
trace?: never;
|
|
369
|
+
};
|
|
370
|
+
"/myndla-api/v1/config/{config-key}": {
|
|
371
|
+
parameters: {
|
|
372
|
+
query?: never;
|
|
373
|
+
header?: never;
|
|
374
|
+
path?: never;
|
|
375
|
+
cookie?: never;
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* Get db configuration by key
|
|
379
|
+
* @description Get db configuration by key
|
|
380
|
+
*/
|
|
381
|
+
get: operations["getMyndla-apiV1ConfigConfig-key"];
|
|
382
|
+
put?: never;
|
|
383
|
+
/**
|
|
384
|
+
* Update configuration used by api.
|
|
385
|
+
* @description Update configuration used by api.
|
|
386
|
+
*/
|
|
387
|
+
post: operations["postMyndla-apiV1ConfigConfig-key"];
|
|
388
|
+
delete?: never;
|
|
389
|
+
options?: never;
|
|
390
|
+
head?: never;
|
|
391
|
+
patch?: never;
|
|
392
|
+
trace?: never;
|
|
393
|
+
};
|
|
394
|
+
"/myndla-api/v1/stats": {
|
|
395
|
+
parameters: {
|
|
396
|
+
query?: never;
|
|
397
|
+
header?: never;
|
|
398
|
+
path?: never;
|
|
399
|
+
cookie?: never;
|
|
400
|
+
};
|
|
401
|
+
/**
|
|
402
|
+
* Get stats
|
|
403
|
+
* @description Get stats
|
|
404
|
+
*/
|
|
405
|
+
get: operations["getMyndla-apiV1Stats"];
|
|
406
|
+
put?: never;
|
|
407
|
+
post?: never;
|
|
408
|
+
delete?: never;
|
|
409
|
+
options?: never;
|
|
410
|
+
head?: never;
|
|
411
|
+
patch?: never;
|
|
412
|
+
trace?: never;
|
|
413
|
+
};
|
|
414
|
+
"/myndla-api/v1/stats/favorites": {
|
|
415
|
+
parameters: {
|
|
416
|
+
query?: never;
|
|
417
|
+
header?: never;
|
|
418
|
+
path?: never;
|
|
419
|
+
cookie?: never;
|
|
420
|
+
};
|
|
421
|
+
/**
|
|
422
|
+
* Get number of favorites for favorited resources
|
|
423
|
+
* @description Get number of favorites for favorited resources
|
|
424
|
+
*/
|
|
425
|
+
get: operations["getMyndla-apiV1StatsFavorites"];
|
|
426
|
+
put?: never;
|
|
427
|
+
post?: never;
|
|
428
|
+
delete?: never;
|
|
429
|
+
options?: never;
|
|
430
|
+
head?: never;
|
|
431
|
+
patch?: never;
|
|
432
|
+
trace?: never;
|
|
433
|
+
};
|
|
434
|
+
"/myndla-api/v1/stats/favorites/{resourceType}/{resourceIds}": {
|
|
435
|
+
parameters: {
|
|
436
|
+
query?: never;
|
|
437
|
+
header?: never;
|
|
438
|
+
path?: never;
|
|
439
|
+
cookie?: never;
|
|
440
|
+
};
|
|
441
|
+
/**
|
|
442
|
+
* Get folder resource favorites
|
|
443
|
+
* @description Get folder resource favorites
|
|
444
|
+
*/
|
|
445
|
+
get: operations["getMyndla-apiV1StatsFavoritesResourcetypeResourceids"];
|
|
446
|
+
put?: never;
|
|
447
|
+
post?: never;
|
|
448
|
+
delete?: never;
|
|
449
|
+
options?: never;
|
|
450
|
+
head?: never;
|
|
451
|
+
patch?: never;
|
|
452
|
+
trace?: never;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
export type webhooks = Record<string, never>;
|
|
456
|
+
export type components = {
|
|
457
|
+
schemas: {
|
|
458
|
+
/** AllErrors */
|
|
459
|
+
AllErrors: components["schemas"]["ErrorBody"] | components["schemas"]["NotFoundWithSupportedLanguages"] | components["schemas"]["ValidationErrorBody"];
|
|
460
|
+
/** BreadcrumbDTO */
|
|
461
|
+
BreadcrumbDTO: {
|
|
462
|
+
/** @description UUID of the folder */
|
|
463
|
+
id: string;
|
|
464
|
+
/** @description Folder name */
|
|
465
|
+
name: string;
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* ConfigKey
|
|
469
|
+
* @enum {string}
|
|
470
|
+
*/
|
|
471
|
+
ConfigKey: "LEARNINGPATH_WRITE_RESTRICTED" | "MY_NDLA_WRITE_RESTRICTED";
|
|
472
|
+
/**
|
|
473
|
+
* ConfigMetaDTO
|
|
474
|
+
* @description Describes configuration value.
|
|
475
|
+
*/
|
|
476
|
+
ConfigMetaDTO: {
|
|
477
|
+
/** @description Configuration key */
|
|
478
|
+
key: string;
|
|
479
|
+
/** @description Configuration value. */
|
|
480
|
+
value: string[] | boolean;
|
|
481
|
+
/** @description Date of when configuration was last updated */
|
|
482
|
+
updatedAt: string;
|
|
483
|
+
/** @description UserId of who last updated the configuration parameter. */
|
|
484
|
+
updatedBy: string;
|
|
485
|
+
};
|
|
486
|
+
/**
|
|
487
|
+
* ConfigMetaRestrictedDTO
|
|
488
|
+
* @description Describes configuration value.
|
|
489
|
+
*/
|
|
490
|
+
ConfigMetaRestrictedDTO: {
|
|
491
|
+
/** @description Configuration key */
|
|
492
|
+
key: string;
|
|
493
|
+
/** @description Configuration value. */
|
|
494
|
+
value: string[] | boolean;
|
|
495
|
+
};
|
|
496
|
+
/** ConfigMetaValueDTO */
|
|
497
|
+
ConfigMetaValueDTO: {
|
|
498
|
+
/** @description Value to set configuration param to. */
|
|
499
|
+
value: string[] | boolean;
|
|
500
|
+
};
|
|
501
|
+
/**
|
|
502
|
+
* ErrorBody
|
|
503
|
+
* @description Information about an error
|
|
504
|
+
*/
|
|
505
|
+
ErrorBody: {
|
|
506
|
+
/** @description Code stating the type of error */
|
|
507
|
+
code: string;
|
|
508
|
+
/** @description Description of the error */
|
|
509
|
+
description: string;
|
|
510
|
+
/** @description When the error occurred */
|
|
511
|
+
occurredAt: string;
|
|
512
|
+
/**
|
|
513
|
+
* Format: int32
|
|
514
|
+
* @description Numeric http status code
|
|
515
|
+
*/
|
|
516
|
+
statusCode: number;
|
|
517
|
+
};
|
|
518
|
+
/** ExportedUserDataDTO */
|
|
519
|
+
ExportedUserDataDTO: {
|
|
520
|
+
/** @description The users data */
|
|
521
|
+
userData: components["schemas"]["MyNDLAUserDTO"];
|
|
522
|
+
/** @description The users folders */
|
|
523
|
+
folders: components["schemas"]["FolderDTO"][];
|
|
524
|
+
};
|
|
525
|
+
/** FolderDTO */
|
|
526
|
+
FolderDTO: {
|
|
527
|
+
/** @description UUID of the folder */
|
|
528
|
+
id: string;
|
|
529
|
+
/** @description Folder name */
|
|
530
|
+
name: string;
|
|
531
|
+
/** @description Folder status */
|
|
532
|
+
status: string;
|
|
533
|
+
/** @description UUID of parent folder */
|
|
534
|
+
parentId?: string;
|
|
535
|
+
/** @description List of parent folders to resource */
|
|
536
|
+
breadcrumbs: components["schemas"]["BreadcrumbDTO"][];
|
|
537
|
+
/** @description List of subfolders */
|
|
538
|
+
subfolders: components["schemas"]["FolderDataDTO"][];
|
|
539
|
+
/** @description List of resources */
|
|
540
|
+
resources: components["schemas"]["ResourceDTO"][];
|
|
541
|
+
/**
|
|
542
|
+
* Format: int32
|
|
543
|
+
* @description Where the folder is sorted within its parent
|
|
544
|
+
*/
|
|
545
|
+
rank: number;
|
|
546
|
+
/** @description When the folder was created */
|
|
547
|
+
created: string;
|
|
548
|
+
/** @description When the folder was updated */
|
|
549
|
+
updated: string;
|
|
550
|
+
/** @description When the folder was last shared */
|
|
551
|
+
shared?: string;
|
|
552
|
+
/** @description Description of the folder */
|
|
553
|
+
description?: string;
|
|
554
|
+
owner?: components["schemas"]["OwnerDTO"];
|
|
555
|
+
};
|
|
556
|
+
/** FolderDataDTO */
|
|
557
|
+
FolderDataDTO: components["schemas"]["FolderDTO"];
|
|
558
|
+
/** FolderSortRequestDTO */
|
|
559
|
+
FolderSortRequestDTO: {
|
|
560
|
+
/** @description List of the children ids in sorted order, MUST be all ids */
|
|
561
|
+
sortedIds: string[];
|
|
562
|
+
};
|
|
563
|
+
/**
|
|
564
|
+
* FolderStatus
|
|
565
|
+
* @enum {string}
|
|
566
|
+
*/
|
|
567
|
+
FolderStatus: "private" | "shared";
|
|
568
|
+
/** Map_Long */
|
|
569
|
+
Map_Long: {
|
|
570
|
+
[key: string]: number;
|
|
571
|
+
};
|
|
572
|
+
/** Map_Map_String_Long */
|
|
573
|
+
Map_Map_String_Long: {
|
|
574
|
+
[key: string]: components["schemas"]["Map_Long"];
|
|
575
|
+
};
|
|
576
|
+
/** MyNDLAGroupDTO */
|
|
577
|
+
MyNDLAGroupDTO: {
|
|
578
|
+
/** @description ID of the group */
|
|
579
|
+
id: string;
|
|
580
|
+
/** @description Name of the group */
|
|
581
|
+
displayName: string;
|
|
582
|
+
/** @description Is this the primary school */
|
|
583
|
+
isPrimarySchool: boolean;
|
|
584
|
+
/** @description ID of parent group */
|
|
585
|
+
parentId?: string;
|
|
586
|
+
};
|
|
587
|
+
/** MyNDLAUserDTO */
|
|
588
|
+
MyNDLAUserDTO: {
|
|
589
|
+
/**
|
|
590
|
+
* Format: int64
|
|
591
|
+
* @description ID of the user
|
|
592
|
+
*/
|
|
593
|
+
id: number;
|
|
594
|
+
/** @description FeideID of the user */
|
|
595
|
+
feideId: string;
|
|
596
|
+
/** @description Username of the user */
|
|
597
|
+
username: string;
|
|
598
|
+
/** @description Email address of the user */
|
|
599
|
+
email: string;
|
|
600
|
+
/** @description Name of the user */
|
|
601
|
+
displayName: string;
|
|
602
|
+
/** @description Favorite subjects of the user */
|
|
603
|
+
favoriteSubjects: string[];
|
|
604
|
+
role: components["schemas"]["UserRole"];
|
|
605
|
+
/** @description User root organization */
|
|
606
|
+
organization: string;
|
|
607
|
+
/** @description User groups */
|
|
608
|
+
groups: components["schemas"]["MyNDLAGroupDTO"][];
|
|
609
|
+
/** @description Whether arena is explicitly enabled for the user */
|
|
610
|
+
arenaEnabled: boolean;
|
|
611
|
+
/** @description Whether the user has accepted the use of arena */
|
|
612
|
+
arenaAccepted: boolean;
|
|
613
|
+
/** @description Whether the user has accepted the sharing of their name */
|
|
614
|
+
shareNameAccepted: boolean;
|
|
615
|
+
};
|
|
616
|
+
/** NewFolderDTO */
|
|
617
|
+
NewFolderDTO: {
|
|
618
|
+
/** @description Folder name */
|
|
619
|
+
name: string;
|
|
620
|
+
/** @description Id of parent folder */
|
|
621
|
+
parentId?: string;
|
|
622
|
+
/** @description Status of the folder (private, shared) */
|
|
623
|
+
status?: string;
|
|
624
|
+
/** @description Description of the folder */
|
|
625
|
+
description?: string;
|
|
626
|
+
};
|
|
627
|
+
/** NewResourceDTO */
|
|
628
|
+
NewResourceDTO: {
|
|
629
|
+
/** @description Type of the resource. (Article, Learningpath) */
|
|
630
|
+
resourceType: components["schemas"]["ResourceType"];
|
|
631
|
+
/** @description Relative path of this resource */
|
|
632
|
+
path: string;
|
|
633
|
+
/** @description List of tags */
|
|
634
|
+
tags?: string[];
|
|
635
|
+
/** @description The id of the resource, useful for fetching metadata for the resource */
|
|
636
|
+
resourceId: string;
|
|
637
|
+
};
|
|
638
|
+
/**
|
|
639
|
+
* NotFoundWithSupportedLanguages
|
|
640
|
+
* @description Information about an error
|
|
641
|
+
*/
|
|
642
|
+
NotFoundWithSupportedLanguages: {
|
|
643
|
+
/** @description Code stating the type of error */
|
|
644
|
+
code: string;
|
|
645
|
+
/** @description Description of the error */
|
|
646
|
+
description: string;
|
|
647
|
+
/** @description When the error occurred */
|
|
648
|
+
occurredAt: string;
|
|
649
|
+
/** @description List of supported languages */
|
|
650
|
+
supportedLanguages?: string[];
|
|
651
|
+
/**
|
|
652
|
+
* Format: int32
|
|
653
|
+
* @description Numeric http status code
|
|
654
|
+
*/
|
|
655
|
+
statusCode: number;
|
|
656
|
+
};
|
|
657
|
+
/**
|
|
658
|
+
* OwnerDTO
|
|
659
|
+
* @description Owner of the folder, if the owner have opted in to share their name
|
|
660
|
+
*/
|
|
661
|
+
OwnerDTO: {
|
|
662
|
+
/** @description Name of the owner */
|
|
663
|
+
name: string;
|
|
664
|
+
};
|
|
665
|
+
/** ResourceDTO */
|
|
666
|
+
ResourceDTO: {
|
|
667
|
+
/** @description Unique ID of the resource */
|
|
668
|
+
id: string;
|
|
669
|
+
/** @description Type of the resource. (Article, Learningpath) */
|
|
670
|
+
resourceType: components["schemas"]["ResourceType"];
|
|
671
|
+
/** @description Relative path of this resource */
|
|
672
|
+
path: string;
|
|
673
|
+
/** @description When the resource was created */
|
|
674
|
+
created: string;
|
|
675
|
+
/** @description List of tags */
|
|
676
|
+
tags: string[];
|
|
677
|
+
/** @description The id of the resource, useful for fetching metadata for the resource */
|
|
678
|
+
resourceId: string;
|
|
679
|
+
/**
|
|
680
|
+
* Format: int32
|
|
681
|
+
* @description The which rank the resource appears in a sorted sequence
|
|
682
|
+
*/
|
|
683
|
+
rank?: number;
|
|
684
|
+
};
|
|
685
|
+
/** ResourceStatsDTO */
|
|
686
|
+
ResourceStatsDTO: {
|
|
687
|
+
/** @description The type of favourited resouce */
|
|
688
|
+
type: string;
|
|
689
|
+
/**
|
|
690
|
+
* Format: int64
|
|
691
|
+
* @description The number of favourited resource
|
|
692
|
+
*/
|
|
693
|
+
number: number;
|
|
694
|
+
};
|
|
695
|
+
/**
|
|
696
|
+
* ResourceType
|
|
697
|
+
* @enum {string}
|
|
698
|
+
*/
|
|
699
|
+
ResourceType: "article" | "audio" | "concept" | "image" | "learningpath" | "multidisciplinary" | "topic" | "video";
|
|
700
|
+
/**
|
|
701
|
+
* SingleResourceStatsDTO
|
|
702
|
+
* @description Stats for single resource
|
|
703
|
+
*/
|
|
704
|
+
SingleResourceStatsDTO: {
|
|
705
|
+
/** @description Id of the resource */
|
|
706
|
+
id: string;
|
|
707
|
+
/**
|
|
708
|
+
* Format: int64
|
|
709
|
+
* @description The number of times the resource has been favorited
|
|
710
|
+
*/
|
|
711
|
+
favourites: number;
|
|
712
|
+
};
|
|
713
|
+
/**
|
|
714
|
+
* StatsDTO
|
|
715
|
+
* @description Stats for my-ndla usage
|
|
716
|
+
*/
|
|
717
|
+
StatsDTO: {
|
|
718
|
+
/**
|
|
719
|
+
* Format: int64
|
|
720
|
+
* @description The total number of users registered
|
|
721
|
+
*/
|
|
722
|
+
numberOfUsers: number;
|
|
723
|
+
/**
|
|
724
|
+
* Format: int64
|
|
725
|
+
* @description The total number of created folders
|
|
726
|
+
*/
|
|
727
|
+
numberOfFolders: number;
|
|
728
|
+
/**
|
|
729
|
+
* Format: int64
|
|
730
|
+
* @description The total number of favourited resources
|
|
731
|
+
*/
|
|
732
|
+
numberOfResources: number;
|
|
733
|
+
/**
|
|
734
|
+
* Format: int64
|
|
735
|
+
* @description The total number of created tags
|
|
736
|
+
*/
|
|
737
|
+
numberOfTags: number;
|
|
738
|
+
/**
|
|
739
|
+
* Format: int64
|
|
740
|
+
* @description The total number of favourited subjects
|
|
741
|
+
*/
|
|
742
|
+
numberOfSubjects: number;
|
|
743
|
+
/**
|
|
744
|
+
* Format: int64
|
|
745
|
+
* @description The total number of shared folders
|
|
746
|
+
*/
|
|
747
|
+
numberOfSharedFolders: number;
|
|
748
|
+
/**
|
|
749
|
+
* Format: int64
|
|
750
|
+
* @description The total number of learning paths in My NDLA
|
|
751
|
+
*/
|
|
752
|
+
numberOfMyNdlaLearningPaths: number;
|
|
753
|
+
/** @description Stats for type resources */
|
|
754
|
+
favouritedResources: components["schemas"]["ResourceStatsDTO"][];
|
|
755
|
+
/** @description Stats for favourited resources */
|
|
756
|
+
favourited: components["schemas"]["Map_Long"];
|
|
757
|
+
users: components["schemas"]["UserStatsDTO"];
|
|
758
|
+
};
|
|
759
|
+
/** UpdatedFolderDTO */
|
|
760
|
+
UpdatedFolderDTO: {
|
|
761
|
+
/** @description Folder name */
|
|
762
|
+
name?: string;
|
|
763
|
+
/** @description Status of the folder (private, shared) */
|
|
764
|
+
status?: string;
|
|
765
|
+
/** @description Description of the folder */
|
|
766
|
+
description?: string;
|
|
767
|
+
};
|
|
768
|
+
/** UpdatedMyNDLAUserDTO */
|
|
769
|
+
UpdatedMyNDLAUserDTO: {
|
|
770
|
+
/** @description Favorite subjects of the user */
|
|
771
|
+
favoriteSubjects?: string[];
|
|
772
|
+
/** @description Whether arena should explicitly be enabled for the user */
|
|
773
|
+
arenaEnabled?: boolean;
|
|
774
|
+
/** @description Whether the user has accepted the use of arena */
|
|
775
|
+
arenaAccepted?: boolean;
|
|
776
|
+
/** @description Whether the user has accepted the sharing of their name */
|
|
777
|
+
shareNameAccepted?: boolean;
|
|
778
|
+
};
|
|
779
|
+
/** UpdatedResourceDTO */
|
|
780
|
+
UpdatedResourceDTO: {
|
|
781
|
+
/** @description List of tags */
|
|
782
|
+
tags?: string[];
|
|
783
|
+
/** @description The id of the resource, useful for fetching metadata for the resource */
|
|
784
|
+
resourceId?: string;
|
|
785
|
+
};
|
|
786
|
+
/**
|
|
787
|
+
* UserFolderDTO
|
|
788
|
+
* @description User folder data
|
|
789
|
+
*/
|
|
790
|
+
UserFolderDTO: {
|
|
791
|
+
/** @description The users own folders */
|
|
792
|
+
folders: components["schemas"]["FolderDTO"][];
|
|
793
|
+
/** @description The shared folder the user has saved */
|
|
794
|
+
sharedFolders: components["schemas"]["FolderDTO"][];
|
|
795
|
+
};
|
|
796
|
+
/**
|
|
797
|
+
* UserRole
|
|
798
|
+
* @description User role
|
|
799
|
+
* @enum {string}
|
|
800
|
+
*/
|
|
801
|
+
UserRole: "employee" | "student";
|
|
802
|
+
/**
|
|
803
|
+
* UserStatsDTO
|
|
804
|
+
* @description Stats for the users
|
|
805
|
+
*/
|
|
806
|
+
UserStatsDTO: {
|
|
807
|
+
/**
|
|
808
|
+
* Format: int64
|
|
809
|
+
* @description The total number of users
|
|
810
|
+
*/
|
|
811
|
+
total: number;
|
|
812
|
+
/**
|
|
813
|
+
* Format: int64
|
|
814
|
+
* @description The number of employees
|
|
815
|
+
*/
|
|
816
|
+
employees: number;
|
|
817
|
+
/**
|
|
818
|
+
* Format: int64
|
|
819
|
+
* @description The number of students
|
|
820
|
+
*/
|
|
821
|
+
students: number;
|
|
822
|
+
/**
|
|
823
|
+
* Format: int64
|
|
824
|
+
* @description The number of users with favourites
|
|
825
|
+
*/
|
|
826
|
+
withFavourites: number;
|
|
827
|
+
/**
|
|
828
|
+
* Format: int64
|
|
829
|
+
* @description The number of users with no favourites
|
|
830
|
+
*/
|
|
831
|
+
noFavourites: number;
|
|
832
|
+
/**
|
|
833
|
+
* Format: int64
|
|
834
|
+
* @description The number of users in the arena
|
|
835
|
+
*/
|
|
836
|
+
arena: number;
|
|
837
|
+
};
|
|
838
|
+
/**
|
|
839
|
+
* ValidationErrorBody
|
|
840
|
+
* @description Information about an error
|
|
841
|
+
*/
|
|
842
|
+
ValidationErrorBody: {
|
|
843
|
+
/** @description Code stating the type of error */
|
|
844
|
+
code: string;
|
|
845
|
+
/** @description Description of the error */
|
|
846
|
+
description: string;
|
|
847
|
+
/** @description When the error occurred */
|
|
848
|
+
occurredAt: string;
|
|
849
|
+
/** @description List of validation messages */
|
|
850
|
+
messages?: components["schemas"]["ValidationMessage"][];
|
|
851
|
+
/**
|
|
852
|
+
* Format: int32
|
|
853
|
+
* @description Numeric http status code
|
|
854
|
+
*/
|
|
855
|
+
statusCode: number;
|
|
856
|
+
};
|
|
857
|
+
/**
|
|
858
|
+
* ValidationMessage
|
|
859
|
+
* @description A message describing a validation error on a specific field
|
|
860
|
+
*/
|
|
861
|
+
ValidationMessage: {
|
|
862
|
+
/** @description The field the error occured in */
|
|
863
|
+
field: string;
|
|
864
|
+
/** @description The validation message */
|
|
865
|
+
message: string;
|
|
866
|
+
};
|
|
867
|
+
};
|
|
868
|
+
responses: never;
|
|
869
|
+
parameters: never;
|
|
870
|
+
requestBodies: never;
|
|
871
|
+
headers: never;
|
|
872
|
+
pathItems: never;
|
|
873
|
+
};
|
|
874
|
+
export type $defs = Record<string, never>;
|
|
875
|
+
export interface operations {
|
|
876
|
+
"getMyndla-apiV1Folders": {
|
|
877
|
+
parameters: {
|
|
878
|
+
query?: {
|
|
879
|
+
/** @description Choose if resources should be included in the response */
|
|
880
|
+
"include-resources"?: boolean;
|
|
881
|
+
/** @description Choose if sub-folders should be included in the response */
|
|
882
|
+
"include-subfolders"?: boolean;
|
|
883
|
+
};
|
|
884
|
+
header?: {
|
|
885
|
+
/** @description Header containing FEIDE access token. */
|
|
886
|
+
FeideAuthorization?: string;
|
|
887
|
+
};
|
|
888
|
+
path?: never;
|
|
889
|
+
cookie?: never;
|
|
890
|
+
};
|
|
891
|
+
requestBody?: never;
|
|
892
|
+
responses: {
|
|
893
|
+
200: {
|
|
894
|
+
headers: {
|
|
895
|
+
[name: string]: unknown;
|
|
896
|
+
};
|
|
897
|
+
content: {
|
|
898
|
+
"application/json": components["schemas"]["UserFolderDTO"];
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
400: {
|
|
902
|
+
headers: {
|
|
903
|
+
[name: string]: unknown;
|
|
904
|
+
};
|
|
905
|
+
content: {
|
|
906
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
907
|
+
};
|
|
908
|
+
};
|
|
909
|
+
401: {
|
|
910
|
+
headers: {
|
|
911
|
+
[name: string]: unknown;
|
|
912
|
+
};
|
|
913
|
+
content: {
|
|
914
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
403: {
|
|
918
|
+
headers: {
|
|
919
|
+
[name: string]: unknown;
|
|
920
|
+
};
|
|
921
|
+
content: {
|
|
922
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
923
|
+
};
|
|
924
|
+
};
|
|
925
|
+
404: {
|
|
926
|
+
headers: {
|
|
927
|
+
[name: string]: unknown;
|
|
928
|
+
};
|
|
929
|
+
content: {
|
|
930
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
931
|
+
};
|
|
932
|
+
};
|
|
933
|
+
500: {
|
|
934
|
+
headers: {
|
|
935
|
+
[name: string]: unknown;
|
|
936
|
+
};
|
|
937
|
+
content: {
|
|
938
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
939
|
+
};
|
|
940
|
+
};
|
|
941
|
+
};
|
|
942
|
+
};
|
|
943
|
+
"postMyndla-apiV1Folders": {
|
|
944
|
+
parameters: {
|
|
945
|
+
query?: never;
|
|
946
|
+
header?: {
|
|
947
|
+
/** @description Header containing FEIDE access token. */
|
|
948
|
+
FeideAuthorization?: string;
|
|
949
|
+
};
|
|
950
|
+
path?: never;
|
|
951
|
+
cookie?: never;
|
|
952
|
+
};
|
|
953
|
+
requestBody: {
|
|
954
|
+
content: {
|
|
955
|
+
"application/json": components["schemas"]["NewFolderDTO"];
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
responses: {
|
|
959
|
+
200: {
|
|
960
|
+
headers: {
|
|
961
|
+
[name: string]: unknown;
|
|
962
|
+
};
|
|
963
|
+
content: {
|
|
964
|
+
"application/json": components["schemas"]["FolderDTO"];
|
|
965
|
+
};
|
|
966
|
+
};
|
|
967
|
+
400: {
|
|
968
|
+
headers: {
|
|
969
|
+
[name: string]: unknown;
|
|
970
|
+
};
|
|
971
|
+
content: {
|
|
972
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
973
|
+
};
|
|
974
|
+
};
|
|
975
|
+
401: {
|
|
976
|
+
headers: {
|
|
977
|
+
[name: string]: unknown;
|
|
978
|
+
};
|
|
979
|
+
content: {
|
|
980
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
981
|
+
};
|
|
982
|
+
};
|
|
983
|
+
403: {
|
|
984
|
+
headers: {
|
|
985
|
+
[name: string]: unknown;
|
|
986
|
+
};
|
|
987
|
+
content: {
|
|
988
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
989
|
+
};
|
|
990
|
+
};
|
|
991
|
+
404: {
|
|
992
|
+
headers: {
|
|
993
|
+
[name: string]: unknown;
|
|
994
|
+
};
|
|
995
|
+
content: {
|
|
996
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
500: {
|
|
1000
|
+
headers: {
|
|
1001
|
+
[name: string]: unknown;
|
|
1002
|
+
};
|
|
1003
|
+
content: {
|
|
1004
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1005
|
+
};
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
};
|
|
1009
|
+
"getMyndla-apiV1FoldersResources": {
|
|
1010
|
+
parameters: {
|
|
1011
|
+
query?: {
|
|
1012
|
+
/** @description Limit the number of results to this many elements */
|
|
1013
|
+
size?: number;
|
|
1014
|
+
};
|
|
1015
|
+
header?: {
|
|
1016
|
+
/** @description Header containing FEIDE access token. */
|
|
1017
|
+
FeideAuthorization?: string;
|
|
1018
|
+
};
|
|
1019
|
+
path?: never;
|
|
1020
|
+
cookie?: never;
|
|
1021
|
+
};
|
|
1022
|
+
requestBody?: never;
|
|
1023
|
+
responses: {
|
|
1024
|
+
200: {
|
|
1025
|
+
headers: {
|
|
1026
|
+
[name: string]: unknown;
|
|
1027
|
+
};
|
|
1028
|
+
content: {
|
|
1029
|
+
"application/json": components["schemas"]["ResourceDTO"][];
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
400: {
|
|
1033
|
+
headers: {
|
|
1034
|
+
[name: string]: unknown;
|
|
1035
|
+
};
|
|
1036
|
+
content: {
|
|
1037
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1038
|
+
};
|
|
1039
|
+
};
|
|
1040
|
+
401: {
|
|
1041
|
+
headers: {
|
|
1042
|
+
[name: string]: unknown;
|
|
1043
|
+
};
|
|
1044
|
+
content: {
|
|
1045
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
403: {
|
|
1049
|
+
headers: {
|
|
1050
|
+
[name: string]: unknown;
|
|
1051
|
+
};
|
|
1052
|
+
content: {
|
|
1053
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
404: {
|
|
1057
|
+
headers: {
|
|
1058
|
+
[name: string]: unknown;
|
|
1059
|
+
};
|
|
1060
|
+
content: {
|
|
1061
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1062
|
+
};
|
|
1063
|
+
};
|
|
1064
|
+
500: {
|
|
1065
|
+
headers: {
|
|
1066
|
+
[name: string]: unknown;
|
|
1067
|
+
};
|
|
1068
|
+
content: {
|
|
1069
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1070
|
+
};
|
|
1071
|
+
};
|
|
1072
|
+
};
|
|
1073
|
+
};
|
|
1074
|
+
"getMyndla-apiV1FoldersResourcesRecent": {
|
|
1075
|
+
parameters: {
|
|
1076
|
+
query?: {
|
|
1077
|
+
/** @description How many latest favorited resources to return */
|
|
1078
|
+
size?: number;
|
|
1079
|
+
/** @description Which resource types to exclude. If None all resource types are included. To provide multiple resource types, separate by comma (,). */
|
|
1080
|
+
exclude?: components["schemas"]["ResourceType"][];
|
|
1081
|
+
};
|
|
1082
|
+
header?: never;
|
|
1083
|
+
path?: never;
|
|
1084
|
+
cookie?: never;
|
|
1085
|
+
};
|
|
1086
|
+
requestBody?: never;
|
|
1087
|
+
responses: {
|
|
1088
|
+
200: {
|
|
1089
|
+
headers: {
|
|
1090
|
+
[name: string]: unknown;
|
|
1091
|
+
};
|
|
1092
|
+
content: {
|
|
1093
|
+
"application/json": components["schemas"]["ResourceDTO"][];
|
|
1094
|
+
};
|
|
1095
|
+
};
|
|
1096
|
+
400: {
|
|
1097
|
+
headers: {
|
|
1098
|
+
[name: string]: unknown;
|
|
1099
|
+
};
|
|
1100
|
+
content: {
|
|
1101
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1102
|
+
};
|
|
1103
|
+
};
|
|
1104
|
+
401: {
|
|
1105
|
+
headers: {
|
|
1106
|
+
[name: string]: unknown;
|
|
1107
|
+
};
|
|
1108
|
+
content: {
|
|
1109
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1110
|
+
};
|
|
1111
|
+
};
|
|
1112
|
+
403: {
|
|
1113
|
+
headers: {
|
|
1114
|
+
[name: string]: unknown;
|
|
1115
|
+
};
|
|
1116
|
+
content: {
|
|
1117
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
404: {
|
|
1121
|
+
headers: {
|
|
1122
|
+
[name: string]: unknown;
|
|
1123
|
+
};
|
|
1124
|
+
content: {
|
|
1125
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1126
|
+
};
|
|
1127
|
+
};
|
|
1128
|
+
500: {
|
|
1129
|
+
headers: {
|
|
1130
|
+
[name: string]: unknown;
|
|
1131
|
+
};
|
|
1132
|
+
content: {
|
|
1133
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1134
|
+
};
|
|
1135
|
+
};
|
|
1136
|
+
};
|
|
1137
|
+
};
|
|
1138
|
+
"getMyndla-apiV1FoldersFolder-id": {
|
|
1139
|
+
parameters: {
|
|
1140
|
+
query?: {
|
|
1141
|
+
/** @description Choose if resources should be included in the response */
|
|
1142
|
+
"include-resources"?: boolean;
|
|
1143
|
+
/** @description Choose if sub-folders should be included in the response */
|
|
1144
|
+
"include-subfolders"?: boolean;
|
|
1145
|
+
};
|
|
1146
|
+
header?: {
|
|
1147
|
+
/** @description Header containing FEIDE access token. */
|
|
1148
|
+
FeideAuthorization?: string;
|
|
1149
|
+
};
|
|
1150
|
+
path: {
|
|
1151
|
+
/** @description The UUID of the folder */
|
|
1152
|
+
"folder-id": string;
|
|
1153
|
+
};
|
|
1154
|
+
cookie?: never;
|
|
1155
|
+
};
|
|
1156
|
+
requestBody?: never;
|
|
1157
|
+
responses: {
|
|
1158
|
+
200: {
|
|
1159
|
+
headers: {
|
|
1160
|
+
[name: string]: unknown;
|
|
1161
|
+
};
|
|
1162
|
+
content: {
|
|
1163
|
+
"application/json": components["schemas"]["FolderDTO"];
|
|
1164
|
+
};
|
|
1165
|
+
};
|
|
1166
|
+
400: {
|
|
1167
|
+
headers: {
|
|
1168
|
+
[name: string]: unknown;
|
|
1169
|
+
};
|
|
1170
|
+
content: {
|
|
1171
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1172
|
+
};
|
|
1173
|
+
};
|
|
1174
|
+
401: {
|
|
1175
|
+
headers: {
|
|
1176
|
+
[name: string]: unknown;
|
|
1177
|
+
};
|
|
1178
|
+
content: {
|
|
1179
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1180
|
+
};
|
|
1181
|
+
};
|
|
1182
|
+
403: {
|
|
1183
|
+
headers: {
|
|
1184
|
+
[name: string]: unknown;
|
|
1185
|
+
};
|
|
1186
|
+
content: {
|
|
1187
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
404: {
|
|
1191
|
+
headers: {
|
|
1192
|
+
[name: string]: unknown;
|
|
1193
|
+
};
|
|
1194
|
+
content: {
|
|
1195
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
500: {
|
|
1199
|
+
headers: {
|
|
1200
|
+
[name: string]: unknown;
|
|
1201
|
+
};
|
|
1202
|
+
content: {
|
|
1203
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1204
|
+
};
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1208
|
+
"deleteMyndla-apiV1FoldersFolder-id": {
|
|
1209
|
+
parameters: {
|
|
1210
|
+
query?: never;
|
|
1211
|
+
header?: {
|
|
1212
|
+
/** @description Header containing FEIDE access token. */
|
|
1213
|
+
FeideAuthorization?: string;
|
|
1214
|
+
};
|
|
1215
|
+
path: {
|
|
1216
|
+
/** @description The UUID of the folder */
|
|
1217
|
+
"folder-id": string;
|
|
1218
|
+
};
|
|
1219
|
+
cookie?: never;
|
|
1220
|
+
};
|
|
1221
|
+
requestBody?: never;
|
|
1222
|
+
responses: {
|
|
1223
|
+
200: {
|
|
1224
|
+
headers: {
|
|
1225
|
+
[name: string]: unknown;
|
|
1226
|
+
};
|
|
1227
|
+
content?: never;
|
|
1228
|
+
};
|
|
1229
|
+
400: {
|
|
1230
|
+
headers: {
|
|
1231
|
+
[name: string]: unknown;
|
|
1232
|
+
};
|
|
1233
|
+
content: {
|
|
1234
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
401: {
|
|
1238
|
+
headers: {
|
|
1239
|
+
[name: string]: unknown;
|
|
1240
|
+
};
|
|
1241
|
+
content: {
|
|
1242
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1243
|
+
};
|
|
1244
|
+
};
|
|
1245
|
+
403: {
|
|
1246
|
+
headers: {
|
|
1247
|
+
[name: string]: unknown;
|
|
1248
|
+
};
|
|
1249
|
+
content: {
|
|
1250
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1251
|
+
};
|
|
1252
|
+
};
|
|
1253
|
+
404: {
|
|
1254
|
+
headers: {
|
|
1255
|
+
[name: string]: unknown;
|
|
1256
|
+
};
|
|
1257
|
+
content: {
|
|
1258
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
500: {
|
|
1262
|
+
headers: {
|
|
1263
|
+
[name: string]: unknown;
|
|
1264
|
+
};
|
|
1265
|
+
content: {
|
|
1266
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1267
|
+
};
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1271
|
+
"patchMyndla-apiV1FoldersFolder-id": {
|
|
1272
|
+
parameters: {
|
|
1273
|
+
query?: never;
|
|
1274
|
+
header?: {
|
|
1275
|
+
/** @description Header containing FEIDE access token. */
|
|
1276
|
+
FeideAuthorization?: string;
|
|
1277
|
+
};
|
|
1278
|
+
path: {
|
|
1279
|
+
/** @description The UUID of the folder */
|
|
1280
|
+
"folder-id": string;
|
|
1281
|
+
};
|
|
1282
|
+
cookie?: never;
|
|
1283
|
+
};
|
|
1284
|
+
requestBody: {
|
|
1285
|
+
content: {
|
|
1286
|
+
"application/json": components["schemas"]["UpdatedFolderDTO"];
|
|
1287
|
+
};
|
|
1288
|
+
};
|
|
1289
|
+
responses: {
|
|
1290
|
+
200: {
|
|
1291
|
+
headers: {
|
|
1292
|
+
[name: string]: unknown;
|
|
1293
|
+
};
|
|
1294
|
+
content: {
|
|
1295
|
+
"application/json": components["schemas"]["FolderDTO"];
|
|
1296
|
+
};
|
|
1297
|
+
};
|
|
1298
|
+
400: {
|
|
1299
|
+
headers: {
|
|
1300
|
+
[name: string]: unknown;
|
|
1301
|
+
};
|
|
1302
|
+
content: {
|
|
1303
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1304
|
+
};
|
|
1305
|
+
};
|
|
1306
|
+
401: {
|
|
1307
|
+
headers: {
|
|
1308
|
+
[name: string]: unknown;
|
|
1309
|
+
};
|
|
1310
|
+
content: {
|
|
1311
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1314
|
+
403: {
|
|
1315
|
+
headers: {
|
|
1316
|
+
[name: string]: unknown;
|
|
1317
|
+
};
|
|
1318
|
+
content: {
|
|
1319
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1320
|
+
};
|
|
1321
|
+
};
|
|
1322
|
+
404: {
|
|
1323
|
+
headers: {
|
|
1324
|
+
[name: string]: unknown;
|
|
1325
|
+
};
|
|
1326
|
+
content: {
|
|
1327
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1328
|
+
};
|
|
1329
|
+
};
|
|
1330
|
+
500: {
|
|
1331
|
+
headers: {
|
|
1332
|
+
[name: string]: unknown;
|
|
1333
|
+
};
|
|
1334
|
+
content: {
|
|
1335
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1336
|
+
};
|
|
1337
|
+
};
|
|
1338
|
+
};
|
|
1339
|
+
};
|
|
1340
|
+
"postMyndla-apiV1FoldersFolder-idResources": {
|
|
1341
|
+
parameters: {
|
|
1342
|
+
query?: never;
|
|
1343
|
+
header?: {
|
|
1344
|
+
/** @description Header containing FEIDE access token. */
|
|
1345
|
+
FeideAuthorization?: string;
|
|
1346
|
+
};
|
|
1347
|
+
path: {
|
|
1348
|
+
/** @description The UUID of the folder */
|
|
1349
|
+
"folder-id": string;
|
|
1350
|
+
};
|
|
1351
|
+
cookie?: never;
|
|
1352
|
+
};
|
|
1353
|
+
requestBody: {
|
|
1354
|
+
content: {
|
|
1355
|
+
"application/json": components["schemas"]["NewResourceDTO"];
|
|
1356
|
+
};
|
|
1357
|
+
};
|
|
1358
|
+
responses: {
|
|
1359
|
+
200: {
|
|
1360
|
+
headers: {
|
|
1361
|
+
[name: string]: unknown;
|
|
1362
|
+
};
|
|
1363
|
+
content: {
|
|
1364
|
+
"application/json": components["schemas"]["ResourceDTO"];
|
|
1365
|
+
};
|
|
1366
|
+
};
|
|
1367
|
+
400: {
|
|
1368
|
+
headers: {
|
|
1369
|
+
[name: string]: unknown;
|
|
1370
|
+
};
|
|
1371
|
+
content: {
|
|
1372
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1373
|
+
};
|
|
1374
|
+
};
|
|
1375
|
+
401: {
|
|
1376
|
+
headers: {
|
|
1377
|
+
[name: string]: unknown;
|
|
1378
|
+
};
|
|
1379
|
+
content: {
|
|
1380
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1381
|
+
};
|
|
1382
|
+
};
|
|
1383
|
+
403: {
|
|
1384
|
+
headers: {
|
|
1385
|
+
[name: string]: unknown;
|
|
1386
|
+
};
|
|
1387
|
+
content: {
|
|
1388
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1389
|
+
};
|
|
1390
|
+
};
|
|
1391
|
+
404: {
|
|
1392
|
+
headers: {
|
|
1393
|
+
[name: string]: unknown;
|
|
1394
|
+
};
|
|
1395
|
+
content: {
|
|
1396
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1397
|
+
};
|
|
1398
|
+
};
|
|
1399
|
+
500: {
|
|
1400
|
+
headers: {
|
|
1401
|
+
[name: string]: unknown;
|
|
1402
|
+
};
|
|
1403
|
+
content: {
|
|
1404
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
"patchMyndla-apiV1FoldersResourcesResource-id": {
|
|
1410
|
+
parameters: {
|
|
1411
|
+
query?: never;
|
|
1412
|
+
header?: {
|
|
1413
|
+
/** @description Header containing FEIDE access token. */
|
|
1414
|
+
FeideAuthorization?: string;
|
|
1415
|
+
};
|
|
1416
|
+
path: {
|
|
1417
|
+
/** @description The UUID of the resource */
|
|
1418
|
+
"resource-id": string;
|
|
1419
|
+
};
|
|
1420
|
+
cookie?: never;
|
|
1421
|
+
};
|
|
1422
|
+
requestBody: {
|
|
1423
|
+
content: {
|
|
1424
|
+
"application/json": components["schemas"]["UpdatedResourceDTO"];
|
|
1425
|
+
};
|
|
1426
|
+
};
|
|
1427
|
+
responses: {
|
|
1428
|
+
200: {
|
|
1429
|
+
headers: {
|
|
1430
|
+
[name: string]: unknown;
|
|
1431
|
+
};
|
|
1432
|
+
content: {
|
|
1433
|
+
"application/json": components["schemas"]["ResourceDTO"];
|
|
1434
|
+
};
|
|
1435
|
+
};
|
|
1436
|
+
400: {
|
|
1437
|
+
headers: {
|
|
1438
|
+
[name: string]: unknown;
|
|
1439
|
+
};
|
|
1440
|
+
content: {
|
|
1441
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1442
|
+
};
|
|
1443
|
+
};
|
|
1444
|
+
401: {
|
|
1445
|
+
headers: {
|
|
1446
|
+
[name: string]: unknown;
|
|
1447
|
+
};
|
|
1448
|
+
content: {
|
|
1449
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
403: {
|
|
1453
|
+
headers: {
|
|
1454
|
+
[name: string]: unknown;
|
|
1455
|
+
};
|
|
1456
|
+
content: {
|
|
1457
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1458
|
+
};
|
|
1459
|
+
};
|
|
1460
|
+
404: {
|
|
1461
|
+
headers: {
|
|
1462
|
+
[name: string]: unknown;
|
|
1463
|
+
};
|
|
1464
|
+
content: {
|
|
1465
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1466
|
+
};
|
|
1467
|
+
};
|
|
1468
|
+
500: {
|
|
1469
|
+
headers: {
|
|
1470
|
+
[name: string]: unknown;
|
|
1471
|
+
};
|
|
1472
|
+
content: {
|
|
1473
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1474
|
+
};
|
|
1475
|
+
};
|
|
1476
|
+
};
|
|
1477
|
+
};
|
|
1478
|
+
"deleteMyndla-apiV1FoldersFolder-idResourcesResource-id": {
|
|
1479
|
+
parameters: {
|
|
1480
|
+
query?: never;
|
|
1481
|
+
header?: {
|
|
1482
|
+
/** @description Header containing FEIDE access token. */
|
|
1483
|
+
FeideAuthorization?: string;
|
|
1484
|
+
};
|
|
1485
|
+
path: {
|
|
1486
|
+
/** @description The UUID of the folder */
|
|
1487
|
+
"folder-id": string;
|
|
1488
|
+
/** @description The UUID of the resource */
|
|
1489
|
+
"resource-id": string;
|
|
1490
|
+
};
|
|
1491
|
+
cookie?: never;
|
|
1492
|
+
};
|
|
1493
|
+
requestBody?: never;
|
|
1494
|
+
responses: {
|
|
1495
|
+
200: {
|
|
1496
|
+
headers: {
|
|
1497
|
+
[name: string]: unknown;
|
|
1498
|
+
};
|
|
1499
|
+
content?: never;
|
|
1500
|
+
};
|
|
1501
|
+
400: {
|
|
1502
|
+
headers: {
|
|
1503
|
+
[name: string]: unknown;
|
|
1504
|
+
};
|
|
1505
|
+
content: {
|
|
1506
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1507
|
+
};
|
|
1508
|
+
};
|
|
1509
|
+
401: {
|
|
1510
|
+
headers: {
|
|
1511
|
+
[name: string]: unknown;
|
|
1512
|
+
};
|
|
1513
|
+
content: {
|
|
1514
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1515
|
+
};
|
|
1516
|
+
};
|
|
1517
|
+
403: {
|
|
1518
|
+
headers: {
|
|
1519
|
+
[name: string]: unknown;
|
|
1520
|
+
};
|
|
1521
|
+
content: {
|
|
1522
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1523
|
+
};
|
|
1524
|
+
};
|
|
1525
|
+
404: {
|
|
1526
|
+
headers: {
|
|
1527
|
+
[name: string]: unknown;
|
|
1528
|
+
};
|
|
1529
|
+
content: {
|
|
1530
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1531
|
+
};
|
|
1532
|
+
};
|
|
1533
|
+
500: {
|
|
1534
|
+
headers: {
|
|
1535
|
+
[name: string]: unknown;
|
|
1536
|
+
};
|
|
1537
|
+
content: {
|
|
1538
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1539
|
+
};
|
|
1540
|
+
};
|
|
1541
|
+
502: {
|
|
1542
|
+
headers: {
|
|
1543
|
+
[name: string]: unknown;
|
|
1544
|
+
};
|
|
1545
|
+
content: {
|
|
1546
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1547
|
+
};
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
};
|
|
1551
|
+
"getMyndla-apiV1FoldersSharedFolder-id": {
|
|
1552
|
+
parameters: {
|
|
1553
|
+
query?: never;
|
|
1554
|
+
header?: {
|
|
1555
|
+
/** @description Header containing FEIDE access token. */
|
|
1556
|
+
FeideAuthorization?: string;
|
|
1557
|
+
};
|
|
1558
|
+
path: {
|
|
1559
|
+
/** @description The UUID of the folder */
|
|
1560
|
+
"folder-id": string;
|
|
1561
|
+
};
|
|
1562
|
+
cookie?: never;
|
|
1563
|
+
};
|
|
1564
|
+
requestBody?: never;
|
|
1565
|
+
responses: {
|
|
1566
|
+
200: {
|
|
1567
|
+
headers: {
|
|
1568
|
+
[name: string]: unknown;
|
|
1569
|
+
};
|
|
1570
|
+
content: {
|
|
1571
|
+
"application/json": components["schemas"]["FolderDTO"];
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
400: {
|
|
1575
|
+
headers: {
|
|
1576
|
+
[name: string]: unknown;
|
|
1577
|
+
};
|
|
1578
|
+
content: {
|
|
1579
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1580
|
+
};
|
|
1581
|
+
};
|
|
1582
|
+
401: {
|
|
1583
|
+
headers: {
|
|
1584
|
+
[name: string]: unknown;
|
|
1585
|
+
};
|
|
1586
|
+
content: {
|
|
1587
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1588
|
+
};
|
|
1589
|
+
};
|
|
1590
|
+
403: {
|
|
1591
|
+
headers: {
|
|
1592
|
+
[name: string]: unknown;
|
|
1593
|
+
};
|
|
1594
|
+
content: {
|
|
1595
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1596
|
+
};
|
|
1597
|
+
};
|
|
1598
|
+
404: {
|
|
1599
|
+
headers: {
|
|
1600
|
+
[name: string]: unknown;
|
|
1601
|
+
};
|
|
1602
|
+
content: {
|
|
1603
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1604
|
+
};
|
|
1605
|
+
};
|
|
1606
|
+
500: {
|
|
1607
|
+
headers: {
|
|
1608
|
+
[name: string]: unknown;
|
|
1609
|
+
};
|
|
1610
|
+
content: {
|
|
1611
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1612
|
+
};
|
|
1613
|
+
};
|
|
1614
|
+
502: {
|
|
1615
|
+
headers: {
|
|
1616
|
+
[name: string]: unknown;
|
|
1617
|
+
};
|
|
1618
|
+
content: {
|
|
1619
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1620
|
+
};
|
|
1621
|
+
};
|
|
1622
|
+
};
|
|
1623
|
+
};
|
|
1624
|
+
"patchMyndla-apiV1FoldersSharedFolder-id": {
|
|
1625
|
+
parameters: {
|
|
1626
|
+
query: {
|
|
1627
|
+
/** @description Status of the folder */
|
|
1628
|
+
"folder-status": components["schemas"]["FolderStatus"];
|
|
1629
|
+
};
|
|
1630
|
+
header?: {
|
|
1631
|
+
/** @description Header containing FEIDE access token. */
|
|
1632
|
+
FeideAuthorization?: string;
|
|
1633
|
+
};
|
|
1634
|
+
path: {
|
|
1635
|
+
/** @description The UUID of the folder */
|
|
1636
|
+
"folder-id": string;
|
|
1637
|
+
};
|
|
1638
|
+
cookie?: never;
|
|
1639
|
+
};
|
|
1640
|
+
requestBody?: never;
|
|
1641
|
+
responses: {
|
|
1642
|
+
200: {
|
|
1643
|
+
headers: {
|
|
1644
|
+
[name: string]: unknown;
|
|
1645
|
+
};
|
|
1646
|
+
content: {
|
|
1647
|
+
"application/json": string[];
|
|
1648
|
+
};
|
|
1649
|
+
};
|
|
1650
|
+
400: {
|
|
1651
|
+
headers: {
|
|
1652
|
+
[name: string]: unknown;
|
|
1653
|
+
};
|
|
1654
|
+
content: {
|
|
1655
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1656
|
+
};
|
|
1657
|
+
};
|
|
1658
|
+
401: {
|
|
1659
|
+
headers: {
|
|
1660
|
+
[name: string]: unknown;
|
|
1661
|
+
};
|
|
1662
|
+
content: {
|
|
1663
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1664
|
+
};
|
|
1665
|
+
};
|
|
1666
|
+
403: {
|
|
1667
|
+
headers: {
|
|
1668
|
+
[name: string]: unknown;
|
|
1669
|
+
};
|
|
1670
|
+
content: {
|
|
1671
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1672
|
+
};
|
|
1673
|
+
};
|
|
1674
|
+
404: {
|
|
1675
|
+
headers: {
|
|
1676
|
+
[name: string]: unknown;
|
|
1677
|
+
};
|
|
1678
|
+
content: {
|
|
1679
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1680
|
+
};
|
|
1681
|
+
};
|
|
1682
|
+
500: {
|
|
1683
|
+
headers: {
|
|
1684
|
+
[name: string]: unknown;
|
|
1685
|
+
};
|
|
1686
|
+
content: {
|
|
1687
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1688
|
+
};
|
|
1689
|
+
};
|
|
1690
|
+
502: {
|
|
1691
|
+
headers: {
|
|
1692
|
+
[name: string]: unknown;
|
|
1693
|
+
};
|
|
1694
|
+
content: {
|
|
1695
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1696
|
+
};
|
|
1697
|
+
};
|
|
1698
|
+
};
|
|
1699
|
+
};
|
|
1700
|
+
"postMyndla-apiV1FoldersCloneSource-folder-id": {
|
|
1701
|
+
parameters: {
|
|
1702
|
+
query?: {
|
|
1703
|
+
/** @description Destination UUID of the folder. If None it will be cloned as a root folder. */
|
|
1704
|
+
"destination-folder-id"?: string;
|
|
1705
|
+
};
|
|
1706
|
+
header?: {
|
|
1707
|
+
/** @description Header containing FEIDE access token. */
|
|
1708
|
+
FeideAuthorization?: string;
|
|
1709
|
+
};
|
|
1710
|
+
path: {
|
|
1711
|
+
/** @description Source UUID of the folder. */
|
|
1712
|
+
"source-folder-id": string;
|
|
1713
|
+
};
|
|
1714
|
+
cookie?: never;
|
|
1715
|
+
};
|
|
1716
|
+
requestBody?: never;
|
|
1717
|
+
responses: {
|
|
1718
|
+
200: {
|
|
1719
|
+
headers: {
|
|
1720
|
+
[name: string]: unknown;
|
|
1721
|
+
};
|
|
1722
|
+
content: {
|
|
1723
|
+
"application/json": components["schemas"]["FolderDTO"];
|
|
1724
|
+
};
|
|
1725
|
+
};
|
|
1726
|
+
400: {
|
|
1727
|
+
headers: {
|
|
1728
|
+
[name: string]: unknown;
|
|
1729
|
+
};
|
|
1730
|
+
content: {
|
|
1731
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1732
|
+
};
|
|
1733
|
+
};
|
|
1734
|
+
401: {
|
|
1735
|
+
headers: {
|
|
1736
|
+
[name: string]: unknown;
|
|
1737
|
+
};
|
|
1738
|
+
content: {
|
|
1739
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1740
|
+
};
|
|
1741
|
+
};
|
|
1742
|
+
403: {
|
|
1743
|
+
headers: {
|
|
1744
|
+
[name: string]: unknown;
|
|
1745
|
+
};
|
|
1746
|
+
content: {
|
|
1747
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1748
|
+
};
|
|
1749
|
+
};
|
|
1750
|
+
404: {
|
|
1751
|
+
headers: {
|
|
1752
|
+
[name: string]: unknown;
|
|
1753
|
+
};
|
|
1754
|
+
content: {
|
|
1755
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1756
|
+
};
|
|
1757
|
+
};
|
|
1758
|
+
500: {
|
|
1759
|
+
headers: {
|
|
1760
|
+
[name: string]: unknown;
|
|
1761
|
+
};
|
|
1762
|
+
content: {
|
|
1763
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1764
|
+
};
|
|
1765
|
+
};
|
|
1766
|
+
502: {
|
|
1767
|
+
headers: {
|
|
1768
|
+
[name: string]: unknown;
|
|
1769
|
+
};
|
|
1770
|
+
content: {
|
|
1771
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1772
|
+
};
|
|
1773
|
+
};
|
|
1774
|
+
};
|
|
1775
|
+
};
|
|
1776
|
+
"putMyndla-apiV1FoldersSort-resourcesFolder-id": {
|
|
1777
|
+
parameters: {
|
|
1778
|
+
query?: never;
|
|
1779
|
+
header?: {
|
|
1780
|
+
/** @description Header containing FEIDE access token. */
|
|
1781
|
+
FeideAuthorization?: string;
|
|
1782
|
+
};
|
|
1783
|
+
path: {
|
|
1784
|
+
/** @description The UUID of the folder */
|
|
1785
|
+
"folder-id": string;
|
|
1786
|
+
};
|
|
1787
|
+
cookie?: never;
|
|
1788
|
+
};
|
|
1789
|
+
requestBody: {
|
|
1790
|
+
content: {
|
|
1791
|
+
"application/json": components["schemas"]["FolderSortRequestDTO"];
|
|
1792
|
+
};
|
|
1793
|
+
};
|
|
1794
|
+
responses: {
|
|
1795
|
+
200: {
|
|
1796
|
+
headers: {
|
|
1797
|
+
[name: string]: unknown;
|
|
1798
|
+
};
|
|
1799
|
+
content?: never;
|
|
1800
|
+
};
|
|
1801
|
+
400: {
|
|
1802
|
+
headers: {
|
|
1803
|
+
[name: string]: unknown;
|
|
1804
|
+
};
|
|
1805
|
+
content: {
|
|
1806
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1807
|
+
};
|
|
1808
|
+
};
|
|
1809
|
+
401: {
|
|
1810
|
+
headers: {
|
|
1811
|
+
[name: string]: unknown;
|
|
1812
|
+
};
|
|
1813
|
+
content: {
|
|
1814
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1815
|
+
};
|
|
1816
|
+
};
|
|
1817
|
+
403: {
|
|
1818
|
+
headers: {
|
|
1819
|
+
[name: string]: unknown;
|
|
1820
|
+
};
|
|
1821
|
+
content: {
|
|
1822
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1823
|
+
};
|
|
1824
|
+
};
|
|
1825
|
+
404: {
|
|
1826
|
+
headers: {
|
|
1827
|
+
[name: string]: unknown;
|
|
1828
|
+
};
|
|
1829
|
+
content: {
|
|
1830
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1831
|
+
};
|
|
1832
|
+
};
|
|
1833
|
+
500: {
|
|
1834
|
+
headers: {
|
|
1835
|
+
[name: string]: unknown;
|
|
1836
|
+
};
|
|
1837
|
+
content: {
|
|
1838
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1839
|
+
};
|
|
1840
|
+
};
|
|
1841
|
+
502: {
|
|
1842
|
+
headers: {
|
|
1843
|
+
[name: string]: unknown;
|
|
1844
|
+
};
|
|
1845
|
+
content: {
|
|
1846
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1847
|
+
};
|
|
1848
|
+
};
|
|
1849
|
+
};
|
|
1850
|
+
};
|
|
1851
|
+
"putMyndla-apiV1FoldersSort-subfolders": {
|
|
1852
|
+
parameters: {
|
|
1853
|
+
query?: {
|
|
1854
|
+
/** @description The UUID of the folder */
|
|
1855
|
+
"folder-id"?: string;
|
|
1856
|
+
};
|
|
1857
|
+
header?: {
|
|
1858
|
+
/** @description Header containing FEIDE access token. */
|
|
1859
|
+
FeideAuthorization?: string;
|
|
1860
|
+
};
|
|
1861
|
+
path?: never;
|
|
1862
|
+
cookie?: never;
|
|
1863
|
+
};
|
|
1864
|
+
requestBody: {
|
|
1865
|
+
content: {
|
|
1866
|
+
"application/json": components["schemas"]["FolderSortRequestDTO"];
|
|
1867
|
+
};
|
|
1868
|
+
};
|
|
1869
|
+
responses: {
|
|
1870
|
+
200: {
|
|
1871
|
+
headers: {
|
|
1872
|
+
[name: string]: unknown;
|
|
1873
|
+
};
|
|
1874
|
+
content?: never;
|
|
1875
|
+
};
|
|
1876
|
+
400: {
|
|
1877
|
+
headers: {
|
|
1878
|
+
[name: string]: unknown;
|
|
1879
|
+
};
|
|
1880
|
+
content: {
|
|
1881
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1882
|
+
};
|
|
1883
|
+
};
|
|
1884
|
+
401: {
|
|
1885
|
+
headers: {
|
|
1886
|
+
[name: string]: unknown;
|
|
1887
|
+
};
|
|
1888
|
+
content: {
|
|
1889
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1890
|
+
};
|
|
1891
|
+
};
|
|
1892
|
+
403: {
|
|
1893
|
+
headers: {
|
|
1894
|
+
[name: string]: unknown;
|
|
1895
|
+
};
|
|
1896
|
+
content: {
|
|
1897
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1898
|
+
};
|
|
1899
|
+
};
|
|
1900
|
+
404: {
|
|
1901
|
+
headers: {
|
|
1902
|
+
[name: string]: unknown;
|
|
1903
|
+
};
|
|
1904
|
+
content: {
|
|
1905
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1906
|
+
};
|
|
1907
|
+
};
|
|
1908
|
+
500: {
|
|
1909
|
+
headers: {
|
|
1910
|
+
[name: string]: unknown;
|
|
1911
|
+
};
|
|
1912
|
+
content: {
|
|
1913
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1914
|
+
};
|
|
1915
|
+
};
|
|
1916
|
+
502: {
|
|
1917
|
+
headers: {
|
|
1918
|
+
[name: string]: unknown;
|
|
1919
|
+
};
|
|
1920
|
+
content: {
|
|
1921
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1922
|
+
};
|
|
1923
|
+
};
|
|
1924
|
+
};
|
|
1925
|
+
};
|
|
1926
|
+
"putMyndla-apiV1FoldersSort-saved": {
|
|
1927
|
+
parameters: {
|
|
1928
|
+
query?: never;
|
|
1929
|
+
header?: {
|
|
1930
|
+
/** @description Header containing FEIDE access token. */
|
|
1931
|
+
FeideAuthorization?: string;
|
|
1932
|
+
};
|
|
1933
|
+
path?: never;
|
|
1934
|
+
cookie?: never;
|
|
1935
|
+
};
|
|
1936
|
+
requestBody: {
|
|
1937
|
+
content: {
|
|
1938
|
+
"application/json": components["schemas"]["FolderSortRequestDTO"];
|
|
1939
|
+
};
|
|
1940
|
+
};
|
|
1941
|
+
responses: {
|
|
1942
|
+
200: {
|
|
1943
|
+
headers: {
|
|
1944
|
+
[name: string]: unknown;
|
|
1945
|
+
};
|
|
1946
|
+
content?: never;
|
|
1947
|
+
};
|
|
1948
|
+
400: {
|
|
1949
|
+
headers: {
|
|
1950
|
+
[name: string]: unknown;
|
|
1951
|
+
};
|
|
1952
|
+
content: {
|
|
1953
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1954
|
+
};
|
|
1955
|
+
};
|
|
1956
|
+
401: {
|
|
1957
|
+
headers: {
|
|
1958
|
+
[name: string]: unknown;
|
|
1959
|
+
};
|
|
1960
|
+
content: {
|
|
1961
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1962
|
+
};
|
|
1963
|
+
};
|
|
1964
|
+
403: {
|
|
1965
|
+
headers: {
|
|
1966
|
+
[name: string]: unknown;
|
|
1967
|
+
};
|
|
1968
|
+
content: {
|
|
1969
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1970
|
+
};
|
|
1971
|
+
};
|
|
1972
|
+
404: {
|
|
1973
|
+
headers: {
|
|
1974
|
+
[name: string]: unknown;
|
|
1975
|
+
};
|
|
1976
|
+
content: {
|
|
1977
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1978
|
+
};
|
|
1979
|
+
};
|
|
1980
|
+
500: {
|
|
1981
|
+
headers: {
|
|
1982
|
+
[name: string]: unknown;
|
|
1983
|
+
};
|
|
1984
|
+
content: {
|
|
1985
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1986
|
+
};
|
|
1987
|
+
};
|
|
1988
|
+
502: {
|
|
1989
|
+
headers: {
|
|
1990
|
+
[name: string]: unknown;
|
|
1991
|
+
};
|
|
1992
|
+
content: {
|
|
1993
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1994
|
+
};
|
|
1995
|
+
};
|
|
1996
|
+
};
|
|
1997
|
+
};
|
|
1998
|
+
"postMyndla-apiV1FoldersSharedFolder-idSave": {
|
|
1999
|
+
parameters: {
|
|
2000
|
+
query?: never;
|
|
2001
|
+
header?: {
|
|
2002
|
+
/** @description Header containing FEIDE access token. */
|
|
2003
|
+
FeideAuthorization?: string;
|
|
2004
|
+
};
|
|
2005
|
+
path: {
|
|
2006
|
+
/** @description The UUID of the folder */
|
|
2007
|
+
"folder-id": string;
|
|
2008
|
+
};
|
|
2009
|
+
cookie?: never;
|
|
2010
|
+
};
|
|
2011
|
+
requestBody?: never;
|
|
2012
|
+
responses: {
|
|
2013
|
+
200: {
|
|
2014
|
+
headers: {
|
|
2015
|
+
[name: string]: unknown;
|
|
2016
|
+
};
|
|
2017
|
+
content?: never;
|
|
2018
|
+
};
|
|
2019
|
+
400: {
|
|
2020
|
+
headers: {
|
|
2021
|
+
[name: string]: unknown;
|
|
2022
|
+
};
|
|
2023
|
+
content: {
|
|
2024
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2025
|
+
};
|
|
2026
|
+
};
|
|
2027
|
+
401: {
|
|
2028
|
+
headers: {
|
|
2029
|
+
[name: string]: unknown;
|
|
2030
|
+
};
|
|
2031
|
+
content: {
|
|
2032
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2033
|
+
};
|
|
2034
|
+
};
|
|
2035
|
+
403: {
|
|
2036
|
+
headers: {
|
|
2037
|
+
[name: string]: unknown;
|
|
2038
|
+
};
|
|
2039
|
+
content: {
|
|
2040
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2041
|
+
};
|
|
2042
|
+
};
|
|
2043
|
+
404: {
|
|
2044
|
+
headers: {
|
|
2045
|
+
[name: string]: unknown;
|
|
2046
|
+
};
|
|
2047
|
+
content: {
|
|
2048
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2049
|
+
};
|
|
2050
|
+
};
|
|
2051
|
+
500: {
|
|
2052
|
+
headers: {
|
|
2053
|
+
[name: string]: unknown;
|
|
2054
|
+
};
|
|
2055
|
+
content: {
|
|
2056
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
2057
|
+
};
|
|
2058
|
+
};
|
|
2059
|
+
502: {
|
|
2060
|
+
headers: {
|
|
2061
|
+
[name: string]: unknown;
|
|
2062
|
+
};
|
|
2063
|
+
content: {
|
|
2064
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2065
|
+
};
|
|
2066
|
+
};
|
|
2067
|
+
};
|
|
2068
|
+
};
|
|
2069
|
+
"deleteMyndla-apiV1FoldersSharedFolder-idSave": {
|
|
2070
|
+
parameters: {
|
|
2071
|
+
query?: never;
|
|
2072
|
+
header?: {
|
|
2073
|
+
/** @description Header containing FEIDE access token. */
|
|
2074
|
+
FeideAuthorization?: string;
|
|
2075
|
+
};
|
|
2076
|
+
path: {
|
|
2077
|
+
/** @description The UUID of the folder */
|
|
2078
|
+
"folder-id": string;
|
|
2079
|
+
};
|
|
2080
|
+
cookie?: never;
|
|
2081
|
+
};
|
|
2082
|
+
requestBody?: never;
|
|
2083
|
+
responses: {
|
|
2084
|
+
200: {
|
|
2085
|
+
headers: {
|
|
2086
|
+
[name: string]: unknown;
|
|
2087
|
+
};
|
|
2088
|
+
content?: never;
|
|
2089
|
+
};
|
|
2090
|
+
400: {
|
|
2091
|
+
headers: {
|
|
2092
|
+
[name: string]: unknown;
|
|
2093
|
+
};
|
|
2094
|
+
content: {
|
|
2095
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2096
|
+
};
|
|
2097
|
+
};
|
|
2098
|
+
401: {
|
|
2099
|
+
headers: {
|
|
2100
|
+
[name: string]: unknown;
|
|
2101
|
+
};
|
|
2102
|
+
content: {
|
|
2103
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2104
|
+
};
|
|
2105
|
+
};
|
|
2106
|
+
403: {
|
|
2107
|
+
headers: {
|
|
2108
|
+
[name: string]: unknown;
|
|
2109
|
+
};
|
|
2110
|
+
content: {
|
|
2111
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
404: {
|
|
2115
|
+
headers: {
|
|
2116
|
+
[name: string]: unknown;
|
|
2117
|
+
};
|
|
2118
|
+
content: {
|
|
2119
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2120
|
+
};
|
|
2121
|
+
};
|
|
2122
|
+
500: {
|
|
2123
|
+
headers: {
|
|
2124
|
+
[name: string]: unknown;
|
|
2125
|
+
};
|
|
2126
|
+
content: {
|
|
2127
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
2128
|
+
};
|
|
2129
|
+
};
|
|
2130
|
+
502: {
|
|
2131
|
+
headers: {
|
|
2132
|
+
[name: string]: unknown;
|
|
2133
|
+
};
|
|
2134
|
+
content: {
|
|
2135
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2136
|
+
};
|
|
2137
|
+
};
|
|
2138
|
+
};
|
|
2139
|
+
};
|
|
2140
|
+
"getMyndla-apiV1Users": {
|
|
2141
|
+
parameters: {
|
|
2142
|
+
query?: never;
|
|
2143
|
+
header?: {
|
|
2144
|
+
/** @description Header containing FEIDE access token. */
|
|
2145
|
+
FeideAuthorization?: string;
|
|
2146
|
+
};
|
|
2147
|
+
path?: never;
|
|
2148
|
+
cookie?: never;
|
|
2149
|
+
};
|
|
2150
|
+
requestBody?: never;
|
|
2151
|
+
responses: {
|
|
2152
|
+
200: {
|
|
2153
|
+
headers: {
|
|
2154
|
+
[name: string]: unknown;
|
|
2155
|
+
};
|
|
2156
|
+
content: {
|
|
2157
|
+
"application/json": components["schemas"]["MyNDLAUserDTO"];
|
|
2158
|
+
};
|
|
2159
|
+
};
|
|
2160
|
+
400: {
|
|
2161
|
+
headers: {
|
|
2162
|
+
[name: string]: unknown;
|
|
2163
|
+
};
|
|
2164
|
+
content: {
|
|
2165
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2166
|
+
};
|
|
2167
|
+
};
|
|
2168
|
+
401: {
|
|
2169
|
+
headers: {
|
|
2170
|
+
[name: string]: unknown;
|
|
2171
|
+
};
|
|
2172
|
+
content: {
|
|
2173
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2174
|
+
};
|
|
2175
|
+
};
|
|
2176
|
+
403: {
|
|
2177
|
+
headers: {
|
|
2178
|
+
[name: string]: unknown;
|
|
2179
|
+
};
|
|
2180
|
+
content: {
|
|
2181
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2182
|
+
};
|
|
2183
|
+
};
|
|
2184
|
+
404: {
|
|
2185
|
+
headers: {
|
|
2186
|
+
[name: string]: unknown;
|
|
2187
|
+
};
|
|
2188
|
+
content: {
|
|
2189
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2190
|
+
};
|
|
2191
|
+
};
|
|
2192
|
+
500: {
|
|
2193
|
+
headers: {
|
|
2194
|
+
[name: string]: unknown;
|
|
2195
|
+
};
|
|
2196
|
+
content: {
|
|
2197
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
2198
|
+
};
|
|
2199
|
+
};
|
|
2200
|
+
};
|
|
2201
|
+
};
|
|
2202
|
+
"patchMyndla-apiV1Users": {
|
|
2203
|
+
parameters: {
|
|
2204
|
+
query?: never;
|
|
2205
|
+
header?: {
|
|
2206
|
+
/** @description Header containing FEIDE access token. */
|
|
2207
|
+
FeideAuthorization?: string;
|
|
2208
|
+
};
|
|
2209
|
+
path?: never;
|
|
2210
|
+
cookie?: never;
|
|
2211
|
+
};
|
|
2212
|
+
requestBody: {
|
|
2213
|
+
content: {
|
|
2214
|
+
"application/json": components["schemas"]["UpdatedMyNDLAUserDTO"];
|
|
2215
|
+
};
|
|
2216
|
+
};
|
|
2217
|
+
responses: {
|
|
2218
|
+
200: {
|
|
2219
|
+
headers: {
|
|
2220
|
+
[name: string]: unknown;
|
|
2221
|
+
};
|
|
2222
|
+
content: {
|
|
2223
|
+
"application/json": components["schemas"]["MyNDLAUserDTO"];
|
|
2224
|
+
};
|
|
2225
|
+
};
|
|
2226
|
+
400: {
|
|
2227
|
+
headers: {
|
|
2228
|
+
[name: string]: unknown;
|
|
2229
|
+
};
|
|
2230
|
+
content: {
|
|
2231
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2232
|
+
};
|
|
2233
|
+
};
|
|
2234
|
+
401: {
|
|
2235
|
+
headers: {
|
|
2236
|
+
[name: string]: unknown;
|
|
2237
|
+
};
|
|
2238
|
+
content: {
|
|
2239
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2240
|
+
};
|
|
2241
|
+
};
|
|
2242
|
+
403: {
|
|
2243
|
+
headers: {
|
|
2244
|
+
[name: string]: unknown;
|
|
2245
|
+
};
|
|
2246
|
+
content: {
|
|
2247
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2248
|
+
};
|
|
2249
|
+
};
|
|
2250
|
+
404: {
|
|
2251
|
+
headers: {
|
|
2252
|
+
[name: string]: unknown;
|
|
2253
|
+
};
|
|
2254
|
+
content: {
|
|
2255
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2256
|
+
};
|
|
2257
|
+
};
|
|
2258
|
+
500: {
|
|
2259
|
+
headers: {
|
|
2260
|
+
[name: string]: unknown;
|
|
2261
|
+
};
|
|
2262
|
+
content: {
|
|
2263
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
2264
|
+
};
|
|
2265
|
+
};
|
|
2266
|
+
};
|
|
2267
|
+
};
|
|
2268
|
+
"deleteMyndla-apiV1UsersDelete-personal-data": {
|
|
2269
|
+
parameters: {
|
|
2270
|
+
query?: never;
|
|
2271
|
+
header?: {
|
|
2272
|
+
/** @description Header containing FEIDE access token. */
|
|
2273
|
+
FeideAuthorization?: string;
|
|
2274
|
+
};
|
|
2275
|
+
path?: never;
|
|
2276
|
+
cookie?: never;
|
|
2277
|
+
};
|
|
2278
|
+
requestBody?: never;
|
|
2279
|
+
responses: {
|
|
2280
|
+
200: {
|
|
2281
|
+
headers: {
|
|
2282
|
+
[name: string]: unknown;
|
|
2283
|
+
};
|
|
2284
|
+
content?: never;
|
|
2285
|
+
};
|
|
2286
|
+
400: {
|
|
2287
|
+
headers: {
|
|
2288
|
+
[name: string]: unknown;
|
|
2289
|
+
};
|
|
2290
|
+
content: {
|
|
2291
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2292
|
+
};
|
|
2293
|
+
};
|
|
2294
|
+
401: {
|
|
2295
|
+
headers: {
|
|
2296
|
+
[name: string]: unknown;
|
|
2297
|
+
};
|
|
2298
|
+
content: {
|
|
2299
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2300
|
+
};
|
|
2301
|
+
};
|
|
2302
|
+
403: {
|
|
2303
|
+
headers: {
|
|
2304
|
+
[name: string]: unknown;
|
|
2305
|
+
};
|
|
2306
|
+
content: {
|
|
2307
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2308
|
+
};
|
|
2309
|
+
};
|
|
2310
|
+
404: {
|
|
2311
|
+
headers: {
|
|
2312
|
+
[name: string]: unknown;
|
|
2313
|
+
};
|
|
2314
|
+
content: {
|
|
2315
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2316
|
+
};
|
|
2317
|
+
};
|
|
2318
|
+
500: {
|
|
2319
|
+
headers: {
|
|
2320
|
+
[name: string]: unknown;
|
|
2321
|
+
};
|
|
2322
|
+
content: {
|
|
2323
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
2324
|
+
};
|
|
2325
|
+
};
|
|
2326
|
+
};
|
|
2327
|
+
};
|
|
2328
|
+
"getMyndla-apiV1UsersExport": {
|
|
2329
|
+
parameters: {
|
|
2330
|
+
query?: never;
|
|
2331
|
+
header?: {
|
|
2332
|
+
/** @description Header containing FEIDE access token. */
|
|
2333
|
+
FeideAuthorization?: string;
|
|
2334
|
+
};
|
|
2335
|
+
path?: never;
|
|
2336
|
+
cookie?: never;
|
|
2337
|
+
};
|
|
2338
|
+
requestBody?: never;
|
|
2339
|
+
responses: {
|
|
2340
|
+
200: {
|
|
2341
|
+
headers: {
|
|
2342
|
+
[name: string]: unknown;
|
|
2343
|
+
};
|
|
2344
|
+
content: {
|
|
2345
|
+
"application/json": components["schemas"]["ExportedUserDataDTO"];
|
|
2346
|
+
};
|
|
2347
|
+
};
|
|
2348
|
+
400: {
|
|
2349
|
+
headers: {
|
|
2350
|
+
[name: string]: unknown;
|
|
2351
|
+
};
|
|
2352
|
+
content: {
|
|
2353
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2354
|
+
};
|
|
2355
|
+
};
|
|
2356
|
+
401: {
|
|
2357
|
+
headers: {
|
|
2358
|
+
[name: string]: unknown;
|
|
2359
|
+
};
|
|
2360
|
+
content: {
|
|
2361
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2362
|
+
};
|
|
2363
|
+
};
|
|
2364
|
+
403: {
|
|
2365
|
+
headers: {
|
|
2366
|
+
[name: string]: unknown;
|
|
2367
|
+
};
|
|
2368
|
+
content: {
|
|
2369
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2370
|
+
};
|
|
2371
|
+
};
|
|
2372
|
+
404: {
|
|
2373
|
+
headers: {
|
|
2374
|
+
[name: string]: unknown;
|
|
2375
|
+
};
|
|
2376
|
+
content: {
|
|
2377
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2378
|
+
};
|
|
2379
|
+
};
|
|
2380
|
+
500: {
|
|
2381
|
+
headers: {
|
|
2382
|
+
[name: string]: unknown;
|
|
2383
|
+
};
|
|
2384
|
+
content: {
|
|
2385
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
2386
|
+
};
|
|
2387
|
+
};
|
|
2388
|
+
};
|
|
2389
|
+
};
|
|
2390
|
+
"postMyndla-apiV1UsersImport": {
|
|
2391
|
+
parameters: {
|
|
2392
|
+
query?: never;
|
|
2393
|
+
header?: {
|
|
2394
|
+
/** @description Header containing FEIDE access token. */
|
|
2395
|
+
FeideAuthorization?: string;
|
|
2396
|
+
};
|
|
2397
|
+
path?: never;
|
|
2398
|
+
cookie?: never;
|
|
2399
|
+
};
|
|
2400
|
+
requestBody: {
|
|
2401
|
+
content: {
|
|
2402
|
+
"application/json": components["schemas"]["ExportedUserDataDTO"];
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
responses: {
|
|
2406
|
+
200: {
|
|
2407
|
+
headers: {
|
|
2408
|
+
[name: string]: unknown;
|
|
2409
|
+
};
|
|
2410
|
+
content: {
|
|
2411
|
+
"application/json": components["schemas"]["ExportedUserDataDTO"];
|
|
2412
|
+
};
|
|
2413
|
+
};
|
|
2414
|
+
400: {
|
|
2415
|
+
headers: {
|
|
2416
|
+
[name: string]: unknown;
|
|
2417
|
+
};
|
|
2418
|
+
content: {
|
|
2419
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2420
|
+
};
|
|
2421
|
+
};
|
|
2422
|
+
401: {
|
|
2423
|
+
headers: {
|
|
2424
|
+
[name: string]: unknown;
|
|
2425
|
+
};
|
|
2426
|
+
content: {
|
|
2427
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2428
|
+
};
|
|
2429
|
+
};
|
|
2430
|
+
403: {
|
|
2431
|
+
headers: {
|
|
2432
|
+
[name: string]: unknown;
|
|
2433
|
+
};
|
|
2434
|
+
content: {
|
|
2435
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2436
|
+
};
|
|
2437
|
+
};
|
|
2438
|
+
404: {
|
|
2439
|
+
headers: {
|
|
2440
|
+
[name: string]: unknown;
|
|
2441
|
+
};
|
|
2442
|
+
content: {
|
|
2443
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2444
|
+
};
|
|
2445
|
+
};
|
|
2446
|
+
500: {
|
|
2447
|
+
headers: {
|
|
2448
|
+
[name: string]: unknown;
|
|
2449
|
+
};
|
|
2450
|
+
content: {
|
|
2451
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
2452
|
+
};
|
|
2453
|
+
};
|
|
2454
|
+
};
|
|
2455
|
+
};
|
|
2456
|
+
"getMyndla-apiV1ConfigConfig-key": {
|
|
2457
|
+
parameters: {
|
|
2458
|
+
query?: never;
|
|
2459
|
+
header?: never;
|
|
2460
|
+
path: {
|
|
2461
|
+
/** @description The of configuration value. Can only be one of 'LEARNINGPATH_WRITE_RESTRICTED', 'MY_NDLA_WRITE_RESTRICTED' */
|
|
2462
|
+
"config-key": components["schemas"]["ConfigKey"];
|
|
2463
|
+
};
|
|
2464
|
+
cookie?: never;
|
|
2465
|
+
};
|
|
2466
|
+
requestBody?: never;
|
|
2467
|
+
responses: {
|
|
2468
|
+
200: {
|
|
2469
|
+
headers: {
|
|
2470
|
+
[name: string]: unknown;
|
|
2471
|
+
};
|
|
2472
|
+
content: {
|
|
2473
|
+
"application/json": components["schemas"]["ConfigMetaRestrictedDTO"];
|
|
2474
|
+
};
|
|
2475
|
+
};
|
|
2476
|
+
400: {
|
|
2477
|
+
headers: {
|
|
2478
|
+
[name: string]: unknown;
|
|
2479
|
+
};
|
|
2480
|
+
content: {
|
|
2481
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2482
|
+
};
|
|
2483
|
+
};
|
|
2484
|
+
401: {
|
|
2485
|
+
headers: {
|
|
2486
|
+
[name: string]: unknown;
|
|
2487
|
+
};
|
|
2488
|
+
content: {
|
|
2489
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2490
|
+
};
|
|
2491
|
+
};
|
|
2492
|
+
403: {
|
|
2493
|
+
headers: {
|
|
2494
|
+
[name: string]: unknown;
|
|
2495
|
+
};
|
|
2496
|
+
content: {
|
|
2497
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2498
|
+
};
|
|
2499
|
+
};
|
|
2500
|
+
404: {
|
|
2501
|
+
headers: {
|
|
2502
|
+
[name: string]: unknown;
|
|
2503
|
+
};
|
|
2504
|
+
content: {
|
|
2505
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2506
|
+
};
|
|
2507
|
+
};
|
|
2508
|
+
500: {
|
|
2509
|
+
headers: {
|
|
2510
|
+
[name: string]: unknown;
|
|
2511
|
+
};
|
|
2512
|
+
content: {
|
|
2513
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
2514
|
+
};
|
|
2515
|
+
};
|
|
2516
|
+
};
|
|
2517
|
+
};
|
|
2518
|
+
"postMyndla-apiV1ConfigConfig-key": {
|
|
2519
|
+
parameters: {
|
|
2520
|
+
query?: never;
|
|
2521
|
+
header?: never;
|
|
2522
|
+
path: {
|
|
2523
|
+
/** @description The of configuration value. Can only be one of 'LEARNINGPATH_WRITE_RESTRICTED', 'MY_NDLA_WRITE_RESTRICTED' */
|
|
2524
|
+
"config-key": components["schemas"]["ConfigKey"];
|
|
2525
|
+
};
|
|
2526
|
+
cookie?: never;
|
|
2527
|
+
};
|
|
2528
|
+
requestBody: {
|
|
2529
|
+
content: {
|
|
2530
|
+
"application/json": components["schemas"]["ConfigMetaValueDTO"];
|
|
2531
|
+
};
|
|
2532
|
+
};
|
|
2533
|
+
responses: {
|
|
2534
|
+
200: {
|
|
2535
|
+
headers: {
|
|
2536
|
+
[name: string]: unknown;
|
|
2537
|
+
};
|
|
2538
|
+
content: {
|
|
2539
|
+
"application/json": components["schemas"]["ConfigMetaDTO"];
|
|
2540
|
+
};
|
|
2541
|
+
};
|
|
2542
|
+
400: {
|
|
2543
|
+
headers: {
|
|
2544
|
+
[name: string]: unknown;
|
|
2545
|
+
};
|
|
2546
|
+
content: {
|
|
2547
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2548
|
+
};
|
|
2549
|
+
};
|
|
2550
|
+
401: {
|
|
2551
|
+
headers: {
|
|
2552
|
+
[name: string]: unknown;
|
|
2553
|
+
};
|
|
2554
|
+
content: {
|
|
2555
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2556
|
+
};
|
|
2557
|
+
};
|
|
2558
|
+
403: {
|
|
2559
|
+
headers: {
|
|
2560
|
+
[name: string]: unknown;
|
|
2561
|
+
};
|
|
2562
|
+
content: {
|
|
2563
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2564
|
+
};
|
|
2565
|
+
};
|
|
2566
|
+
404: {
|
|
2567
|
+
headers: {
|
|
2568
|
+
[name: string]: unknown;
|
|
2569
|
+
};
|
|
2570
|
+
content: {
|
|
2571
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2572
|
+
};
|
|
2573
|
+
};
|
|
2574
|
+
500: {
|
|
2575
|
+
headers: {
|
|
2576
|
+
[name: string]: unknown;
|
|
2577
|
+
};
|
|
2578
|
+
content: {
|
|
2579
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
2580
|
+
};
|
|
2581
|
+
};
|
|
2582
|
+
};
|
|
2583
|
+
};
|
|
2584
|
+
"getMyndla-apiV1Stats": {
|
|
2585
|
+
parameters: {
|
|
2586
|
+
query?: never;
|
|
2587
|
+
header?: never;
|
|
2588
|
+
path?: never;
|
|
2589
|
+
cookie?: never;
|
|
2590
|
+
};
|
|
2591
|
+
requestBody?: never;
|
|
2592
|
+
responses: {
|
|
2593
|
+
200: {
|
|
2594
|
+
headers: {
|
|
2595
|
+
[name: string]: unknown;
|
|
2596
|
+
};
|
|
2597
|
+
content: {
|
|
2598
|
+
"application/json": components["schemas"]["StatsDTO"];
|
|
2599
|
+
};
|
|
2600
|
+
};
|
|
2601
|
+
400: {
|
|
2602
|
+
headers: {
|
|
2603
|
+
[name: string]: unknown;
|
|
2604
|
+
};
|
|
2605
|
+
content: {
|
|
2606
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2607
|
+
};
|
|
2608
|
+
};
|
|
2609
|
+
404: {
|
|
2610
|
+
headers: {
|
|
2611
|
+
[name: string]: unknown;
|
|
2612
|
+
};
|
|
2613
|
+
content: {
|
|
2614
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2615
|
+
};
|
|
2616
|
+
};
|
|
2617
|
+
500: {
|
|
2618
|
+
headers: {
|
|
2619
|
+
[name: string]: unknown;
|
|
2620
|
+
};
|
|
2621
|
+
content: {
|
|
2622
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
2623
|
+
};
|
|
2624
|
+
};
|
|
2625
|
+
};
|
|
2626
|
+
};
|
|
2627
|
+
"getMyndla-apiV1StatsFavorites": {
|
|
2628
|
+
parameters: {
|
|
2629
|
+
query?: never;
|
|
2630
|
+
header?: never;
|
|
2631
|
+
path?: never;
|
|
2632
|
+
cookie?: never;
|
|
2633
|
+
};
|
|
2634
|
+
requestBody?: never;
|
|
2635
|
+
responses: {
|
|
2636
|
+
200: {
|
|
2637
|
+
headers: {
|
|
2638
|
+
[name: string]: unknown;
|
|
2639
|
+
};
|
|
2640
|
+
content: {
|
|
2641
|
+
"application/json": components["schemas"]["Map_Map_String_Long"];
|
|
2642
|
+
};
|
|
2643
|
+
};
|
|
2644
|
+
400: {
|
|
2645
|
+
headers: {
|
|
2646
|
+
[name: string]: unknown;
|
|
2647
|
+
};
|
|
2648
|
+
content: {
|
|
2649
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2650
|
+
};
|
|
2651
|
+
};
|
|
2652
|
+
404: {
|
|
2653
|
+
headers: {
|
|
2654
|
+
[name: string]: unknown;
|
|
2655
|
+
};
|
|
2656
|
+
content: {
|
|
2657
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2658
|
+
};
|
|
2659
|
+
};
|
|
2660
|
+
500: {
|
|
2661
|
+
headers: {
|
|
2662
|
+
[name: string]: unknown;
|
|
2663
|
+
};
|
|
2664
|
+
content: {
|
|
2665
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
2666
|
+
};
|
|
2667
|
+
};
|
|
2668
|
+
};
|
|
2669
|
+
};
|
|
2670
|
+
"getMyndla-apiV1StatsFavoritesResourcetypeResourceids": {
|
|
2671
|
+
parameters: {
|
|
2672
|
+
query?: never;
|
|
2673
|
+
header?: never;
|
|
2674
|
+
path: {
|
|
2675
|
+
/** @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 */
|
|
2676
|
+
resourceType: string[];
|
|
2677
|
+
/** @description IDs of the resources to look up */
|
|
2678
|
+
resourceIds: string[];
|
|
2679
|
+
};
|
|
2680
|
+
cookie?: never;
|
|
2681
|
+
};
|
|
2682
|
+
requestBody?: never;
|
|
2683
|
+
responses: {
|
|
2684
|
+
200: {
|
|
2685
|
+
headers: {
|
|
2686
|
+
[name: string]: unknown;
|
|
2687
|
+
};
|
|
2688
|
+
content: {
|
|
2689
|
+
"application/json": components["schemas"]["SingleResourceStatsDTO"][];
|
|
2690
|
+
};
|
|
2691
|
+
};
|
|
2692
|
+
400: {
|
|
2693
|
+
headers: {
|
|
2694
|
+
[name: string]: unknown;
|
|
2695
|
+
};
|
|
2696
|
+
content: {
|
|
2697
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2698
|
+
};
|
|
2699
|
+
};
|
|
2700
|
+
404: {
|
|
2701
|
+
headers: {
|
|
2702
|
+
[name: string]: unknown;
|
|
2703
|
+
};
|
|
2704
|
+
content: {
|
|
2705
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2706
|
+
};
|
|
2707
|
+
};
|
|
2708
|
+
500: {
|
|
2709
|
+
headers: {
|
|
2710
|
+
[name: string]: unknown;
|
|
2711
|
+
};
|
|
2712
|
+
content: {
|
|
2713
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
2714
|
+
};
|
|
2715
|
+
};
|
|
2716
|
+
};
|
|
2717
|
+
};
|
|
2718
|
+
}
|