@ndla/types-backend 1.0.99 → 1.0.100
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.
|
@@ -111,6 +111,26 @@ export type paths = {
|
|
|
111
111
|
patch?: never;
|
|
112
112
|
trace?: never;
|
|
113
113
|
};
|
|
114
|
+
"/myndla-api/v1/folders/resources/path": {
|
|
115
|
+
parameters: {
|
|
116
|
+
query?: never;
|
|
117
|
+
header?: never;
|
|
118
|
+
path?: never;
|
|
119
|
+
cookie?: never;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Fetch resource by path
|
|
123
|
+
* @description Fetch resource by path
|
|
124
|
+
*/
|
|
125
|
+
get: operations["getMyndla-apiV1FoldersResourcesPath"];
|
|
126
|
+
put?: never;
|
|
127
|
+
post?: never;
|
|
128
|
+
delete?: never;
|
|
129
|
+
options?: never;
|
|
130
|
+
head?: never;
|
|
131
|
+
patch?: never;
|
|
132
|
+
trace?: never;
|
|
133
|
+
};
|
|
114
134
|
"/myndla-api/v1/folders/resources/has-favorited": {
|
|
115
135
|
parameters: {
|
|
116
136
|
query?: never;
|
|
@@ -1648,6 +1668,68 @@ export interface operations {
|
|
|
1648
1668
|
};
|
|
1649
1669
|
};
|
|
1650
1670
|
};
|
|
1671
|
+
"getMyndla-apiV1FoldersResourcesPath": {
|
|
1672
|
+
parameters: {
|
|
1673
|
+
query: {
|
|
1674
|
+
/** @description The path of the resource to check */
|
|
1675
|
+
path: string;
|
|
1676
|
+
};
|
|
1677
|
+
header?: never;
|
|
1678
|
+
path?: never;
|
|
1679
|
+
cookie?: never;
|
|
1680
|
+
};
|
|
1681
|
+
requestBody?: never;
|
|
1682
|
+
responses: {
|
|
1683
|
+
200: {
|
|
1684
|
+
headers: {
|
|
1685
|
+
[name: string]: unknown;
|
|
1686
|
+
};
|
|
1687
|
+
content: {
|
|
1688
|
+
"application/json": components["schemas"]["ResourceDTO"];
|
|
1689
|
+
};
|
|
1690
|
+
};
|
|
1691
|
+
400: {
|
|
1692
|
+
headers: {
|
|
1693
|
+
[name: string]: unknown;
|
|
1694
|
+
};
|
|
1695
|
+
content: {
|
|
1696
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1697
|
+
};
|
|
1698
|
+
};
|
|
1699
|
+
401: {
|
|
1700
|
+
headers: {
|
|
1701
|
+
[name: string]: unknown;
|
|
1702
|
+
};
|
|
1703
|
+
content: {
|
|
1704
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1705
|
+
};
|
|
1706
|
+
};
|
|
1707
|
+
403: {
|
|
1708
|
+
headers: {
|
|
1709
|
+
[name: string]: unknown;
|
|
1710
|
+
};
|
|
1711
|
+
content: {
|
|
1712
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1713
|
+
};
|
|
1714
|
+
};
|
|
1715
|
+
404: {
|
|
1716
|
+
headers: {
|
|
1717
|
+
[name: string]: unknown;
|
|
1718
|
+
};
|
|
1719
|
+
content: {
|
|
1720
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1721
|
+
};
|
|
1722
|
+
};
|
|
1723
|
+
500: {
|
|
1724
|
+
headers: {
|
|
1725
|
+
[name: string]: unknown;
|
|
1726
|
+
};
|
|
1727
|
+
content: {
|
|
1728
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
1729
|
+
};
|
|
1730
|
+
};
|
|
1731
|
+
};
|
|
1732
|
+
};
|
|
1651
1733
|
"getMyndla-apiV1FoldersResourcesHas-favorited": {
|
|
1652
1734
|
parameters: {
|
|
1653
1735
|
query: {
|