@ndla/types-backend 1.0.100 → 1.0.102
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.
|
@@ -51,8 +51,8 @@ export type paths = {
|
|
|
51
51
|
cookie?: never;
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
|
-
* Fetch the most recent favorited resource
|
|
55
|
-
* @description Fetch the most recent favorited resource
|
|
54
|
+
* Fetch the most recent favorited resource across all users
|
|
55
|
+
* @description Fetch the most recent favorited resource across all users
|
|
56
56
|
*/
|
|
57
57
|
get: operations["getMyndla-apiV1FoldersResourcesRecent"];
|
|
58
58
|
put?: never;
|
|
@@ -131,6 +131,26 @@ export type paths = {
|
|
|
131
131
|
patch?: never;
|
|
132
132
|
trace?: never;
|
|
133
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
|
+
};
|
|
134
154
|
"/myndla-api/v1/folders/resources/has-favorited": {
|
|
135
155
|
parameters: {
|
|
136
156
|
query?: never;
|
|
@@ -1730,6 +1750,65 @@ export interface operations {
|
|
|
1730
1750
|
};
|
|
1731
1751
|
};
|
|
1732
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
|
+
};
|
|
1733
1812
|
"getMyndla-apiV1FoldersResourcesHas-favorited": {
|
|
1734
1813
|
parameters: {
|
|
1735
1814
|
query: {
|