|
1490 | 1490 | 1 |
1491 | 1491 | ] |
1492 | 1492 | } |
| 1493 | + }, |
| 1494 | + { |
| 1495 | + "name": "X-NC-Preview", |
| 1496 | + "in": "header", |
| 1497 | + "schema": { |
| 1498 | + "type": "string" |
| 1499 | + } |
1493 | 1500 | } |
1494 | 1501 | ], |
1495 | 1502 | "responses": { |
|
1574 | 1581 | "password": { |
1575 | 1582 | "type": "string", |
1576 | 1583 | "nullable": true, |
| 1584 | + "default": null, |
1577 | 1585 | "description": "Password of the share" |
1578 | 1586 | }, |
1579 | 1587 | "dir": { |
1580 | 1588 | "type": "string", |
1581 | 1589 | "nullable": true, |
| 1590 | + "default": null, |
1582 | 1591 | "description": "Subdirectory to get info about" |
1583 | 1592 | }, |
1584 | 1593 | "depth": { |
|
1782 | 1791 | "path": { |
1783 | 1792 | "type": "string", |
1784 | 1793 | "nullable": true, |
| 1794 | + "default": null, |
1785 | 1795 | "description": "Path of the share" |
1786 | 1796 | }, |
1787 | 1797 | "permissions": { |
1788 | 1798 | "type": "integer", |
1789 | 1799 | "format": "int64", |
1790 | 1800 | "nullable": true, |
| 1801 | + "default": null, |
1791 | 1802 | "description": "Permissions for the share" |
1792 | 1803 | }, |
1793 | 1804 | "shareType": { |
|
1799 | 1810 | "shareWith": { |
1800 | 1811 | "type": "string", |
1801 | 1812 | "nullable": true, |
| 1813 | + "default": null, |
1802 | 1814 | "description": "The entity this should be shared with" |
1803 | 1815 | }, |
1804 | 1816 | "publicUpload": { |
1805 | 1817 | "type": "string", |
1806 | 1818 | "nullable": true, |
| 1819 | + "default": null, |
1807 | 1820 | "enum": [ |
1808 | 1821 | "true", |
1809 | 1822 | "false" |
|
1818 | 1831 | "sendPasswordByTalk": { |
1819 | 1832 | "type": "string", |
1820 | 1833 | "nullable": true, |
| 1834 | + "default": null, |
1821 | 1835 | "description": "Send the password for the share over Talk" |
1822 | 1836 | }, |
1823 | 1837 | "expireDate": { |
1824 | 1838 | "type": "string", |
1825 | 1839 | "nullable": true, |
| 1840 | + "default": null, |
1826 | 1841 | "description": "The expiry date of the share in the user's timezone at 00:00. If $expireDate is not supplied or set to `null`, the system default will be used." |
1827 | 1842 | }, |
1828 | 1843 | "note": { |
|
1838 | 1853 | "attributes": { |
1839 | 1854 | "type": "string", |
1840 | 1855 | "nullable": true, |
| 1856 | + "default": null, |
1841 | 1857 | "description": "Additional attributes for the share" |
1842 | 1858 | }, |
1843 | 1859 | "sendMail": { |
1844 | 1860 | "type": "string", |
1845 | 1861 | "nullable": true, |
| 1862 | + "default": null, |
1846 | 1863 | "enum": [ |
1847 | 1864 | "false", |
1848 | 1865 | "true" |
|
2297 | 2314 | "type": "integer", |
2298 | 2315 | "format": "int64", |
2299 | 2316 | "nullable": true, |
| 2317 | + "default": null, |
2300 | 2318 | "description": "New permissions" |
2301 | 2319 | }, |
2302 | 2320 | "password": { |
2303 | 2321 | "type": "string", |
2304 | 2322 | "nullable": true, |
| 2323 | + "default": null, |
2305 | 2324 | "description": "New password" |
2306 | 2325 | }, |
2307 | 2326 | "sendPasswordByTalk": { |
2308 | 2327 | "type": "string", |
2309 | 2328 | "nullable": true, |
| 2329 | + "default": null, |
2310 | 2330 | "description": "New condition if the password should be send over Talk" |
2311 | 2331 | }, |
2312 | 2332 | "publicUpload": { |
2313 | 2333 | "type": "string", |
2314 | 2334 | "nullable": true, |
| 2335 | + "default": null, |
2315 | 2336 | "description": "New condition if public uploading is allowed" |
2316 | 2337 | }, |
2317 | 2338 | "expireDate": { |
2318 | 2339 | "type": "string", |
2319 | 2340 | "nullable": true, |
| 2341 | + "default": null, |
2320 | 2342 | "description": "New expiry date" |
2321 | 2343 | }, |
2322 | 2344 | "note": { |
2323 | 2345 | "type": "string", |
2324 | 2346 | "nullable": true, |
| 2347 | + "default": null, |
2325 | 2348 | "description": "New note" |
2326 | 2349 | }, |
2327 | 2350 | "label": { |
2328 | 2351 | "type": "string", |
2329 | 2352 | "nullable": true, |
| 2353 | + "default": null, |
2330 | 2354 | "description": "New label" |
2331 | 2355 | }, |
2332 | 2356 | "hideDownload": { |
2333 | 2357 | "type": "string", |
2334 | 2358 | "nullable": true, |
| 2359 | + "default": null, |
2335 | 2360 | "description": "New condition if the download should be hidden" |
2336 | 2361 | }, |
2337 | 2362 | "attributes": { |
2338 | 2363 | "type": "string", |
2339 | 2364 | "nullable": true, |
| 2365 | + "default": null, |
2340 | 2366 | "description": "New additional attributes" |
2341 | 2367 | }, |
2342 | 2368 | "sendMail": { |
2343 | 2369 | "type": "string", |
2344 | 2370 | "nullable": true, |
| 2371 | + "default": null, |
2345 | 2372 | "description": "if the share should be send by mail. Considering the share already exists, no mail will be send after the share is updated. You will have to use the sendMail action to send the mail." |
2346 | 2373 | }, |
2347 | 2374 | "token": { |
2348 | 2375 | "type": "string", |
2349 | 2376 | "nullable": true, |
| 2377 | + "default": null, |
2350 | 2378 | "description": "New token" |
2351 | 2379 | } |
2352 | 2380 | } |
|
3099 | 3127 | "description": "Limit to specific item types", |
3100 | 3128 | "schema": { |
3101 | 3129 | "type": "string", |
3102 | | - "nullable": true |
| 3130 | + "nullable": true, |
| 3131 | + "default": null |
3103 | 3132 | } |
3104 | 3133 | }, |
3105 | 3134 | { |
|
3128 | 3157 | "description": "Limit to specific share types", |
3129 | 3158 | "schema": { |
3130 | 3159 | "nullable": true, |
| 3160 | + "default": null, |
3131 | 3161 | "oneOf": [ |
3132 | 3162 | { |
3133 | 3163 | "type": "integer", |
|
3267 | 3297 | "description": "Limit to specific share types", |
3268 | 3298 | "schema": { |
3269 | 3299 | "nullable": true, |
| 3300 | + "default": null, |
3270 | 3301 | "oneOf": [ |
3271 | 3302 | { |
3272 | 3303 | "type": "integer", |
|
0 commit comments