@ndla/types-backend 1.0.92 → 1.0.94
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.
|
@@ -91,6 +91,26 @@ export type paths = {
|
|
|
91
91
|
patch: operations["patchMyndla-apiV1FoldersFolder-id"];
|
|
92
92
|
trace?: never;
|
|
93
93
|
};
|
|
94
|
+
"/myndla-api/v1/folders/resources/has-favorited": {
|
|
95
|
+
parameters: {
|
|
96
|
+
query?: never;
|
|
97
|
+
header?: never;
|
|
98
|
+
path?: never;
|
|
99
|
+
cookie?: never;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Check if a resource has been favorited by the user
|
|
103
|
+
* @description Check if a resource has been favorited by the user
|
|
104
|
+
*/
|
|
105
|
+
get: operations["getMyndla-apiV1FoldersResourcesHas-favorited"];
|
|
106
|
+
put?: never;
|
|
107
|
+
post?: never;
|
|
108
|
+
delete?: never;
|
|
109
|
+
options?: never;
|
|
110
|
+
head?: never;
|
|
111
|
+
patch?: never;
|
|
112
|
+
trace?: never;
|
|
113
|
+
};
|
|
94
114
|
"/myndla-api/v1/folders/{folder-id}/resources": {
|
|
95
115
|
parameters: {
|
|
96
116
|
query?: never;
|
|
@@ -1474,6 +1494,79 @@ export interface operations {
|
|
|
1474
1494
|
};
|
|
1475
1495
|
};
|
|
1476
1496
|
};
|
|
1497
|
+
"getMyndla-apiV1FoldersResourcesHas-favorited": {
|
|
1498
|
+
parameters: {
|
|
1499
|
+
query: {
|
|
1500
|
+
/** @description The path of the resource to check */
|
|
1501
|
+
path: string;
|
|
1502
|
+
};
|
|
1503
|
+
header?: {
|
|
1504
|
+
/** @description Header containing FEIDE access token. */
|
|
1505
|
+
FeideAuthorization?: string;
|
|
1506
|
+
};
|
|
1507
|
+
path?: never;
|
|
1508
|
+
cookie?: never;
|
|
1509
|
+
};
|
|
1510
|
+
requestBody?: never;
|
|
1511
|
+
responses: {
|
|
1512
|
+
200: {
|
|
1513
|
+
headers: {
|
|
1514
|
+
[name: string]: unknown;
|
|
1515
|
+
};
|
|
1516
|
+
content: {
|
|
1517
|
+
"application/json": boolean;
|
|
1518
|
+
};
|
|
1519
|
+
};
|
|
1520
|
+
400: {
|
|
1521
|
+
headers: {
|
|
1522
|
+
[name: string]: unknown;
|
|
1523
|
+
};
|
|
1524
|
+
content: {
|
|
1525
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1526
|
+
};
|
|
1527
|
+
};
|
|
1528
|
+
401: {
|
|
1529
|
+
headers: {
|
|
1530
|
+
[name: string]: unknown;
|
|
1531
|
+
};
|
|
1532
|
+
content: {
|
|
1533
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1534
|
+
};
|
|
1535
|
+
};
|
|
1536
|
+
403: {
|
|
1537
|
+
headers: {
|
|
1538
|
+
[name: string]: unknown;
|
|
1539
|
+
};
|
|
1540
|
+
content: {
|
|
1541
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1542
|
+
};
|
|
1543
|
+
};
|
|
1544
|
+
404: {
|
|
1545
|
+
headers: {
|
|
1546
|
+
[name: string]: unknown;
|
|
1547
|
+
};
|
|
1548
|
+
content: {
|
|
1549
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1550
|
+
};
|
|
1551
|
+
};
|
|
1552
|
+
500: {
|
|
1553
|
+
headers: {
|
|
1554
|
+
[name: string]: unknown;
|
|
1555
|
+
};
|
|
1556
|
+
content: {
|
|
1557
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1558
|
+
};
|
|
1559
|
+
};
|
|
1560
|
+
502: {
|
|
1561
|
+
headers: {
|
|
1562
|
+
[name: string]: unknown;
|
|
1563
|
+
};
|
|
1564
|
+
content: {
|
|
1565
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1566
|
+
};
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
};
|
|
1477
1570
|
"postMyndla-apiV1FoldersFolder-idResources": {
|
|
1478
1571
|
parameters: {
|
|
1479
1572
|
query?: never;
|
|
@@ -1688,10 +1781,7 @@ export interface operations {
|
|
|
1688
1781
|
"getMyndla-apiV1FoldersSharedFolder-id": {
|
|
1689
1782
|
parameters: {
|
|
1690
1783
|
query?: never;
|
|
1691
|
-
header?:
|
|
1692
|
-
/** @description Header containing FEIDE access token. */
|
|
1693
|
-
FeideAuthorization?: string;
|
|
1694
|
-
};
|
|
1784
|
+
header?: never;
|
|
1695
1785
|
path: {
|
|
1696
1786
|
/** @description The UUID of the folder */
|
|
1697
1787
|
"folder-id": string;
|