aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-04-06 10:17:06 +0200
committerChocobozzz <me@florianbigard.com>2018-04-06 10:17:06 +0200
commit61b66b361f3e5f6d507188517461c2791d0600e5 (patch)
tree3fa575e8b106a606c549d255f9b78172fb21429b
parentf37bad639b36d35c29a464dc52123a1e7c9cd28a (diff)
downloadPeerTube-61b66b361f3e5f6d507188517461c2791d0600e5.tar.gz
PeerTube-61b66b361f3e5f6d507188517461c2791d0600e5.tar.zst
PeerTube-61b66b361f3e5f6d507188517461c2791d0600e5.zip
Upgrade api doc
-rw-r--r--support/doc/api/html/index.html784
-rw-r--r--support/doc/api/openapi.yaml196
2 files changed, 919 insertions, 61 deletions
diff --git a/support/doc/api/html/index.html b/support/doc/api/html/index.html
index 700b2a423..59c982546 100644
--- a/support/doc/api/html/index.html
+++ b/support/doc/api/html/index.html
@@ -224,6 +224,7 @@
224 </section> 224 </section>
225 <h5>Schema Definitions</h5> 225 <h5>Schema Definitions</h5>
226 <a href="#definition-VideoConstant"> VideoConstant </a> 226 <a href="#definition-VideoConstant"> VideoConstant </a>
227 <a href="#definition-VideoPrivacy"> VideoPrivacy </a>
227 <a href="#definition-Video"> Video </a> 228 <a href="#definition-Video"> Video </a>
228 <a href="#definition-VideoAbuse"> VideoAbuse </a> 229 <a href="#definition-VideoAbuse"> VideoAbuse </a>
229 <a href="#definition-VideoBlacklist"> VideoBlacklist </a> 230 <a href="#definition-VideoBlacklist"> VideoBlacklist </a>
@@ -1223,7 +1224,8 @@
1223 </div> 1224 </div>
1224 </div> 1225 </div>
1225 <div class="prop-value columns small-6"> 1226 <div class="prop-value columns small-6">
1226 <!-- <div class="swagger-request-description"> -->undefined 1227 <!-- <div class="swagger-request-description"> -->
1228 <p>User to create</p>
1227 <!-- </div> --> 1229 <!-- </div> -->
1228 </div> 1230 </div>
1229 </div> 1231 </div>
@@ -1431,6 +1433,7 @@
1431 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1433 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1432 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 1434 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1433 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 1435 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1436 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1434 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 1437 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1435 <span class="hljs-attr">&quot;category&quot;</span>: { 1438 <span class="hljs-attr">&quot;category&quot;</span>: {
1436 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1439 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -1444,6 +1447,7 @@
1444 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1447 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1445 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 1448 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1446 }, 1449 },
1450 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1447 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 1451 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1448 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1452 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1449 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 1453 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -1454,7 +1458,18 @@
1454 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1458 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1455 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1459 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1456 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1460 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1457 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 1461 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
1462 <span class="hljs-attr">&quot;account&quot;</span>: {
1463 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1464 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1465 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1466 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1467 <span class="hljs-attr">&quot;avatar&quot;</span>: {
1468 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1469 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1470 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1471 }
1472 }
1458 } 1473 }
1459 ] 1474 ]
1460 } 1475 }
@@ -1638,6 +1653,7 @@
1638 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1653 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1639 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 1654 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1640 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 1655 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1656 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1641 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 1657 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1642 <span class="hljs-attr">&quot;category&quot;</span>: { 1658 <span class="hljs-attr">&quot;category&quot;</span>: {
1643 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1659 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -1651,6 +1667,7 @@
1651 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1667 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1652 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 1668 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1653 }, 1669 },
1670 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1654 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 1671 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1655 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1672 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1656 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 1673 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -1661,7 +1678,18 @@
1661 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1678 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1662 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1679 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1663 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1680 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1664 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 1681 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
1682 <span class="hljs-attr">&quot;account&quot;</span>: {
1683 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1684 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1685 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1686 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1687 <span class="hljs-attr">&quot;avatar&quot;</span>: {
1688 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1689 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1690 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1691 }
1692 }
1665 } 1693 }
1666 ] 1694 ]
1667 } 1695 }
@@ -1852,6 +1880,7 @@
1852 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1880 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1853 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 1881 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1854 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 1882 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1883 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1855 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 1884 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1856 <span class="hljs-attr">&quot;category&quot;</span>: { 1885 <span class="hljs-attr">&quot;category&quot;</span>: {
1857 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1886 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -1865,6 +1894,7 @@
1865 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1894 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1866 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 1895 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1867 }, 1896 },
1897 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1868 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 1898 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1869 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1899 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1870 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 1900 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -1875,7 +1905,18 @@
1875 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1905 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1876 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1906 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1877 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 1907 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1878 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 1908 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
1909 <span class="hljs-attr">&quot;account&quot;</span>: {
1910 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1911 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1912 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1913 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1914 <span class="hljs-attr">&quot;avatar&quot;</span>: {
1915 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1916 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1917 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1918 }
1919 }
1879 } 1920 }
1880 ] 1921 ]
1881 } 1922 }
@@ -2197,6 +2238,7 @@
2197 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2238 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2198 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 2239 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2199 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 2240 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2241 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2200 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 2242 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2201 <span class="hljs-attr">&quot;category&quot;</span>: { 2243 <span class="hljs-attr">&quot;category&quot;</span>: {
2202 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2244 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -2210,6 +2252,7 @@
2210 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2252 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2211 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 2253 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2212 }, 2254 },
2255 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2213 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 2256 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2214 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2257 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2215 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 2258 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -2220,7 +2263,18 @@
2220 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2263 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2221 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2264 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2222 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2265 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2223 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 2266 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
2267 <span class="hljs-attr">&quot;account&quot;</span>: {
2268 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2269 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2270 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2271 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2272 <span class="hljs-attr">&quot;avatar&quot;</span>: {
2273 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2274 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2275 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2276 }
2277 }
2224 } 2278 }
2225] 2279]
2226</code></pre> 2280</code></pre>
@@ -2489,6 +2543,7 @@
2489 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2543 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2490 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 2544 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2491 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 2545 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2546 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2492 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 2547 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2493 <span class="hljs-attr">&quot;category&quot;</span>: { 2548 <span class="hljs-attr">&quot;category&quot;</span>: {
2494 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2549 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -2502,6 +2557,7 @@
2502 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2557 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2503 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 2558 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2504 }, 2559 },
2560 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2505 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 2561 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2506 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2562 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2507 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 2563 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -2512,7 +2568,18 @@
2512 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2568 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2513 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2569 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2514 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2570 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2515 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 2571 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
2572 <span class="hljs-attr">&quot;account&quot;</span>: {
2573 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2574 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2575 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2576 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2577 <span class="hljs-attr">&quot;avatar&quot;</span>: {
2578 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2579 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2580 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2581 }
2582 }
2516 } 2583 }
2517] 2584]
2518</code></pre> 2585</code></pre>
@@ -2836,6 +2903,7 @@
2836 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2903 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2837 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 2904 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2838 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 2905 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2906 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2839 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 2907 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2840 <span class="hljs-attr">&quot;category&quot;</span>: { 2908 <span class="hljs-attr">&quot;category&quot;</span>: {
2841 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2909 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -2849,6 +2917,7 @@
2849 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2917 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2850 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 2918 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2851 }, 2919 },
2920 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2852 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 2921 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2853 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2922 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2854 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 2923 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -2859,7 +2928,18 @@
2859 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2928 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2860 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2929 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2861 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 2930 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2862 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 2931 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
2932 <span class="hljs-attr">&quot;account&quot;</span>: {
2933 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2934 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2935 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2936 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2937 <span class="hljs-attr">&quot;avatar&quot;</span>: {
2938 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2939 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2940 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2941 }
2942 }
2863 } 2943 }
2864] 2944]
2865</code></pre> 2945</code></pre>
@@ -2892,7 +2972,7 @@
2892 <span class="json-property-required"></span> 2972 <span class="json-property-required"></span>
2893 </div> 2973 </div>
2894 <div class="prop-value"> 2974 <div class="prop-value">
2895 <p>The video id </p> 2975 <p>The video id</p>
2896 </div> 2976 </div>
2897 </div> 2977 </div>
2898 <div class="prop-row prop-inner"> 2978 <div class="prop-row prop-inner">
@@ -2906,6 +2986,239 @@
2906 <div class="prop-name param-label">in</div> 2986 <div class="prop-name param-label">in</div>
2907 <div class="prop-value">path</div> 2987 <div class="prop-value">path</div>
2908 </div> 2988 </div>
2989 <div class="prop-row prop-group">
2990 <div class="prop-name">
2991 <div class="prop-title">thumbnailfile</div>
2992 </div>
2993 <div class="prop-value">
2994 <p>Video thumbnail file</p>
2995 </div>
2996 </div>
2997 <div class="prop-row prop-inner">
2998 <div class="prop-name param-label">type</div>
2999 <div class="prop-value">
3000 <span class="json-property-type">file</span>
3001 <span class="json-property-range" title="Value limits"></span>
3002 </div>
3003 </div>
3004 <div class="prop-row prop-inner">
3005 <div class="prop-name param-label">in</div>
3006 <div class="prop-value">formData</div>
3007 </div>
3008 <div class="prop-row prop-group">
3009 <div class="prop-name">
3010 <div class="prop-title">previewfile</div>
3011 </div>
3012 <div class="prop-value">
3013 <p>Video preview file</p>
3014 </div>
3015 </div>
3016 <div class="prop-row prop-inner">
3017 <div class="prop-name param-label">type</div>
3018 <div class="prop-value">
3019 <span class="json-property-type">file</span>
3020 <span class="json-property-range" title="Value limits"></span>
3021 </div>
3022 </div>
3023 <div class="prop-row prop-inner">
3024 <div class="prop-name param-label">in</div>
3025 <div class="prop-value">formData</div>
3026 </div>
3027 <div class="prop-row prop-group">
3028 <div class="prop-name">
3029 <div class="prop-title">category</div>
3030 </div>
3031 <div class="prop-value">
3032 <p>Video category</p>
3033 </div>
3034 </div>
3035 <div class="prop-row prop-inner">
3036 <div class="prop-name param-label">type</div>
3037 <div class="prop-value">
3038 <span class="json-property-type">number</span>
3039 <span class="json-property-range" title="Value limits"></span>
3040 </div>
3041 </div>
3042 <div class="prop-row prop-inner">
3043 <div class="prop-name param-label">in</div>
3044 <div class="prop-value">formData</div>
3045 </div>
3046 <div class="prop-row prop-group">
3047 <div class="prop-name">
3048 <div class="prop-title">licence</div>
3049 </div>
3050 <div class="prop-value">
3051 <p>Video licence</p>
3052 </div>
3053 </div>
3054 <div class="prop-row prop-inner">
3055 <div class="prop-name param-label">type</div>
3056 <div class="prop-value">
3057 <span class="json-property-type">number</span>
3058 <span class="json-property-range" title="Value limits"></span>
3059 </div>
3060 </div>
3061 <div class="prop-row prop-inner">
3062 <div class="prop-name param-label">in</div>
3063 <div class="prop-value">formData</div>
3064 </div>
3065 <div class="prop-row prop-group">
3066 <div class="prop-name">
3067 <div class="prop-title">language</div>
3068 </div>
3069 <div class="prop-value">
3070 <p>Video language</p>
3071 </div>
3072 </div>
3073 <div class="prop-row prop-inner">
3074 <div class="prop-name param-label">type</div>
3075 <div class="prop-value">
3076 <span class="json-property-type">number</span>
3077 <span class="json-property-range" title="Value limits"></span>
3078 </div>
3079 </div>
3080 <div class="prop-row prop-inner">
3081 <div class="prop-name param-label">in</div>
3082 <div class="prop-value">formData</div>
3083 </div>
3084 <div class="prop-row prop-group">
3085 <div class="prop-name">
3086 <div class="prop-title">description</div>
3087 </div>
3088 <div class="prop-value">
3089 <p>Video description</p>
3090 </div>
3091 </div>
3092 <div class="prop-row prop-inner">
3093 <div class="prop-name param-label">type</div>
3094 <div class="prop-value">
3095 <span class="json-property-type">string</span>
3096 <span class="json-property-range" title="Value limits"></span>
3097 </div>
3098 </div>
3099 <div class="prop-row prop-inner">
3100 <div class="prop-name param-label">in</div>
3101 <div class="prop-value">formData</div>
3102 </div>
3103 <div class="prop-row prop-group">
3104 <div class="prop-name">
3105 <div class="prop-title">support</div>
3106 </div>
3107 <div class="prop-value">
3108 <p>Text describing how to support the video uploader</p>
3109 </div>
3110 </div>
3111 <div class="prop-row prop-inner">
3112 <div class="prop-name param-label">type</div>
3113 <div class="prop-value">
3114 <span class="json-property-type">string</span>
3115 <span class="json-property-range" title="Value limits"></span>
3116 </div>
3117 </div>
3118 <div class="prop-row prop-inner">
3119 <div class="prop-name param-label">in</div>
3120 <div class="prop-value">formData</div>
3121 </div>
3122 <div class="prop-row prop-group">
3123 <div class="prop-name">
3124 <div class="prop-title">nsfw</div>
3125 </div>
3126 <div class="prop-value">
3127 <p>Whether or not this video contains sensitive content</p>
3128 </div>
3129 </div>
3130 <div class="prop-row prop-inner">
3131 <div class="prop-name param-label">type</div>
3132 <div class="prop-value">
3133 <span class="json-property-type">boolean</span>
3134 <span class="json-property-range" title="Value limits"></span>
3135 </div>
3136 </div>
3137 <div class="prop-row prop-inner">
3138 <div class="prop-name param-label">in</div>
3139 <div class="prop-value">formData</div>
3140 </div>
3141 <div class="prop-row prop-group">
3142 <div class="prop-name">
3143 <div class="prop-title">name</div>
3144 </div>
3145 <div class="prop-value">
3146 <p>Video name</p>
3147 </div>
3148 </div>
3149 <div class="prop-row prop-inner">
3150 <div class="prop-name param-label">type</div>
3151 <div class="prop-value">
3152 <span class="json-property-type">string</span>
3153 <span class="json-property-range" title="Value limits"></span>
3154 </div>
3155 </div>
3156 <div class="prop-row prop-inner">
3157 <div class="prop-name param-label">in</div>
3158 <div class="prop-value">formData</div>
3159 </div>
3160 <div class="prop-row prop-group">
3161 <div class="prop-name">
3162 <div class="prop-title">tags</div>
3163 </div>
3164 <div class="prop-value">
3165 <p>Video tags</p>
3166 </div>
3167 </div>
3168 <div class="prop-row prop-inner">
3169 <div class="prop-name param-label">type</div>
3170 <div class="prop-value">
3171 <span class="json-property-type">string[]</span>
3172 <span class="json-property-range" title="Value limits"></span>
3173 </div>
3174 </div>
3175 <div class="prop-row prop-inner">
3176 <div class="prop-name param-label">in</div>
3177 <div class="prop-value">formData</div>
3178 </div>
3179 <div class="prop-row prop-group">
3180 <div class="prop-name">
3181 <div class="prop-title">commentsEnabled</div>
3182 </div>
3183 <div class="prop-value">
3184 <p>Enable or disable comments for this video</p>
3185 </div>
3186 </div>
3187 <div class="prop-row prop-inner">
3188 <div class="prop-name param-label">type</div>
3189 <div class="prop-value">
3190 <span class="json-property-type">boolean</span>
3191 <span class="json-property-range" title="Value limits"></span>
3192 </div>
3193 </div>
3194 <div class="prop-row prop-inner">
3195 <div class="prop-name param-label">in</div>
3196 <div class="prop-value">formData</div>
3197 </div>
3198 <div class="prop-row prop-group">
3199 <div class="prop-name">
3200 <div class="prop-title">privacy</div>
3201 </div>
3202 <div class="prop-value">
3203 <p>Video privacy</p>
3204 </div>
3205 </div>
3206 <div class="prop-row prop-inner">
3207 <div class="prop-name param-label">type</div>
3208 <div class="prop-value">
3209 <span class="json-property-type">string</span>
3210 <span class="json-property-enum" title="Possible values">
3211 <span class="json-property-enum-item">Public</span>,
3212 <span class="json-property-enum-item">Unlisted</span>,
3213 <span class="json-property-enum-item">Private</span>
3214 </span>
3215 <span class="json-property-range" title="Value limits"></span>
3216 </div>
3217 </div>
3218 <div class="prop-row prop-inner">
3219 <div class="prop-name param-label">in</div>
3220 <div class="prop-value">formData</div>
3221 </div>
2909 </section> 3222 </section>
2910 </div> 3223 </div>
2911 <div class="doc-examples"></div> 3224 <div class="doc-examples"></div>
@@ -2941,6 +3254,7 @@
2941 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3254 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2942 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 3255 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2943 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 3256 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3257 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2944 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 3258 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2945 <span class="hljs-attr">&quot;category&quot;</span>: { 3259 <span class="hljs-attr">&quot;category&quot;</span>: {
2946 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3260 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -2954,6 +3268,7 @@
2954 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3268 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2955 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 3269 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2956 }, 3270 },
3271 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2957 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 3272 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2958 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3273 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2959 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 3274 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -2964,7 +3279,18 @@
2964 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3279 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2965 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3280 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2966 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3281 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2967 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 3282 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
3283 <span class="hljs-attr">&quot;account&quot;</span>: {
3284 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3285 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3286 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3287 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3288 <span class="hljs-attr">&quot;avatar&quot;</span>: {
3289 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3290 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3291 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3292 }
3293 }
2968} 3294}
2969</code></pre> 3295</code></pre>
2970 <!-- </div> --> 3296 <!-- </div> -->
@@ -3045,6 +3371,7 @@
3045 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3371 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3046 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 3372 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3047 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 3373 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3374 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3048 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 3375 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3049 <span class="hljs-attr">&quot;category&quot;</span>: { 3376 <span class="hljs-attr">&quot;category&quot;</span>: {
3050 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3377 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -3058,6 +3385,7 @@
3058 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3385 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3059 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 3386 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3060 }, 3387 },
3388 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3061 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 3389 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3062 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3390 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3063 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 3391 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -3068,7 +3396,18 @@
3068 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3396 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3069 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3397 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3070 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3398 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3071 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 3399 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
3400 <span class="hljs-attr">&quot;account&quot;</span>: {
3401 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3402 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3403 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3404 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3405 <span class="hljs-attr">&quot;avatar&quot;</span>: {
3406 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3407 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3408 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3409 }
3410 }
3072} 3411}
3073</code></pre> 3412</code></pre>
3074 <!-- </div> --> 3413 <!-- </div> -->
@@ -3293,9 +3632,10 @@
3293 <div class="prop-row prop-group"> 3632 <div class="prop-row prop-group">
3294 <div class="prop-name"> 3633 <div class="prop-name">
3295 <div class="prop-title">videofile</div> 3634 <div class="prop-title">videofile</div>
3635 <span class="json-property-required"></span>
3296 </div> 3636 </div>
3297 <div class="prop-value"> 3637 <div class="prop-value">
3298 <p>The file to upload.</p> 3638 <p>Video file</p>
3299 </div> 3639 </div>
3300 </div> 3640 </div>
3301 <div class="prop-row prop-inner"> 3641 <div class="prop-row prop-inner">
@@ -3309,6 +3649,264 @@
3309 <div class="prop-name param-label">in</div> 3649 <div class="prop-name param-label">in</div>
3310 <div class="prop-value">formData</div> 3650 <div class="prop-value">formData</div>
3311 </div> 3651 </div>
3652 <div class="prop-row prop-group">
3653 <div class="prop-name">
3654 <div class="prop-title">thumbnailfile</div>
3655 <span class="json-property-required"></span>
3656 </div>
3657 <div class="prop-value">
3658 <p>Video thumbnail file</p>
3659 </div>
3660 </div>
3661 <div class="prop-row prop-inner">
3662 <div class="prop-name param-label">type</div>
3663 <div class="prop-value">
3664 <span class="json-property-type">file</span>
3665 <span class="json-property-range" title="Value limits"></span>
3666 </div>
3667 </div>
3668 <div class="prop-row prop-inner">
3669 <div class="prop-name param-label">in</div>
3670 <div class="prop-value">formData</div>
3671 </div>
3672 <div class="prop-row prop-group">
3673 <div class="prop-name">
3674 <div class="prop-title">previewfile</div>
3675 <span class="json-property-required"></span>
3676 </div>
3677 <div class="prop-value">
3678 <p>Video preview file</p>
3679 </div>
3680 </div>
3681 <div class="prop-row prop-inner">
3682 <div class="prop-name param-label">type</div>
3683 <div class="prop-value">
3684 <span class="json-property-type">file</span>
3685 <span class="json-property-range" title="Value limits"></span>
3686 </div>
3687 </div>
3688 <div class="prop-row prop-inner">
3689 <div class="prop-name param-label">in</div>
3690 <div class="prop-value">formData</div>
3691 </div>
3692 <div class="prop-row prop-group">
3693 <div class="prop-name">
3694 <div class="prop-title">category</div>
3695 </div>
3696 <div class="prop-value">
3697 <p>Video category</p>
3698 </div>
3699 </div>
3700 <div class="prop-row prop-inner">
3701 <div class="prop-name param-label">type</div>
3702 <div class="prop-value">
3703 <span class="json-property-type">number</span>
3704 <span class="json-property-range" title="Value limits"></span>
3705 </div>
3706 </div>
3707 <div class="prop-row prop-inner">
3708 <div class="prop-name param-label">in</div>
3709 <div class="prop-value">formData</div>
3710 </div>
3711 <div class="prop-row prop-group">
3712 <div class="prop-name">
3713 <div class="prop-title">licence</div>
3714 </div>
3715 <div class="prop-value">
3716 <p>Video licence</p>
3717 </div>
3718 </div>
3719 <div class="prop-row prop-inner">
3720 <div class="prop-name param-label">type</div>
3721 <div class="prop-value">
3722 <span class="json-property-type">number</span>
3723 <span class="json-property-range" title="Value limits"></span>
3724 </div>
3725 </div>
3726 <div class="prop-row prop-inner">
3727 <div class="prop-name param-label">in</div>
3728 <div class="prop-value">formData</div>
3729 </div>
3730 <div class="prop-row prop-group">
3731 <div class="prop-name">
3732 <div class="prop-title">language</div>
3733 </div>
3734 <div class="prop-value">
3735 <p>Video language</p>
3736 </div>
3737 </div>
3738 <div class="prop-row prop-inner">
3739 <div class="prop-name param-label">type</div>
3740 <div class="prop-value">
3741 <span class="json-property-type">number</span>
3742 <span class="json-property-range" title="Value limits"></span>
3743 </div>
3744 </div>
3745 <div class="prop-row prop-inner">
3746 <div class="prop-name param-label">in</div>
3747 <div class="prop-value">formData</div>
3748 </div>
3749 <div class="prop-row prop-group">
3750 <div class="prop-name">
3751 <div class="prop-title">description</div>
3752 </div>
3753 <div class="prop-value">
3754 <p>Video description</p>
3755 </div>
3756 </div>
3757 <div class="prop-row prop-inner">
3758 <div class="prop-name param-label">type</div>
3759 <div class="prop-value">
3760 <span class="json-property-type">string</span>
3761 <span class="json-property-range" title="Value limits"></span>
3762 </div>
3763 </div>
3764 <div class="prop-row prop-inner">
3765 <div class="prop-name param-label">in</div>
3766 <div class="prop-value">formData</div>
3767 </div>
3768 <div class="prop-row prop-group">
3769 <div class="prop-name">
3770 <div class="prop-title">support</div>
3771 </div>
3772 <div class="prop-value">
3773 <p>Text describing how to support the video uploader</p>
3774 </div>
3775 </div>
3776 <div class="prop-row prop-inner">
3777 <div class="prop-name param-label">type</div>
3778 <div class="prop-value">
3779 <span class="json-property-type">string</span>
3780 <span class="json-property-range" title="Value limits"></span>
3781 </div>
3782 </div>
3783 <div class="prop-row prop-inner">
3784 <div class="prop-name param-label">in</div>
3785 <div class="prop-value">formData</div>
3786 </div>
3787 <div class="prop-row prop-group">
3788 <div class="prop-name">
3789 <div class="prop-title">channelId</div>
3790 <span class="json-property-required"></span>
3791 </div>
3792 <div class="prop-value">
3793 <p>Channel id that will contain this video</p>
3794 </div>
3795 </div>
3796 <div class="prop-row prop-inner">
3797 <div class="prop-name param-label">type</div>
3798 <div class="prop-value">
3799 <span class="json-property-type">number</span>
3800 <span class="json-property-range" title="Value limits"></span>
3801 </div>
3802 </div>
3803 <div class="prop-row prop-inner">
3804 <div class="prop-name param-label">in</div>
3805 <div class="prop-value">formData</div>
3806 </div>
3807 <div class="prop-row prop-group">
3808 <div class="prop-name">
3809 <div class="prop-title">nsfw</div>
3810 <span class="json-property-required"></span>
3811 </div>
3812 <div class="prop-value">
3813 <p>Whether or not this video contains sensitive content</p>
3814 </div>
3815 </div>
3816 <div class="prop-row prop-inner">
3817 <div class="prop-name param-label">type</div>
3818 <div class="prop-value">
3819 <span class="json-property-type">boolean</span>
3820 <span class="json-property-range" title="Value limits"></span>
3821 </div>
3822 </div>
3823 <div class="prop-row prop-inner">
3824 <div class="prop-name param-label">in</div>
3825 <div class="prop-value">formData</div>
3826 </div>
3827 <div class="prop-row prop-group">
3828 <div class="prop-name">
3829 <div class="prop-title">name</div>
3830 <span class="json-property-required"></span>
3831 </div>
3832 <div class="prop-value">
3833 <p>Video name</p>
3834 </div>
3835 </div>
3836 <div class="prop-row prop-inner">
3837 <div class="prop-name param-label">type</div>
3838 <div class="prop-value">
3839 <span class="json-property-type">string</span>
3840 <span class="json-property-range" title="Value limits"></span>
3841 </div>
3842 </div>
3843 <div class="prop-row prop-inner">
3844 <div class="prop-name param-label">in</div>
3845 <div class="prop-value">formData</div>
3846 </div>
3847 <div class="prop-row prop-group">
3848 <div class="prop-name">
3849 <div class="prop-title">tags</div>
3850 </div>
3851 <div class="prop-value">
3852 <p>Video tags</p>
3853 </div>
3854 </div>
3855 <div class="prop-row prop-inner">
3856 <div class="prop-name param-label">type</div>
3857 <div class="prop-value">
3858 <span class="json-property-type">string[]</span>
3859 <span class="json-property-range" title="Value limits"></span>
3860 </div>
3861 </div>
3862 <div class="prop-row prop-inner">
3863 <div class="prop-name param-label">in</div>
3864 <div class="prop-value">formData</div>
3865 </div>
3866 <div class="prop-row prop-group">
3867 <div class="prop-name">
3868 <div class="prop-title">commentsEnabled</div>
3869 </div>
3870 <div class="prop-value">
3871 <p>Enable or disable comments for this video</p>
3872 </div>
3873 </div>
3874 <div class="prop-row prop-inner">
3875 <div class="prop-name param-label">type</div>
3876 <div class="prop-value">
3877 <span class="json-property-type">boolean</span>
3878 <span class="json-property-range" title="Value limits"></span>
3879 </div>
3880 </div>
3881 <div class="prop-row prop-inner">
3882 <div class="prop-name param-label">in</div>
3883 <div class="prop-value">formData</div>
3884 </div>
3885 <div class="prop-row prop-group">
3886 <div class="prop-name">
3887 <div class="prop-title">privacy</div>
3888 <span class="json-property-required"></span>
3889 </div>
3890 <div class="prop-value">
3891 <p>Video privacy</p>
3892 </div>
3893 </div>
3894 <div class="prop-row prop-inner">
3895 <div class="prop-name param-label">type</div>
3896 <div class="prop-value">
3897 <span class="json-property-type">string</span>
3898 <span class="json-property-enum" title="Possible values">
3899 <span class="json-property-enum-item">Public</span>,
3900 <span class="json-property-enum-item">Unlisted</span>,
3901 <span class="json-property-enum-item">Private</span>
3902 </span>
3903 <span class="json-property-range" title="Value limits"></span>
3904 </div>
3905 </div>
3906 <div class="prop-row prop-inner">
3907 <div class="prop-name param-label">in</div>
3908 <div class="prop-value">formData</div>
3909 </div>
3312 </section> 3910 </section>
3313 </div> 3911 </div>
3314 <div class="doc-examples"></div> 3912 <div class="doc-examples"></div>
@@ -3341,8 +3939,10 @@
3341 <span>(200 OK)</span> 3939 <span>(200 OK)</span>
3342 </h5> 3940 </h5>
3343 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ 3941 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
3344 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 3942 <span class="hljs-attr">&quot;video&quot;</span>: {
3345 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 3943 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3944 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3945 }
3346} 3946}
3347</code></pre> 3947</code></pre>
3348 <!-- </div> --> 3948 <!-- </div> -->
@@ -3478,6 +4078,12 @@
3478 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 4078 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3479 } 4079 }
3480 }, 4080 },
4081 <span class="hljs-attr">&quot;video&quot;</span>: {
4082 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4083 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4084 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4085 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
4086 },
3481 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 4087 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3482 } 4088 }
3483] 4089]
@@ -3923,6 +4529,7 @@
3923 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4529 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3924 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 4530 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3925 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 4531 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4532 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3926 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 4533 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3927 <span class="hljs-attr">&quot;category&quot;</span>: { 4534 <span class="hljs-attr">&quot;category&quot;</span>: {
3928 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4535 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -3936,6 +4543,7 @@
3936 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4543 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3937 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 4544 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3938 }, 4545 },
4546 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3939 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 4547 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3940 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4548 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3941 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 4549 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -3946,7 +4554,18 @@
3946 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4554 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3947 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4555 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3948 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4556 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3949 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 4557 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
4558 <span class="hljs-attr">&quot;account&quot;</span>: {
4559 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4560 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4561 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4562 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4563 <span class="hljs-attr">&quot;avatar&quot;</span>: {
4564 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4565 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4566 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
4567 }
4568 }
3950 } 4569 }
3951 ] 4570 ]
3952 } 4571 }
@@ -4107,6 +4726,7 @@
4107 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4726 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4108 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 4727 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4109 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 4728 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4729 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4110 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 4730 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4111 <span class="hljs-attr">&quot;category&quot;</span>: { 4731 <span class="hljs-attr">&quot;category&quot;</span>: {
4112 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4732 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -4120,6 +4740,7 @@
4120 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4740 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4121 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 4741 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
4122 }, 4742 },
4743 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4123 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 4744 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4124 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4745 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4125 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 4746 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -4130,7 +4751,18 @@
4130 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4751 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4131 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4752 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4132 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 4753 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4133 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 4754 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
4755 <span class="hljs-attr">&quot;account&quot;</span>: {
4756 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4757 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4758 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4759 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4760 <span class="hljs-attr">&quot;avatar&quot;</span>: {
4761 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4762 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4763 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
4764 }
4765 }
4134 } 4766 }
4135 ] 4767 ]
4136} 4768}
@@ -4375,6 +5007,7 @@
4375 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 5007 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4376 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 5008 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4377 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 5009 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5010 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4378 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 5011 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4379 <span class="hljs-attr">&quot;category&quot;</span>: { 5012 <span class="hljs-attr">&quot;category&quot;</span>: {
4380 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 5013 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -4388,6 +5021,7 @@
4388 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 5021 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4389 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 5022 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
4390 }, 5023 },
5024 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4391 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 5025 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4392 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 5026 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4393 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 5027 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -4398,7 +5032,18 @@
4398 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 5032 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4399 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 5033 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4400 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 5034 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4401 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 5035 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
5036 <span class="hljs-attr">&quot;account&quot;</span>: {
5037 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5038 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5039 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5040 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5041 <span class="hljs-attr">&quot;avatar&quot;</span>: {
5042 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5043 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5044 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5045 }
5046 }
4402 } 5047 }
4403 ] 5048 ]
4404 } 5049 }
@@ -5178,6 +5823,31 @@
5178 </div> 5823 </div>
5179 </div> 5824 </div>
5180 </div> 5825 </div>
5826 <div id="definition-VideoPrivacy" class="definition panel" data-traverse-target="definition-VideoPrivacy">
5827 <h2 class="panel-title">
5828 <a name="/definitions/VideoPrivacy"></a>VideoPrivacy: string
5829 <!-- <span class="json-property-type"><span class="json-property-type">string</span> <span class="json-property-enum" title="Possible values">
5830 <span class="json-property-enum-item">Public</span>,
5831 <span class="json-property-enum-item">Unlisted</span>,
5832 <span class="json-property-enum-item">Private</span>
5833 </span>
5834 <span class="json-property-range" title="Value limits"></span>
5835
5836
5837 </span> -->
5838 </h2>
5839 <div class="doc-row">
5840 <div class="doc-copy">
5841 <span class="json-property-type">string</span>
5842 <span class="json-property-enum" title="Possible values">
5843 <span class="json-property-enum-item">Public</span>,
5844 <span class="json-property-enum-item">Unlisted</span>,
5845 <span class="json-property-enum-item">Private</span>
5846 </span>
5847 <span class="json-property-range" title="Value limits"></span>
5848 </div>
5849 </div>
5850 </div>
5181 <div id="definition-Video" class="definition panel" data-traverse-target="definition-Video"> 5851 <div id="definition-Video" class="definition panel" data-traverse-target="definition-Video">
5182 <h2 class="panel-title"> 5852 <h2 class="panel-title">
5183 <a name="/definitions/Video"></a>Video: 5853 <a name="/definitions/Video"></a>Video:
@@ -5206,6 +5876,11 @@
5206 <span class="json-property-type">string</span> 5876 <span class="json-property-type">string</span>
5207 <span class="json-property-range" title="Value limits"></span> 5877 <span class="json-property-range" title="Value limits"></span>
5208 </dt> 5878 </dt>
5879 <dt data-property-name="publishedAt">
5880 <span class="json-property-name">publishedAt:</span>
5881 <span class="json-property-type">string</span>
5882 <span class="json-property-range" title="Value limits"></span>
5883 </dt>
5209 <dt data-property-name="updatedAt"> 5884 <dt data-property-name="updatedAt">
5210 <span class="json-property-name">updatedAt:</span> 5885 <span class="json-property-name">updatedAt:</span>
5211 <span class="json-property-type">string</span> 5886 <span class="json-property-type">string</span>
@@ -5238,6 +5913,15 @@
5238 </span> 5913 </span>
5239 <span class="json-property-range" title="Value limits"></span> 5914 <span class="json-property-range" title="Value limits"></span>
5240 </dt> 5915 </dt>
5916 <dt data-property-name="privacy">
5917 <span class="json-property-name">privacy:</span>
5918 <span class="json-property-type">
5919 <span class="">
5920 <a class="json-schema-ref" href="#/definitions/VideoPrivacy">VideoPrivacy</a>
5921 </span>
5922 </span>
5923 <span class="json-property-range" title="Value limits"></span>
5924 </dt>
5241 <dt data-property-name="description"> 5925 <dt data-property-name="description">
5242 <span class="json-property-name">description:</span> 5926 <span class="json-property-name">description:</span>
5243 <span class="json-property-type">string</span> 5927 <span class="json-property-type">string</span>
@@ -5308,6 +5992,7 @@
5308 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 5992 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5309 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 5993 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5310 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 5994 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5995 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5311 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 5996 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5312 <span class="hljs-attr">&quot;category&quot;</span>: { 5997 <span class="hljs-attr">&quot;category&quot;</span>: {
5313 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 5998 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -5321,6 +6006,7 @@
5321 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6006 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5322 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 6007 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5323 }, 6008 },
6009 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5324 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 6010 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5325 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6011 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5326 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 6012 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -5331,7 +6017,18 @@
5331 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6017 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5332 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6018 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5333 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6019 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5334 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 6020 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
6021 <span class="hljs-attr">&quot;account&quot;</span>: {
6022 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6023 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6024 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6025 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6026 <span class="hljs-attr">&quot;avatar&quot;</span>: {
6027 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6028 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6029 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6030 }
6031 }
5335} 6032}
5336</code></pre> 6033</code></pre>
5337 <!-- </div> --> 6034 <!-- </div> -->
@@ -5407,6 +6104,12 @@
5407 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 6104 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5408 } 6105 }
5409 }, 6106 },
6107 <span class="hljs-attr">&quot;video&quot;</span>: {
6108 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6109 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6110 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6111 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6112 },
5410 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 6113 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5411} 6114}
5412</code></pre> 6115</code></pre>
@@ -5575,6 +6278,7 @@
5575 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6278 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5576 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 6279 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5577 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 6280 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6281 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5578 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 6282 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5579 <span class="hljs-attr">&quot;category&quot;</span>: { 6283 <span class="hljs-attr">&quot;category&quot;</span>: {
5580 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6284 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -5588,6 +6292,7 @@
5588 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6292 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5589 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 6293 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5590 }, 6294 },
6295 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5591 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 6296 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5592 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6297 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5593 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 6298 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -5598,7 +6303,18 @@
5598 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6303 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5599 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6304 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5600 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6305 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5601 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 6306 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
6307 <span class="hljs-attr">&quot;account&quot;</span>: {
6308 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6309 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6310 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6311 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6312 <span class="hljs-attr">&quot;avatar&quot;</span>: {
6313 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6314 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6315 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6316 }
6317 }
5602 } 6318 }
5603 ] 6319 ]
5604} 6320}
@@ -6172,6 +6888,7 @@
6172 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6888 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6173 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 6889 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6174 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 6890 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6891 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6175 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 6892 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6176 <span class="hljs-attr">&quot;category&quot;</span>: { 6893 <span class="hljs-attr">&quot;category&quot;</span>: {
6177 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6894 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
@@ -6185,6 +6902,7 @@
6185 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6902 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6186 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 6903 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6187 }, 6904 },
6905 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6188 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>, 6906 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6189 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6907 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6190 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>, 6908 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
@@ -6195,7 +6913,18 @@
6195 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6913 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6196 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6914 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6197 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 6915 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6198 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span> 6916 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
6917 <span class="hljs-attr">&quot;account&quot;</span>: {
6918 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6919 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6920 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6921 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6922 <span class="hljs-attr">&quot;avatar&quot;</span>: {
6923 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6924 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6925 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6926 }
6927 }
6199 } 6928 }
6200 ] 6929 ]
6201 } 6930 }
@@ -6521,14 +7250,9 @@
6521 <div class="doc-copy"> 7250 <div class="doc-copy">
6522 <section class="json-schema-properties"> 7251 <section class="json-schema-properties">
6523 <dl> 7252 <dl>
6524 <dt data-property-name="id"> 7253 <dt data-property-name="video">
6525 <span class="json-property-name">id:</span> 7254 <span class="json-property-name">video:</span>
6526 <span class="json-property-type">number</span> 7255 <span class="json-property-type">object</span>
6527 <span class="json-property-range" title="Value limits"></span>
6528 </dt>
6529 <dt data-property-name="uuid">
6530 <span class="json-property-name">uuid:</span>
6531 <span class="json-property-type">string</span>
6532 <span class="json-property-range" title="Value limits"></span> 7256 <span class="json-property-range" title="Value limits"></span>
6533 </dt> 7257 </dt>
6534 </dl> 7258 </dl>
@@ -6538,8 +7262,10 @@
6538 <section> 7262 <section>
6539 <h5>Example</h5> 7263 <h5>Example</h5>
6540 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ 7264 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
6541 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>, 7265 <span class="hljs-attr">&quot;video&quot;</span>: {
6542 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span> 7266 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7267 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7268 }
6543} 7269}
6544</code></pre> 7270</code></pre>
6545 <!-- </div> --> 7271 <!-- </div> -->
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 44b437c40..86dfae69d 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -31,7 +31,7 @@ paths:
31 in: query 31 in: query
32 required: false 32 required: false
33 type: number 33 type: number
34 description: 'stoping page' 34 description: 'stopping page'
35 - name: sort 35 - name: sort
36 in: query 36 in: query
37 required: false 37 required: false
@@ -141,7 +141,7 @@ paths:
141 in: query 141 in: query
142 required: false 142 required: false
143 type: number 143 type: number
144 description: 'stoping page' 144 description: 'stopping page'
145 - name: sort 145 - name: sort
146 in: query 146 in: query
147 required: false 147 required: false
@@ -172,7 +172,7 @@ paths:
172 in: query 172 in: query
173 required: false 173 required: false
174 type: number 174 type: number
175 description: 'stoping page' 175 description: 'stopping page'
176 - name: sort 176 - name: sort
177 in: query 177 in: query
178 required: false 178 required: false
@@ -212,6 +212,7 @@ paths:
212 - in: body 212 - in: body
213 name: body 213 name: body
214 required: true 214 required: true
215 description: 'User to create'
215 schema: 216 schema:
216 $ref: '#/definitions/AddUser' 217 $ref: '#/definitions/AddUser'
217 responses: 218 responses:
@@ -236,7 +237,7 @@ paths:
236 in: query 237 in: query
237 required: false 238 required: false
238 type: number 239 type: number
239 description: 'stoping page' 240 description: 'stopping page'
240 - name: sort 241 - name: sort
241 in: query 242 in: query
242 required: false 243 required: false
@@ -387,7 +388,7 @@ paths:
387 in: query 388 in: query
388 required: false 389 required: false
389 type: number 390 type: number
390 description: 'stoping page' 391 description: 'stopping page'
391 - name: sort 392 - name: sort
392 in: query 393 in: query
393 required: false 394 required: false
@@ -453,7 +454,7 @@ paths:
453 in: query 454 in: query
454 required: false 455 required: false
455 type: number 456 type: number
456 description: 'stoping page' 457 description: 'stopping page'
457 - name: sort 458 - name: sort
458 in: query 459 in: query
459 required: false 460 required: false
@@ -544,7 +545,7 @@ paths:
544 in: query 545 in: query
545 required: false 546 required: false
546 type: number 547 type: number
547 description: 'stoping page' 548 description: 'stopping page'
548 - name: sort 549 - name: sort
549 in: query 550 in: query
550 required: false 551 required: false
@@ -562,7 +563,7 @@ paths:
562 tags: 563 tags:
563 - Video 564 - Video
564 consumes: 565 consumes:
565 - application/json 566 - multipart/form-data
566 produces: 567 produces:
567 - application/json 568 - application/json
568 parameters: 569 parameters:
@@ -570,7 +571,56 @@ paths:
570 in: path 571 in: path
571 required: true 572 required: true
572 type: string 573 type: string
573 description: 'The video id ' 574 description: 'The video id'
575 - name: thumbnailfile
576 in: formData
577 type: file
578 description: 'Video thumbnail file'
579 - name: previewfile
580 in: formData
581 type: file
582 description: 'Video preview file'
583 - name: category
584 in: formData
585 type: number
586 description: 'Video category'
587 - name: licence
588 in: formData
589 type: number
590 description: 'Video licence'
591 - name: language
592 in: formData
593 type: number
594 description: 'Video language'
595 - name: description
596 in: formData
597 type: string
598 description: 'Video description'
599 - name: support
600 in: formData
601 type: string
602 description: 'Text describing how to support the video uploader'
603 - name: nsfw
604 in: formData
605 type: boolean
606 description: 'Whether or not this video contains sensitive content'
607 - name: name
608 in: formData
609 type: string
610 description: 'Video name'
611 - name: tags
612 in: formData
613 type: string[]
614 description: 'Video tags'
615 - name: commentsEnabled
616 in: formData
617 type: boolean
618 description: 'Enable or disable comments for this video'
619 - name: privacy
620 in: formData
621 type: string
622 enum: [Public, Unlisted, Private]
623 description: 'Video privacy'
574 responses: 624 responses:
575 '200': 625 '200':
576 description: successful operation 626 description: successful operation
@@ -655,10 +705,70 @@ paths:
655 produces: 705 produces:
656 - application/json 706 - application/json
657 parameters: 707 parameters:
658 - in: formData 708 - name: videofile
659 name: videofile 709 in: formData
660 type: file 710 type: file
661 description: The file to upload. 711 required: true
712 description: 'Video file'
713 - name: thumbnailfile
714 in: formData
715 type: file
716 required: true
717 description: 'Video thumbnail file'
718 - name: previewfile
719 in: formData
720 type: file
721 required: true
722 description: 'Video preview file'
723 - name: category
724 in: formData
725 type: number
726 description: 'Video category'
727 - name: licence
728 in: formData
729 type: number
730 description: 'Video licence'
731 - name: language
732 in: formData
733 type: number
734 description: 'Video language'
735 - name: description
736 in: formData
737 type: string
738 description: 'Video description'
739 - name: support
740 in: formData
741 type: string
742 description: 'Text describing how to support the video uploader'
743 - name: channelId
744 in: formData
745 required: true
746 type: number
747 description: 'Channel id that will contain this video'
748 - name: nsfw
749 in: formData
750 required: true
751 type: boolean
752 description: 'Whether or not this video contains sensitive content'
753 - name: name
754 in: formData
755 required: true
756 type: string
757 description: 'Video name'
758 - name: tags
759 in: formData
760 type: string[]
761 description: 'Video tags'
762 - name: commentsEnabled
763 in: formData
764 type: boolean
765 description: 'Enable or disable comments for this video'
766 - name: privacy
767 in: formData
768 required: true
769 type: string
770 enum: [Public, Unlisted, Private]
771 description: 'Video privacy'
662 responses: 772 responses:
663 '200': 773 '200':
664 description: successful operation 774 description: successful operation
@@ -682,7 +792,7 @@ paths:
682 in: query 792 in: query
683 required: false 793 required: false
684 type: number 794 type: number
685 description: 'stoping page' 795 description: 'stopping page'
686 - name: sort 796 - name: sort
687 in: query 797 in: query
688 required: false 798 required: false
@@ -763,7 +873,7 @@ paths:
763 in: query 873 in: query
764 required: false 874 required: false
765 type: number 875 type: number
766 description: 'stoping page' 876 description: 'stopping page'
767 - name: sort 877 - name: sort
768 in: query 878 in: query
769 required: false 879 required: false
@@ -794,7 +904,7 @@ paths:
794 in: query 904 in: query
795 required: false 905 required: false
796 type: number 906 type: number
797 description: 'stoping page' 907 description: 'stopping page'
798 - name: sort 908 - name: sort
799 in: query 909 in: query
800 required: false 910 required: false
@@ -921,7 +1031,7 @@ paths:
921 in: query 1031 in: query
922 required: false 1032 required: false
923 type: number 1033 type: number
924 description: 'stoping page' 1034 description: 'stopping page'
925 - name: sort 1035 - name: sort
926 in: query 1036 in: query
927 required: false 1037 required: false
@@ -1043,6 +1153,9 @@ definitions:
1043 type: number 1153 type: number
1044 label: 1154 label:
1045 type: string 1155 type: string
1156 VideoPrivacy:
1157 type: string
1158 enum: [Public, Unlisted, Private]
1046 Video: 1159 Video:
1047 properties: 1160 properties:
1048 id: 1161 id:
@@ -1051,6 +1164,8 @@ definitions:
1051 type: string 1164 type: string
1052 createdAt: 1165 createdAt:
1053 type: string 1166 type: string
1167 publishedAt:
1168 type: string
1054 updatedAt: 1169 updatedAt:
1055 type: string 1170 type: string
1056 category: 1171 category:
@@ -1059,6 +1174,8 @@ definitions:
1059 $ref: "#/definitions/VideoConstant" 1174 $ref: "#/definitions/VideoConstant"
1060 language: 1175 language:
1061 $ref: "#/definitions/VideoConstant" 1176 $ref: "#/definitions/VideoConstant"
1177 privacy:
1178 $ref: "#/definitions/VideoPrivacy"
1062 description: 1179 description:
1063 type: string 1180 type: string
1064 duration: 1181 duration:
@@ -1082,12 +1199,18 @@ definitions:
1082 nsfw: 1199 nsfw:
1083 type: boolean 1200 type: boolean
1084 account: 1201 account:
1085 name: string 1202 type: object
1086 displayName: string 1203 properties:
1087 url: string 1204 name:
1088 host: string 1205 type: string
1089 avatar: 1206 displayName:
1090 $ref: "#/definitions/Avatar" 1207 type: string
1208 url:
1209 type: string
1210 host:
1211 type: string
1212 avatar:
1213 $ref: "#/definitions/Avatar"
1091 VideoAbuse: 1214 VideoAbuse:
1092 properties: 1215 properties:
1093 id: 1216 id:
@@ -1097,10 +1220,16 @@ definitions:
1097 reporterAccount: 1220 reporterAccount:
1098 $ref: "#/definitions/Account" 1221 $ref: "#/definitions/Account"
1099 video: 1222 video:
1100 id: number 1223 type: object
1101 name: string 1224 properties:
1102 uuid: string 1225 id:
1103 url: string 1226 type: number
1227 name:
1228 type: string
1229 uuid:
1230 type: string
1231 url:
1232 type: string
1104 createdAt: 1233 createdAt:
1105 type: string 1234 type: string
1106 VideoBlacklist: 1235 VideoBlacklist:
@@ -1314,7 +1443,7 @@ definitions:
1314 updatedAt: 1443 updatedAt:
1315 type: string 1444 type: string
1316 1445
1317#Api responses 1446# Api responses
1318 AddUserResponse: 1447 AddUserResponse:
1319 properties: 1448 properties:
1320 id: 1449 id:
@@ -1323,10 +1452,13 @@ definitions:
1323 type: string 1452 type: string
1324 VideoUploadResponse: 1453 VideoUploadResponse:
1325 properties: 1454 properties:
1326 id: 1455 video:
1327 type: number 1456 type: object
1328 uuid: 1457 properties:
1329 type: string 1458 id:
1459 type: number
1460 uuid:
1461 type: string
1330 CommentThreadResponse: 1462 CommentThreadResponse:
1331 properties: 1463 properties:
1332 total: 1464 total:
@@ -1340,7 +1472,7 @@ definitions:
1340 comment: 1472 comment:
1341 $ref: "#/definitions/VideoComment" 1473 $ref: "#/definitions/VideoComment"
1342 1474
1343#request bodies 1475# Request bodies
1344 AddUser: 1476 AddUser:
1345 properties: 1477 properties:
1346 username: 1478 username: