]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - support/doc/api/html/index.html
Add concept of video state, and add ability to wait transcoding before
[github/Chocobozzz/PeerTube.git] / support / doc / api / html / index.html
CommitLineData
5e1c08eb
C
1<!doctype html>
2<html class="no-js" lang="en">
3 <head>
4 <meta charset="utf-8" />
5 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6 <title>PeerTube | API Reference</title>
7 <link rel="stylesheet" href="stylesheets/foundation.min.css" />
8 <link rel="stylesheet" href="stylesheets/spectacle.min.css" />
9 <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
10 <!-- <script src="javascripts/foundation.js"></script> -->
11 <script src="javascripts/spectacle.min.js"></script>
12 </head>
13 <body id="spectacle">
14 <div id="page" class="drawer-layout drawer-slide-right-large">
15 <div id="sidebar">
16 <button class="close-button" aria-label="Close menu" type="button" data-drawer-close>
17 <span aria-hidden="true">×</span>
18 </button>
19 <nav id="nav" role="navigation">
228e84aa 20 <h5>Topics</h5>
5e1c08eb 21 <a href="#introduction">Introduction</a>
94ff4c23 22 <a href="#authentication">Authentication</a>
5e1c08eb
C
23 <h5>Operations</h5>
24 <section>
25 <a href="#tag-Accounts">Accounts</a>
26 <ul>
27 <li>
ad9e39fb 28 <a href="#operation--accounts--name--get"> GET /accounts/{name} </a>
5e1c08eb 29 </li>
cc918ac3 30 <li>
ad9e39fb 31 <a href="#operation--accounts--name--videos-get"> GET /accounts/{name}/videos </a>
cc918ac3 32 </li>
5e1c08eb
C
33 <li>
34 <a href="#operation--accounts-get"> GET /accounts </a>
35 </li>
36 </ul>
37 </section>
38 <section>
39 <a href="#tag-Config">Config</a>
40 <ul>
41 <li>
42 <a href="#operation--config-get"> GET /config </a>
43 </li>
44 </ul>
45 </section>
48dce1c9
C
46 <section>
47 <a href="#tag-Feeds">Feeds</a>
48 <ul>
49 <li>
50 <a href="#operation--feeds-videos.-format--get"> GET /feeds/videos.{format} </a>
51 </li>
52 </ul>
53 </section>
5e1c08eb
C
54 <section>
55 <a href="#tag-Job">Job</a>
56 <ul>
57 <li>
58 <a href="#operation--jobs-get"> GET /jobs </a>
59 </li>
60 </ul>
61 </section>
62 <section>
63 <a href="#tag-ServerFollowing">ServerFollowing</a>
64 <ul>
65 <li>
66 <a href="#operation--server-following--host--delete"> DELETE /server/following/{host} </a>
67 </li>
68 <li>
69 <a href="#operation--server-followers-get"> GET /server/followers </a>
70 </li>
71 <li>
72 <a href="#operation--server-following-get"> GET /server/following </a>
73 </li>
74 <li>
75 <a href="#operation--server-following-post"> POST /server/following </a>
76 </li>
77 </ul>
78 </section>
79 <section>
80 <a href="#tag-User">User</a>
81 <ul>
82 <li>
83 <a href="#operation--users-post"> POST /users </a>
84 </li>
85 <li>
86 <a href="#operation--users-get"> GET /users </a>
87 </li>
88 <li>
89 <a href="#operation--users--id--delete"> DELETE /users/{id} </a>
90 </li>
91 <li>
92 <a href="#operation--users--id--get"> GET /users/{id} </a>
93 </li>
94 <li>
95 <a href="#operation--users--id--put"> PUT /users/{id} </a>
96 </li>
97 <li>
98 <a href="#operation--users-me-get"> GET /users/me </a>
99 </li>
100 <li>
101 <a href="#operation--users-me-put"> PUT /users/me </a>
102 </li>
103 <li>
104 <a href="#operation--users-me-video-quota-used-get"> GET /users/me/video-quota-used </a>
105 </li>
106 <li>
107 <a href="#operation--users-me-videos--videoId--rating-get"> GET /users/me/videos/{videoId}/rating </a>
108 </li>
109 <li>
110 <a href="#operation--users-me-videos-get"> GET /users/me/videos </a>
111 </li>
112 <li>
113 <a href="#operation--users-register-post"> POST /users/register </a>
114 </li>
115 <li>
116 <a href="#operation--users-me-avatar-pick-post"> POST /users/me/avatar/pick </a>
117 </li>
118 </ul>
119 </section>
120 <section>
121 <a href="#tag-Video">Video</a>
122 <ul>
123 <li>
ab0ee6a1 124 <a href="#operation--videos-get"> GET /videos </a>
5e1c08eb
C
125 </li>
126 <li>
ab0ee6a1 127 <a href="#operation--videos-categories-get"> GET /videos/categories </a>
5e1c08eb
C
128 </li>
129 <li>
ab0ee6a1 130 <a href="#operation--videos-licences-get"> GET /videos/licences </a>
5e1c08eb
C
131 </li>
132 <li>
ab0ee6a1 133 <a href="#operation--videos-languages-get"> GET /videos/languages </a>
5e1c08eb
C
134 </li>
135 <li>
ab0ee6a1 136 <a href="#operation--videos-privacies-get"> GET /videos/privacies </a>
5e1c08eb
C
137 </li>
138 <li>
ab0ee6a1 139 <a href="#operation--videos-search-get"> GET /videos/search </a>
5e1c08eb
C
140 </li>
141 <li>
ab0ee6a1 142 <a href="#operation--videos--id--put"> PUT /videos/{id} </a>
5e1c08eb
C
143 </li>
144 <li>
ab0ee6a1 145 <a href="#operation--videos--id--get"> GET /videos/{id} </a>
5e1c08eb
C
146 </li>
147 <li>
ab0ee6a1 148 <a href="#operation--videos--id--delete"> DELETE /videos/{id} </a>
5e1c08eb
C
149 </li>
150 <li>
ab0ee6a1 151 <a href="#operation--videos--id--description-get"> GET /videos/{id}/description </a>
5e1c08eb
C
152 </li>
153 <li>
ab0ee6a1 154 <a href="#operation--videos--id--views-post"> POST /videos/{id}/views </a>
5e1c08eb
C
155 </li>
156 <li>
ab0ee6a1 157 <a href="#operation--videos-upload-post"> POST /videos/upload </a>
5e1c08eb
C
158 </li>
159 </ul>
160 </section>
161 <section>
162 <a href="#tag-VideoAbuse">VideoAbuse</a>
163 <ul>
164 <li>
ab0ee6a1 165 <a href="#operation--videos-abuse-get"> GET /videos/abuse </a>
5e1c08eb
C
166 </li>
167 <li>
ab0ee6a1 168 <a href="#operation--videos--id--abuse-post"> POST /videos/{id}/abuse </a>
5e1c08eb
C
169 </li>
170 </ul>
171 </section>
172 <section>
173 <a href="#tag-VideoBlacklist">VideoBlacklist</a>
174 <ul>
175 <li>
ab0ee6a1 176 <a href="#operation--videos--videoId--blacklist-post"> POST /videos/{videoId}/blacklist </a>
5e1c08eb
C
177 </li>
178 <li>
ab0ee6a1 179 <a href="#operation--videos--videoId--blacklist-delete"> DELETE /videos/{videoId}/blacklist </a>
5e1c08eb
C
180 </li>
181 <li>
ab0ee6a1 182 <a href="#operation--videos-blacklist-get"> GET /videos/blacklist </a>
5e1c08eb
C
183 </li>
184 </ul>
185 </section>
186 <section>
187 <a href="#tag-VideoChannel">VideoChannel</a>
188 <ul>
189 <li>
48dce1c9 190 <a href="#operation--video-channels-get"> GET /video-channels </a>
5e1c08eb
C
191 </li>
192 <li>
cc918ac3
C
193 <a href="#operation--video-channels-post"> POST /video-channels </a>
194 </li>
195 <li>
196 <a href="#operation--video-channels--id--get"> GET /video-channels/{id} </a>
5e1c08eb
C
197 </li>
198 <li>
cc918ac3 199 <a href="#operation--video-channels--id--put"> PUT /video-channels/{id} </a>
5e1c08eb
C
200 </li>
201 <li>
cc918ac3 202 <a href="#operation--video-channels--id--delete"> DELETE /video-channels/{id} </a>
5e1c08eb
C
203 </li>
204 <li>
cc918ac3 205 <a href="#operation--video-channels--id--videos-get"> GET /video-channels/{id}/videos </a>
5e1c08eb
C
206 </li>
207 <li>
ad9e39fb 208 <a href="#operation--accounts--name--video-channels-get"> GET /accounts/{name}/video-channels </a>
5e1c08eb
C
209 </li>
210 </ul>
211 </section>
212 <section>
213 <a href="#tag-VideoComment">VideoComment</a>
214 <ul>
215 <li>
ab0ee6a1 216 <a href="#operation--videos--videoId--comment-threads-get"> GET /videos/{videoId}/comment-threads </a>
5e1c08eb
C
217 </li>
218 <li>
ab0ee6a1 219 <a href="#operation--videos--videoId--comment-threads-post"> POST /videos/{videoId}/comment-threads </a>
5e1c08eb
C
220 </li>
221 <li>
ab0ee6a1 222 <a href="#operation--videos--videoId--comment-threads--threadId--get"> GET /videos/{videoId}/comment-threads/{threadId} </a>
5e1c08eb
C
223 </li>
224 <li>
ab0ee6a1 225 <a href="#operation--videos--videoId--comments--commentId--post"> POST /videos/{videoId}/comments/{commentId} </a>
5e1c08eb
C
226 </li>
227 <li>
ab0ee6a1 228 <a href="#operation--videos--videoId--comments--commentId--delete"> DELETE /videos/{videoId}/comments/{commentId} </a>
5e1c08eb
C
229 </li>
230 </ul>
231 </section>
232 <section>
233 <a href="#tag-VideoRate">VideoRate</a>
234 <ul>
235 <li>
ab0ee6a1 236 <a href="#operation--videos--id--rate-put"> PUT /videos/{id}/rate </a>
5e1c08eb
C
237 </li>
238 </ul>
239 </section>
240 <h5>Schema Definitions</h5>
48dce1c9
C
241 <a href="#definition-VideoConstantNumber"> VideoConstantNumber </a>
242 <a href="#definition-VideoConstantString"> VideoConstantString </a>
61b66b36 243 <a href="#definition-VideoPrivacy"> VideoPrivacy </a>
5e1c08eb
C
244 <a href="#definition-Video"> Video </a>
245 <a href="#definition-VideoAbuse"> VideoAbuse </a>
246 <a href="#definition-VideoBlacklist"> VideoBlacklist </a>
247 <a href="#definition-VideoChannel"> VideoChannel </a>
248 <a href="#definition-VideoComment"> VideoComment </a>
249 <a href="#definition-VideoCommentThreadTree"> VideoCommentThreadTree </a>
250 <a href="#definition-Avatar"> Avatar </a>
251 <a href="#definition-Actor"> Actor </a>
252 <a href="#definition-Account"> Account </a>
253 <a href="#definition-User"> User </a>
254 <a href="#definition-ServerConfig"> ServerConfig </a>
255 <a href="#definition-Follow"> Follow </a>
256 <a href="#definition-Job"> Job </a>
257 <a href="#definition-AddUserResponse"> AddUserResponse </a>
258 <a href="#definition-VideoUploadResponse"> VideoUploadResponse </a>
ab0ee6a1
C
259 <a href="#definition-CommentThreadResponse"> CommentThreadResponse </a>
260 <a href="#definition-CommentThreadPostResponse"> CommentThreadPostResponse </a>
5e1c08eb
C
261 <a href="#definition-AddUser"> AddUser </a>
262 <a href="#definition-UpdateUser"> UpdateUser </a>
263 <a href="#definition-UpdateMe"> UpdateMe </a>
264 <a href="#definition-GetMeVideoRating"> GetMeVideoRating </a>
265 <a href="#definition-RegisterUser"> RegisterUser </a>
266 <a href="#definition-VideoChannelInput"> VideoChannelInput </a>
267 </nav>
268 </div>
269 <div id="docs" class="row collapse expanded drawer" data-drawer>
270 <button class="floating-menu-icon" type="button" data-drawer-slide="right">
271 <span class="hamburger"></span>
272 </button>
273 <div class="example-box doc-content"></div>
274 <article>
228e84aa
C
275 <h1 class="doc-title">PeerTube
276 <span>API Reference</span>
277 </h1>
5e1c08eb 278 <div id="introduction" data-traverse-target="introduction">
5e1c08eb
C
279 <div class="doc-row">
280 <div class="doc-copy">
281 <p>Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.</p>
282 </div>
283 <div class="doc-examples">
284 <section>
ea65a476
C
285 <h5>API Endpoint</h5>
286 <!-- <div class="hljs"> --><pre><code>https://peertube.example.com/api/v1</code></pre>
287 <!-- </div> -->
288 <h5>Schemes:
289 <span>https</span>
290 </h5>
5e1c08eb 291 <h5>Version:
164e6c87 292 <span>1.0.0-beta</span>
5e1c08eb
C
293 </h5>
294 </section>
295 </div>
296 </div>
297 </div>
94ff4c23
C
298 <!-- <h1 id="security" data-traverse-target="security">Security</h1> -->
299 <h1 id="authentication" data-traverse-target="authentication">Authentication</h1>
300 <div id="security-definition-OAuth2" class="panel">
301 <div class="doc-row">
302 <div class="doc-copy">
303 <h3 class="security-definition-title">
304 <span class="security-name">OAuth2</span>
305 <span class="swagger-security-definition-oauth2"></span>
306 </h3>
307 <section class="security-definition-description">
308 <p>In the header:
309 <em>Authorization: Bearer mytoken</em>
310 </p>
311 </section>
312 <section class="swagger-security-definition-properties">
313 <div class="prop-row security-definition-property">
314 <div class="prop-name">
315 <div class="prop-title security-definition-property-name">type</div>
316 </div>
317 <div class="prop-value security-definition-property-type"> oauth2 </div>
318 </div>
319 <div class="prop-row security-definition-property">
320 <div class="prop-name">
321 <div class="prop-title security-definition-property-name">flow</div>
322 </div>
323 <div class="prop-value security-definition-property-type"> password </div>
324 </div>
325 <div class="prop-row security-definition-property">
326 <div class="prop-name">
327 <div class="prop-title security-definition-property-name">tokenUrl</div>
328 </div>
329 <div class="prop-value security-definition-property-type"> https://peertube.example.com/api/v1/users/token </div>
330 </div>
331 </section>
332 </div>
333 </div>
334 </div>
5e1c08eb 335 <h1 id="tag-Accounts" class="swagger-summary-tag" data-traverse-target="tag-Accounts">Accounts</h1>
ad9e39fb 336 <div id="operation--accounts--name--get" class="operation panel" data-traverse-target="operation--accounts--name--get">
5e1c08eb
C
337 <!-- <section class="operation-tags row"> -->
338 <!-- <div class="doc-copy"> -->
339 <div class="operation-tags">
340 <a class="label" href="#tag-Accounts">Accounts</a>
341 <!---->
342 </div>
343 <!-- </div> -->
344 <!-- </section> -->
345 <h2 class="operation-title">
346 <span class="operation-name">
347 <span class="operation-name">GET</span>
ad9e39fb 348 <span class="operation-path">/accounts/{name}</span>
5e1c08eb
C
349 </span>
350 </h2>
351 <div class="doc-row">
352 <div class="doc-copy">
353 <section class="swagger-request-params">
354 <div class="prop-row prop-group">
355 <div class="prop-name">
ad9e39fb 356 <div class="prop-title">name</div>
5e1c08eb 357 <span class="json-property-required"></span>
228e84aa
C
358 <div class="prop-subtitle"> in path </div>
359 <div class="prop-subtitle">
360 <span class="json-property-type">string</span>
361 <span class="json-property-range" title="Value limits"></span>
362 </div>
5e1c08eb
C
363 </div>
364 <div class="prop-value">
ad9e39fb
C
365 <p>The name of the account (chocobozzz or
366 <a href="mailto:chocobozzz@peertube.cpy.re">chocobozzz@peertube.cpy.re</a> for example)</p>
5e1c08eb
C
367 </div>
368 </div>
ab0ee6a1
C
369 <div class="prop-row prop-group">
370 <div class="prop-name">
371 <div class="prop-title">start</div>
228e84aa
C
372 <div class="prop-subtitle"> in query </div>
373 <div class="prop-subtitle">
374 <span class="json-property-type">number</span>
375 <span class="json-property-range" title="Value limits"></span>
376 </div>
ab0ee6a1
C
377 </div>
378 <div class="prop-value">
379 <p>starting page</p>
380 </div>
381 </div>
ab0ee6a1
C
382 <div class="prop-row prop-group">
383 <div class="prop-name">
384 <div class="prop-title">stop</div>
228e84aa
C
385 <div class="prop-subtitle"> in query </div>
386 <div class="prop-subtitle">
387 <span class="json-property-type">number</span>
388 <span class="json-property-range" title="Value limits"></span>
389 </div>
ab0ee6a1
C
390 </div>
391 <div class="prop-value">
f209b32a 392 <p>stopping page</p>
ab0ee6a1
C
393 </div>
394 </div>
ab0ee6a1
C
395 <div class="prop-row prop-group">
396 <div class="prop-name">
397 <div class="prop-title">sort</div>
228e84aa
C
398 <div class="prop-subtitle"> in query </div>
399 <div class="prop-subtitle">
400 <span class="json-property-type">number</span>
401 <span class="json-property-range" title="Value limits"></span>
402 </div>
ab0ee6a1
C
403 </div>
404 <div class="prop-value">
405 <p>sorting</p>
406 </div>
407 </div>
5e1c08eb
C
408 </section>
409 </div>
410 <div class="doc-examples"></div>
411 </div>
412 <div class="doc-row">
413 <div class="doc-copy">
414 <section class="swagger-responses">
415 <div class="prop-row prop-group">
416 <div class="prop-name">
417 <div class="prop-title">200 OK</div>
418 <div class="prop-ref">
419 <span class="">
420 <a class="json-schema-ref" href="#/definitions/Account">Account</a>
421 </span>
422 </div>
423 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
424 </div>
425 <div class="prop-value">
426 <p>successful operation</p>
427 </div>
428 </div>
429 </section>
430 </div>
431 <div class="doc-examples">
432 <h5>Response Content-Types:
433 <span>application/json</span>
434 </h5>
435 <section>
436 <h5>Response Example
437 <span>(200 OK)</span>
438 </h5>
439 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
440 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
441 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
442 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
443 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
444 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
445 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
446 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
447 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
448 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
449 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
450 <span class="hljs-attr">&quot;avatar&quot;</span>: {
451 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
452 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
453 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
454 }
455}
cc918ac3
C
456</code></pre>
457 <!-- </div> -->
458 </section>
459 </div>
460 </div>
461 </div>
ad9e39fb 462 <div id="operation--accounts--name--videos-get" class="operation panel" data-traverse-target="operation--accounts--name--videos-get">
cc918ac3
C
463 <!-- <section class="operation-tags row"> -->
464 <!-- <div class="doc-copy"> -->
465 <div class="operation-tags">
466 <a class="label" href="#tag-Accounts">Accounts</a>
467 <!---->
468 </div>
469 <!-- </div> -->
470 <!-- </section> -->
471 <h2 class="operation-title">
472 <span class="operation-name">
473 <span class="operation-name">GET</span>
ad9e39fb 474 <span class="operation-path">/accounts/{name}/videos</span>
cc918ac3
C
475 </span>
476 </h2>
477 <div class="doc-row">
478 <div class="doc-copy">
479 <section class="swagger-request-params">
480 <div class="prop-row prop-group">
481 <div class="prop-name">
ad9e39fb 482 <div class="prop-title">name</div>
cc918ac3
C
483 <span class="json-property-required"></span>
484 <div class="prop-subtitle"> in path </div>
485 <div class="prop-subtitle">
486 <span class="json-property-type">string</span>
487 <span class="json-property-range" title="Value limits"></span>
488 </div>
489 </div>
490 <div class="prop-value">
ad9e39fb
C
491 <p>The name of the account (chocobozzz or
492 <a href="mailto:chocobozzz@peertube.cpy.re">chocobozzz@peertube.cpy.re</a> for example)</p>
cc918ac3
C
493 </div>
494 </div>
495 </section>
496 </div>
497 <div class="doc-examples"></div>
498 </div>
499 <div class="doc-row">
500 <div class="doc-copy">
501 <section class="swagger-responses">
502 <div class="prop-row prop-group">
503 <div class="prop-name">
504 <div class="prop-title">200 OK</div>
505 <div class="prop-ref">
506 <span class="">
507 <a class="json-schema-ref" href="#/definitions/Video">Video</a>
508 </span>
509 </div>
510 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
511 </div>
512 <div class="prop-value">
513 <p>successful operation</p>
514 </div>
515 </div>
516 </section>
517 </div>
518 <div class="doc-examples">
519 <h5>Response Content-Types:
520 <span>application/json</span>
521 </h5>
522 <section>
523 <h5>Response Example
524 <span>(200 OK)</span>
525 </h5>
526 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
527 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
528 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
529 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
530 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
531 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
532 <span class="hljs-attr">&quot;category&quot;</span>: {
533 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
534 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
535 },
536 <span class="hljs-attr">&quot;licence&quot;</span>: {
537 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
538 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
539 },
540 <span class="hljs-attr">&quot;language&quot;</span>: {
541 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
542 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
543 },
544 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
545 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
546 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
547 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
548 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
549 <span class="hljs-attr">&quot;thumbnailPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
550 <span class="hljs-attr">&quot;previewPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
551 <span class="hljs-attr">&quot;embedPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
552 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
553 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
554 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
555 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
556 <span class="hljs-attr">&quot;account&quot;</span>: {
557 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
558 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
559 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
560 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
561 <span class="hljs-attr">&quot;avatar&quot;</span>: {
562 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
563 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
564 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
565 }
566 }
567}
5e1c08eb
C
568</code></pre>
569 <!-- </div> -->
570 </section>
571 </div>
572 </div>
573 </div>
574 <div id="operation--accounts-get" class="operation panel" data-traverse-target="operation--accounts-get">
575 <!-- <section class="operation-tags row"> -->
576 <!-- <div class="doc-copy"> -->
577 <div class="operation-tags">
578 <a class="label" href="#tag-Accounts">Accounts</a>
579 <!---->
580 </div>
581 <!-- </div> -->
582 <!-- </section> -->
583 <h2 class="operation-title">
584 <span class="operation-name">
585 <span class="operation-name">GET</span>
586 <span class="operation-path">/accounts</span>
587 </span>
588 </h2>
589 <div class="doc-row">
590 <div class="doc-copy"> </div>
591 <div class="doc-examples"></div>
592 </div>
593 <div class="doc-row">
594 <div class="doc-copy">
595 <section class="swagger-responses">
596 <div class="prop-row prop-group">
597 <div class="prop-name">
598 <div class="prop-title">200 OK</div>
599 <div class="prop-ref">
600 <span class="json-schema-ref-array">
601 <a class="json-schema-ref" href="#/definitions/Account">Account</a>
602 </span>
603 </div>
604 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
605 </div>
606 <div class="prop-value">
607 <p>successful operation</p>
608 </div>
609 </div>
228e84aa
C
610 <div class="prop-row prop-inner">
611 <div class="prop-name">type</div>
612 <div class="prop-value">
613 <span class="json-property-type">
614 <span class="json-schema-ref-array">
615 <a class="json-schema-ref" href="#/definitions/Account">Account</a>
616 </span>
617 </span>
618 <span class="json-property-range" title="Value limits"></span>
619 </div>
620 </div>
5e1c08eb
C
621 </section>
622 </div>
623 <div class="doc-examples">
624 <h5>Response Content-Types:
625 <span>application/json</span>
626 </h5>
627 <section>
628 <h5>Response Example
629 <span>(200 OK)</span>
630 </h5>
631 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
632 {
633 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
634 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
635 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
636 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
637 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
638 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
639 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
640 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
641 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
642 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
643 <span class="hljs-attr">&quot;avatar&quot;</span>: {
644 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
645 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
646 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
647 }
648 }
649]
650</code></pre>
651 <!-- </div> -->
652 </section>
653 </div>
654 </div>
655 </div>
656 <h1 id="tag-Config" class="swagger-summary-tag" data-traverse-target="tag-Config">Config</h1>
657 <div id="operation--config-get" class="operation panel" data-traverse-target="operation--config-get">
658 <!-- <section class="operation-tags row"> -->
659 <!-- <div class="doc-copy"> -->
660 <div class="operation-tags">
661 <a class="label" href="#tag-Config">Config</a>
662 <!---->
663 </div>
664 <!-- </div> -->
665 <!-- </section> -->
666 <h2 class="operation-title">
667 <span class="operation-name">
668 <span class="operation-name">GET</span>
669 <span class="operation-path">/config</span>
670 </span>
671 </h2>
672 <div class="doc-row">
673 <div class="doc-copy"> </div>
674 <div class="doc-examples"></div>
675 </div>
676 <div class="doc-row">
677 <div class="doc-copy">
678 <section class="swagger-responses">
679 <div class="prop-row prop-group">
680 <div class="prop-name">
681 <div class="prop-title">200 OK</div>
682 <div class="prop-ref">
683 <span class="">
684 <a class="json-schema-ref" href="#/definitions/ServerConfig">ServerConfig</a>
685 </span>
686 </div>
687 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
688 </div>
689 <div class="prop-value">
690 <p>successful operation</p>
691 </div>
692 </div>
693 </section>
694 </div>
695 <div class="doc-examples">
696 <h5>Response Content-Types:
697 <span>application/json</span>
698 </h5>
699 <section>
700 <h5>Response Example
701 <span>(200 OK)</span>
702 </h5>
703 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
704 <span class="hljs-attr">&quot;signup&quot;</span>: {
705 <span class="hljs-attr">&quot;allowed&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>
706 },
707 <span class="hljs-attr">&quot;transcoding&quot;</span>: {
708 <span class="hljs-attr">&quot;enabledResolutions&quot;</span>: [
709 <span class="hljs-string">&quot;number&quot;</span>
710 ]
711 },
712 <span class="hljs-attr">&quot;avatar&quot;</span>: {
713 <span class="hljs-attr">&quot;file&quot;</span>: {
714 <span class="hljs-attr">&quot;size&quot;</span>: {
715 <span class="hljs-attr">&quot;max&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>
716 }
717 },
718 <span class="hljs-attr">&quot;extensions&quot;</span>: [
719 <span class="hljs-string">&quot;string&quot;</span>
720 ]
721 },
722 <span class="hljs-attr">&quot;video&quot;</span>: {
723 <span class="hljs-attr">&quot;file&quot;</span>: {
724 <span class="hljs-attr">&quot;extensions&quot;</span>: [
725 <span class="hljs-string">&quot;string&quot;</span>
726 ]
727 }
728 }
729}
730</code></pre>
731 <!-- </div> -->
732 </section>
733 </div>
734 </div>
735 </div>
48dce1c9
C
736 <h1 id="tag-Feeds" class="swagger-summary-tag" data-traverse-target="tag-Feeds">Feeds</h1>
737 <div id="operation--feeds-videos.-format--get" class="operation panel" data-traverse-target="operation--feeds-videos.-format--get">
738 <!-- <section class="operation-tags row"> -->
739 <!-- <div class="doc-copy"> -->
740 <div class="operation-tags">
741 <a class="label" href="#tag-Feeds">Feeds</a>
742 <!---->
743 </div>
744 <!-- </div> -->
745 <!-- </section> -->
746 <h2 class="operation-title">
747 <span class="operation-name">
748 <span class="operation-name">GET</span>
749 <span class="operation-path">/feeds/videos.{format}</span>
750 </span>
751 </h2>
752 <div class="doc-row">
753 <div class="doc-copy">
754 <section class="swagger-request-params">
755 <div class="prop-row prop-group">
756 <div class="prop-name">
757 <div class="prop-title">format</div>
758 <span class="json-property-required"></span>
759 <div class="prop-subtitle"> in path </div>
760 <div class="prop-subtitle">
761 <span class="json-property-type">string</span>
762 <span class="json-property-enum" title="Possible values">
763 <span class="json-property-enum-item json-property-enum-default-value">xml</span>,
764 <span class="json-property-enum-item">atom</span>,
765 <span class="json-property-enum-item">json</span>
766 </span>
767 <span class="json-property-range" title="Value limits"></span>
768 <span class="json-property-default-value" title="Default value">xml</span>
769 </div>
770 </div>
771 <div class="prop-value">
772 <p>The format expected (xml defaults to RSS 2.0, atom to ATOM 1.0 and json to JSON FEED 1.0</p>
773 </div>
774 </div>
775 <div class="prop-row prop-group">
776 <div class="prop-name">
777 <div class="prop-title">accountId</div>
778 <div class="prop-subtitle"> in query </div>
779 <div class="prop-subtitle">
780 <span class="json-property-type">number</span>
781 <span class="json-property-range" title="Value limits"></span>
782 </div>
783 </div>
784 <div class="prop-value">
785 <p>The id of the local account to filter to (beware, users IDs and not actors IDs which will return empty feeds</p>
786 </div>
787 </div>
788 <div class="prop-row prop-group">
789 <div class="prop-name">
790 <div class="prop-title">accountName</div>
791 <div class="prop-subtitle"> in query </div>
792 <div class="prop-subtitle">
793 <span class="json-property-type">string</span>
794 <span class="json-property-range" title="Value limits"></span>
795 </div>
796 </div>
797 <div class="prop-value">
798 <p>The name of the local account to filter to</p>
799 </div>
800 </div>
801 </section>
802 </div>
803 <div class="doc-examples"></div>
804 </div>
805 <div class="doc-row">
806 <div class="doc-copy">
807 <section class="swagger-responses">
808 <div class="prop-row prop-group">
809 <div class="prop-name">
810 <div class="prop-title">200 OK</div>
811 </div>
812 <div class="prop-value">
813 <p>successful operation</p>
814 </div>
815 </div>
816 </section>
817 </div>
818 <div class="doc-examples">
819 <h5>Response Content-Types:
820 <span>application/atom+xml, application/rss+xml, application/json</span>
821 </h5>
822 </div>
823 </div>
824 </div>
5e1c08eb
C
825 <h1 id="tag-Job" class="swagger-summary-tag" data-traverse-target="tag-Job">Job</h1>
826 <div id="operation--jobs-get" class="operation panel" data-traverse-target="operation--jobs-get">
827 <!-- <section class="operation-tags row"> -->
828 <!-- <div class="doc-copy"> -->
829 <div class="operation-tags">
830 <a class="label" href="#tag-Job">Job</a>
831 <!---->
832 </div>
833 <!-- </div> -->
834 <!-- </section> -->
835 <h2 class="operation-title">
836 <span class="operation-name">
837 <span class="operation-name">GET</span>
838 <span class="operation-path">/jobs</span>
839 </span>
840 </h2>
841 <div class="doc-row">
ab0ee6a1
C
842 <div class="doc-copy">
843 <section class="swagger-request-params">
844 <div class="prop-row prop-group">
845 <div class="prop-name">
846 <div class="prop-title">state</div>
847 <span class="json-property-required"></span>
228e84aa
C
848 <div class="prop-subtitle"> in path </div>
849 <div class="prop-subtitle">
850 <span class="json-property-type">string</span>
851 <span class="json-property-range" title="Value limits"></span>
852 </div>
ab0ee6a1
C
853 </div>
854 <div class="prop-value">
855 <p>The id of the account</p>
856 </div>
857 </div>
ab0ee6a1
C
858 <div class="prop-row prop-group">
859 <div class="prop-name">
860 <div class="prop-title">start</div>
228e84aa
C
861 <div class="prop-subtitle"> in query </div>
862 <div class="prop-subtitle">
863 <span class="json-property-type">number</span>
864 <span class="json-property-range" title="Value limits"></span>
865 </div>
ab0ee6a1
C
866 </div>
867 <div class="prop-value">
868 <p>starting page</p>
869 </div>
870 </div>
ab0ee6a1
C
871 <div class="prop-row prop-group">
872 <div class="prop-name">
873 <div class="prop-title">count</div>
228e84aa
C
874 <div class="prop-subtitle"> in query </div>
875 <div class="prop-subtitle">
876 <span class="json-property-type">number</span>
877 <span class="json-property-range" title="Value limits"></span>
878 </div>
ab0ee6a1
C
879 </div>
880 <div class="prop-value">
881 <p class="no-description">(no description)</p>
882 </div>
883 </div>
ab0ee6a1
C
884 <div class="prop-row prop-group">
885 <div class="prop-name">
886 <div class="prop-title">sort</div>
228e84aa
C
887 <div class="prop-subtitle"> in query </div>
888 <div class="prop-subtitle">
889 <span class="json-property-type">number</span>
890 <span class="json-property-range" title="Value limits"></span>
891 </div>
ab0ee6a1
C
892 </div>
893 <div class="prop-value">
894 <p>sorting</p>
895 </div>
896 </div>
ab0ee6a1
C
897 </section>
898 </div>
5e1c08eb
C
899 <div class="doc-examples"></div>
900 </div>
901 <div class="doc-row">
902 <div class="doc-copy">
903 <section class="swagger-responses">
904 <div class="prop-row prop-group">
905 <div class="prop-name">
906 <div class="prop-title">200 OK</div>
907 <div class="prop-ref">
908 <span class="json-schema-ref-array">
909 <a class="json-schema-ref" href="#/definitions/Job">Job</a>
910 </span>
911 </div>
912 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
913 </div>
914 <div class="prop-value">
915 <p>successful operation</p>
916 </div>
917 </div>
228e84aa
C
918 <div class="prop-row prop-inner">
919 <div class="prop-name">type</div>
920 <div class="prop-value">
921 <span class="json-property-type">
922 <span class="json-schema-ref-array">
923 <a class="json-schema-ref" href="#/definitions/Job">Job</a>
924 </span>
925 </span>
926 <span class="json-property-range" title="Value limits"></span>
927 </div>
928 </div>
5e1c08eb
C
929 </section>
930 </div>
931 <div class="doc-examples">
932 <h5>Response Content-Types:
933 <span>application/json</span>
934 </h5>
935 <section>
936 <h5>Response Example
937 <span>(200 OK)</span>
938 </h5>
939 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
940 {
941 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
942 <span class="hljs-attr">&quot;state&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
943 <span class="hljs-attr">&quot;category&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
944 <span class="hljs-attr">&quot;handlerName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
945 <span class="hljs-attr">&quot;handlerInputData&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
946 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
947 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
948 }
949]
950</code></pre>
951 <!-- </div> -->
952 </section>
953 </div>
954 </div>
94ff4c23
C
955 <div class="doc-row">
956 <div class="doc-copy">
957 <section class="swagger-request-security">
958 <table class="table">
959 <thead>
960 <tr>
961 <th class="swagger-request-security-schema"></th>
962 <th class="swagger-request-security-scopes"></th>
963 </tr>
964 </thead>
965 <tbody>
966 <tr>
967 <td>
968 <a href="#security-definition-OAuth2">OAuth2</a>
969 </td>
970 <td> </td>
971 </tr>
972 </tbody>
973 </table>
974 </section>
975 </div>
976 </div>
5e1c08eb
C
977 </div>
978 <h1 id="tag-ServerFollowing" class="swagger-summary-tag" data-traverse-target="tag-ServerFollowing">ServerFollowing</h1>
979 <div id="operation--server-following--host--delete" class="operation panel" data-traverse-target="operation--server-following--host--delete">
980 <!-- <section class="operation-tags row"> -->
981 <!-- <div class="doc-copy"> -->
982 <div class="operation-tags">
983 <a class="label" href="#tag-ServerFollowing">ServerFollowing</a>
984 <!---->
985 </div>
986 <!-- </div> -->
987 <!-- </section> -->
988 <h2 class="operation-title">
989 <span class="operation-name">
990 <span class="operation-name">DELETE</span>
991 <span class="operation-path">/server/following/{host}</span>
992 </span>
993 </h2>
994 <div class="doc-row">
995 <div class="doc-copy">
996 <section class="swagger-request-params">
997 <div class="prop-row prop-group">
998 <div class="prop-name">
999 <div class="prop-title">host</div>
1000 <span class="json-property-required"></span>
228e84aa
C
1001 <div class="prop-subtitle"> in path </div>
1002 <div class="prop-subtitle">
1003 <span class="json-property-type">string</span>
1004 <span class="json-property-range" title="Value limits"></span>
1005 </div>
5e1c08eb
C
1006 </div>
1007 <div class="prop-value">
1008 <p>The host to unfollow </p>
1009 </div>
1010 </div>
5e1c08eb
C
1011 </section>
1012 </div>
1013 <div class="doc-examples"></div>
1014 </div>
1015 <div class="doc-row">
1016 <div class="doc-copy">
1017 <section class="swagger-responses">
1018 <div class="prop-row prop-group">
1019 <div class="prop-name">
1020 <div class="prop-title">201 Created</div>
1021 </div>
1022 <div class="prop-value">
1023 <p>successful operation</p>
1024 </div>
1025 </div>
1026 </section>
1027 </div>
1028 <div class="doc-examples">
1029 <h5>Response Content-Types:
1030 <span>application/json</span>
1031 </h5>
1032 </div>
1033 </div>
94ff4c23
C
1034 <div class="doc-row">
1035 <div class="doc-copy">
1036 <section class="swagger-request-security">
1037 <table class="table">
1038 <thead>
1039 <tr>
1040 <th class="swagger-request-security-schema"></th>
1041 <th class="swagger-request-security-scopes"></th>
1042 </tr>
1043 </thead>
1044 <tbody>
1045 <tr>
1046 <td>
1047 <a href="#security-definition-OAuth2">OAuth2</a>
1048 </td>
1049 <td> </td>
1050 </tr>
1051 </tbody>
1052 </table>
1053 </section>
1054 </div>
1055 </div>
5e1c08eb
C
1056 </div>
1057 <div id="operation--server-followers-get" class="operation panel" data-traverse-target="operation--server-followers-get">
1058 <!-- <section class="operation-tags row"> -->
1059 <!-- <div class="doc-copy"> -->
1060 <div class="operation-tags">
1061 <a class="label" href="#tag-ServerFollowing">ServerFollowing</a>
1062 <!---->
1063 </div>
1064 <!-- </div> -->
1065 <!-- </section> -->
1066 <h2 class="operation-title">
1067 <span class="operation-name">
1068 <span class="operation-name">GET</span>
1069 <span class="operation-path">/server/followers</span>
1070 </span>
1071 </h2>
1072 <div class="doc-row">
ab0ee6a1
C
1073 <div class="doc-copy">
1074 <section class="swagger-request-params">
1075 <div class="prop-row prop-group">
1076 <div class="prop-name">
1077 <div class="prop-title">start</div>
228e84aa
C
1078 <div class="prop-subtitle"> in query </div>
1079 <div class="prop-subtitle">
1080 <span class="json-property-type">number</span>
1081 <span class="json-property-range" title="Value limits"></span>
1082 </div>
ab0ee6a1
C
1083 </div>
1084 <div class="prop-value">
1085 <p>starting page</p>
1086 </div>
1087 </div>
ab0ee6a1
C
1088 <div class="prop-row prop-group">
1089 <div class="prop-name">
1090 <div class="prop-title">stop</div>
228e84aa
C
1091 <div class="prop-subtitle"> in query </div>
1092 <div class="prop-subtitle">
1093 <span class="json-property-type">number</span>
1094 <span class="json-property-range" title="Value limits"></span>
1095 </div>
ab0ee6a1
C
1096 </div>
1097 <div class="prop-value">
f209b32a 1098 <p>stopping page</p>
ab0ee6a1
C
1099 </div>
1100 </div>
ab0ee6a1
C
1101 <div class="prop-row prop-group">
1102 <div class="prop-name">
1103 <div class="prop-title">sort</div>
228e84aa
C
1104 <div class="prop-subtitle"> in query </div>
1105 <div class="prop-subtitle">
1106 <span class="json-property-type">number</span>
1107 <span class="json-property-range" title="Value limits"></span>
1108 </div>
ab0ee6a1
C
1109 </div>
1110 <div class="prop-value">
1111 <p>sorting</p>
1112 </div>
1113 </div>
ab0ee6a1
C
1114 </section>
1115 </div>
5e1c08eb
C
1116 <div class="doc-examples"></div>
1117 </div>
1118 <div class="doc-row">
1119 <div class="doc-copy">
1120 <section class="swagger-responses">
1121 <div class="prop-row prop-group">
1122 <div class="prop-name">
1123 <div class="prop-title">200 OK</div>
1124 <div class="prop-ref">
1125 <span class="json-schema-ref-array">
1126 <a class="json-schema-ref" href="#/definitions/Follow">Follow</a>
1127 </span>
1128 </div>
1129 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
1130 </div>
1131 <div class="prop-value">
1132 <p>successful operation</p>
1133 </div>
1134 </div>
228e84aa
C
1135 <div class="prop-row prop-inner">
1136 <div class="prop-name">type</div>
1137 <div class="prop-value">
1138 <span class="json-property-type">
1139 <span class="json-schema-ref-array">
1140 <a class="json-schema-ref" href="#/definitions/Follow">Follow</a>
1141 </span>
1142 </span>
1143 <span class="json-property-range" title="Value limits"></span>
1144 </div>
1145 </div>
5e1c08eb
C
1146 </section>
1147 </div>
1148 <div class="doc-examples">
1149 <h5>Response Content-Types:
1150 <span>application/json</span>
1151 </h5>
1152 <section>
1153 <h5>Response Example
1154 <span>(200 OK)</span>
1155 </h5>
1156 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
1157 {
1158 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1159 <span class="hljs-attr">&quot;follower&quot;</span>: {
1160 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1161 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1162 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1163 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1164 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1165 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1166 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1167 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1168 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1169 <span class="hljs-attr">&quot;avatar&quot;</span>: {
1170 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1171 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1172 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1173 }
1174 },
1175 <span class="hljs-attr">&quot;following&quot;</span>: {
1176 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1177 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1178 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1179 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1180 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1181 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1182 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1183 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1184 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1185 <span class="hljs-attr">&quot;avatar&quot;</span>: {
1186 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1187 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1188 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1189 }
1190 },
1191 <span class="hljs-attr">&quot;score&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1192 <span class="hljs-attr">&quot;state&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1193 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1194 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1195 }
1196]
1197</code></pre>
1198 <!-- </div> -->
1199 </section>
1200 </div>
1201 </div>
1202 </div>
1203 <div id="operation--server-following-get" class="operation panel" data-traverse-target="operation--server-following-get">
1204 <!-- <section class="operation-tags row"> -->
1205 <!-- <div class="doc-copy"> -->
1206 <div class="operation-tags">
1207 <a class="label" href="#tag-ServerFollowing">ServerFollowing</a>
1208 <!---->
1209 </div>
1210 <!-- </div> -->
1211 <!-- </section> -->
1212 <h2 class="operation-title">
1213 <span class="operation-name">
1214 <span class="operation-name">GET</span>
1215 <span class="operation-path">/server/following</span>
1216 </span>
1217 </h2>
1218 <div class="doc-row">
ab0ee6a1
C
1219 <div class="doc-copy">
1220 <section class="swagger-request-params">
1221 <div class="prop-row prop-group">
1222 <div class="prop-name">
1223 <div class="prop-title">start</div>
228e84aa
C
1224 <div class="prop-subtitle"> in query </div>
1225 <div class="prop-subtitle">
1226 <span class="json-property-type">number</span>
1227 <span class="json-property-range" title="Value limits"></span>
1228 </div>
ab0ee6a1
C
1229 </div>
1230 <div class="prop-value">
1231 <p>starting page</p>
1232 </div>
1233 </div>
ab0ee6a1
C
1234 <div class="prop-row prop-group">
1235 <div class="prop-name">
1236 <div class="prop-title">stop</div>
228e84aa
C
1237 <div class="prop-subtitle"> in query </div>
1238 <div class="prop-subtitle">
1239 <span class="json-property-type">number</span>
1240 <span class="json-property-range" title="Value limits"></span>
1241 </div>
ab0ee6a1
C
1242 </div>
1243 <div class="prop-value">
f209b32a 1244 <p>stopping page</p>
ab0ee6a1
C
1245 </div>
1246 </div>
ab0ee6a1
C
1247 <div class="prop-row prop-group">
1248 <div class="prop-name">
1249 <div class="prop-title">sort</div>
228e84aa
C
1250 <div class="prop-subtitle"> in query </div>
1251 <div class="prop-subtitle">
1252 <span class="json-property-type">number</span>
1253 <span class="json-property-range" title="Value limits"></span>
1254 </div>
ab0ee6a1
C
1255 </div>
1256 <div class="prop-value">
1257 <p>sorting</p>
1258 </div>
1259 </div>
ab0ee6a1
C
1260 </section>
1261 </div>
5e1c08eb
C
1262 <div class="doc-examples"></div>
1263 </div>
1264 <div class="doc-row">
1265 <div class="doc-copy">
1266 <section class="swagger-responses">
1267 <div class="prop-row prop-group">
1268 <div class="prop-name">
1269 <div class="prop-title">200 OK</div>
1270 <div class="prop-ref">
1271 <span class="json-schema-ref-array">
1272 <a class="json-schema-ref" href="#/definitions/Follow">Follow</a>
1273 </span>
1274 </div>
1275 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
1276 </div>
1277 <div class="prop-value">
1278 <p>successful operation</p>
1279 </div>
1280 </div>
228e84aa
C
1281 <div class="prop-row prop-inner">
1282 <div class="prop-name">type</div>
1283 <div class="prop-value">
1284 <span class="json-property-type">
1285 <span class="json-schema-ref-array">
1286 <a class="json-schema-ref" href="#/definitions/Follow">Follow</a>
1287 </span>
1288 </span>
1289 <span class="json-property-range" title="Value limits"></span>
1290 </div>
1291 </div>
5e1c08eb
C
1292 </section>
1293 </div>
1294 <div class="doc-examples">
1295 <h5>Response Content-Types:
1296 <span>application/json</span>
1297 </h5>
1298 <section>
1299 <h5>Response Example
1300 <span>(200 OK)</span>
1301 </h5>
1302 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
1303 {
1304 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1305 <span class="hljs-attr">&quot;follower&quot;</span>: {
1306 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1307 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1308 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1309 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1310 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1311 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1312 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1313 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1314 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1315 <span class="hljs-attr">&quot;avatar&quot;</span>: {
1316 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1317 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1318 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1319 }
1320 },
1321 <span class="hljs-attr">&quot;following&quot;</span>: {
1322 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1323 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1324 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1325 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1326 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1327 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1328 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1329 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1330 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1331 <span class="hljs-attr">&quot;avatar&quot;</span>: {
1332 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1333 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1334 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1335 }
1336 },
1337 <span class="hljs-attr">&quot;score&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1338 <span class="hljs-attr">&quot;state&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1339 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1340 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1341 }
1342]
1343</code></pre>
1344 <!-- </div> -->
1345 </section>
1346 </div>
1347 </div>
1348 </div>
1349 <div id="operation--server-following-post" class="operation panel" data-traverse-target="operation--server-following-post">
1350 <!-- <section class="operation-tags row"> -->
1351 <!-- <div class="doc-copy"> -->
1352 <div class="operation-tags">
1353 <a class="label" href="#tag-ServerFollowing">ServerFollowing</a>
1354 <!---->
1355 </div>
1356 <!-- </div> -->
1357 <!-- </section> -->
1358 <h2 class="operation-title">
1359 <span class="operation-name">
1360 <span class="operation-name">POST</span>
1361 <span class="operation-path">/server/following</span>
1362 </span>
1363 </h2>
1364 <div class="doc-row">
1365 <div class="doc-copy">
1366 <section class="swagger-request-body">
1367 <div class="prop-row">
1368 <div class="prop-name">
1369 <div class="swagger-request-model">
1370 <span class="">
1371 <a class="json-schema-ref" href="#/definitions/Follow">Follow</a>
1372 </span>
1373 </div>
1374 </div>
1375 <div class="prop-value columns small-6">
228e84aa
C
1376 <!-- <div class="swagger-request-description"> -->
1377 <p>undefined</p>
5e1c08eb
C
1378 <!-- </div> -->
1379 </div>
1380 </div>
1381 </section>
1382 </div>
1383 <div class="doc-examples">
1384 <section>
1385 <h5>Request Content-Types:
1386 <span>application/json</span>
1387 </h5>
1388 <h5>Request Example</h5>
1389 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
1390 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1391 <span class="hljs-attr">&quot;follower&quot;</span>: {
1392 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1393 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1394 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1395 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1396 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1397 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1398 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1399 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1400 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1401 <span class="hljs-attr">&quot;avatar&quot;</span>: {
1402 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1403 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1404 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1405 }
1406 },
1407 <span class="hljs-attr">&quot;following&quot;</span>: {
1408 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1409 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1410 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1411 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1412 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1413 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1414 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1415 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1416 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1417 <span class="hljs-attr">&quot;avatar&quot;</span>: {
1418 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1419 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1420 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1421 }
1422 },
1423 <span class="hljs-attr">&quot;score&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1424 <span class="hljs-attr">&quot;state&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1425 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1426 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1427}
1428</code></pre>
1429 <!-- </div> -->
1430 </section>
1431 </div>
1432 </div>
1433 <div class="doc-row">
1434 <div class="doc-copy">
1435 <section class="swagger-responses">
1436 <div class="prop-row prop-group">
1437 <div class="prop-name">
1438 <div class="prop-title">204 No Content</div>
1439 </div>
1440 <div class="prop-value">
1441 <p>successful operation</p>
1442 </div>
1443 </div>
1444 </section>
1445 </div>
1446 <div class="doc-examples">
1447 <h5>Response Content-Types:
1448 <span>application/json</span>
1449 </h5>
1450 </div>
1451 </div>
94ff4c23
C
1452 <div class="doc-row">
1453 <div class="doc-copy">
1454 <section class="swagger-request-security">
1455 <table class="table">
1456 <thead>
1457 <tr>
1458 <th class="swagger-request-security-schema"></th>
1459 <th class="swagger-request-security-scopes"></th>
1460 </tr>
1461 </thead>
1462 <tbody>
1463 <tr>
1464 <td>
1465 <a href="#security-definition-OAuth2">OAuth2</a>
1466 </td>
1467 <td> </td>
1468 </tr>
1469 </tbody>
1470 </table>
1471 </section>
1472 </div>
1473 </div>
5e1c08eb
C
1474 </div>
1475 <h1 id="tag-User" class="swagger-summary-tag" data-traverse-target="tag-User">User</h1>
1476 <div id="operation--users-post" class="operation panel" data-traverse-target="operation--users-post">
1477 <!-- <section class="operation-tags row"> -->
1478 <!-- <div class="doc-copy"> -->
1479 <div class="operation-tags">
1480 <a class="label" href="#tag-User">User</a>
1481 <!---->
1482 </div>
1483 <!-- </div> -->
1484 <!-- </section> -->
1485 <h2 class="operation-title">
1486 <span class="operation-name">
1487 <span class="operation-name">POST</span>
1488 <span class="operation-path">/users</span>
1489 </span>
1490 </h2>
1491 <div class="doc-row">
1492 <div class="doc-copy">
1493 <section class="swagger-request-body">
1494 <div class="prop-row">
1495 <div class="prop-name">
1496 <div class="swagger-request-model">
1497 <span class="">
1498 <a class="json-schema-ref" href="#/definitions/AddUser">AddUser</a>
1499 </span>
1500 </div>
1501 </div>
1502 <div class="prop-value columns small-6">
61b66b36
C
1503 <!-- <div class="swagger-request-description"> -->
1504 <p>User to create</p>
5e1c08eb
C
1505 <!-- </div> -->
1506 </div>
1507 </div>
1508 </section>
1509 </div>
1510 <div class="doc-examples">
1511 <section>
1512 <h5>Request Content-Types:
1513 <span>application/json</span>
1514 </h5>
1515 <h5>Request Example</h5>
1516 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
1517 <span class="hljs-attr">&quot;username&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1518 <span class="hljs-attr">&quot;password&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1519 <span class="hljs-attr">&quot;email&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1520 <span class="hljs-attr">&quot;videoQuota&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1521 <span class="hljs-attr">&quot;role&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1522}
1523</code></pre>
1524 <!-- </div> -->
1525 </section>
1526 </div>
1527 </div>
1528 <div class="doc-row">
1529 <div class="doc-copy">
1530 <section class="swagger-responses">
1531 <div class="prop-row prop-group">
1532 <div class="prop-name">
1533 <div class="prop-title">200 OK</div>
1534 <div class="prop-ref">
1535 <span class="">
1536 <a class="json-schema-ref" href="#/definitions/AddUserResponse">AddUserResponse</a>
1537 </span>
1538 </div>
1539 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
1540 </div>
1541 <div class="prop-value">
1542 <p>successful operation</p>
1543 </div>
1544 </div>
1545 </section>
1546 </div>
1547 <div class="doc-examples">
1548 <h5>Response Content-Types:
1549 <span>application/json</span>
1550 </h5>
1551 <section>
1552 <h5>Response Example
1553 <span>(200 OK)</span>
1554 </h5>
1555 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
1556 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1557 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1558}
1559</code></pre>
1560 <!-- </div> -->
1561 </section>
1562 </div>
1563 </div>
94ff4c23
C
1564 <div class="doc-row">
1565 <div class="doc-copy">
1566 <section class="swagger-request-security">
1567 <table class="table">
1568 <thead>
1569 <tr>
1570 <th class="swagger-request-security-schema"></th>
1571 <th class="swagger-request-security-scopes"></th>
1572 </tr>
1573 </thead>
1574 <tbody>
1575 <tr>
1576 <td>
1577 <a href="#security-definition-OAuth2">OAuth2</a>
1578 </td>
1579 <td> </td>
1580 </tr>
1581 </tbody>
1582 </table>
1583 </section>
1584 </div>
1585 </div>
5e1c08eb
C
1586 </div>
1587 <div id="operation--users-get" class="operation panel" data-traverse-target="operation--users-get">
1588 <!-- <section class="operation-tags row"> -->
1589 <!-- <div class="doc-copy"> -->
1590 <div class="operation-tags">
1591 <a class="label" href="#tag-User">User</a>
1592 <!---->
1593 </div>
1594 <!-- </div> -->
1595 <!-- </section> -->
1596 <h2 class="operation-title">
1597 <span class="operation-name">
1598 <span class="operation-name">GET</span>
1599 <span class="operation-path">/users</span>
1600 </span>
1601 </h2>
1602 <div class="doc-row">
ab0ee6a1
C
1603 <div class="doc-copy">
1604 <section class="swagger-request-params">
1605 <div class="prop-row prop-group">
1606 <div class="prop-name">
1607 <div class="prop-title">start</div>
228e84aa
C
1608 <div class="prop-subtitle"> in query </div>
1609 <div class="prop-subtitle">
1610 <span class="json-property-type">number</span>
1611 <span class="json-property-range" title="Value limits"></span>
1612 </div>
ab0ee6a1
C
1613 </div>
1614 <div class="prop-value">
1615 <p>starting page</p>
1616 </div>
1617 </div>
ab0ee6a1
C
1618 <div class="prop-row prop-group">
1619 <div class="prop-name">
1620 <div class="prop-title">stop</div>
228e84aa
C
1621 <div class="prop-subtitle"> in query </div>
1622 <div class="prop-subtitle">
1623 <span class="json-property-type">number</span>
1624 <span class="json-property-range" title="Value limits"></span>
1625 </div>
ab0ee6a1
C
1626 </div>
1627 <div class="prop-value">
f209b32a 1628 <p>stopping page</p>
ab0ee6a1
C
1629 </div>
1630 </div>
ab0ee6a1
C
1631 <div class="prop-row prop-group">
1632 <div class="prop-name">
1633 <div class="prop-title">sort</div>
228e84aa
C
1634 <div class="prop-subtitle"> in query </div>
1635 <div class="prop-subtitle">
1636 <span class="json-property-type">number</span>
1637 <span class="json-property-range" title="Value limits"></span>
1638 </div>
ab0ee6a1
C
1639 </div>
1640 <div class="prop-value">
1641 <p>sorting</p>
1642 </div>
1643 </div>
ab0ee6a1
C
1644 </section>
1645 </div>
5e1c08eb
C
1646 <div class="doc-examples"></div>
1647 </div>
1648 <div class="doc-row">
1649 <div class="doc-copy">
1650 <section class="swagger-responses">
1651 <div class="prop-row prop-group">
1652 <div class="prop-name">
1653 <div class="prop-title">200 OK</div>
1654 <div class="prop-ref">
1655 <span class="json-schema-ref-array">
1656 <a class="json-schema-ref" href="#/definitions/User">User</a>
1657 </span>
1658 </div>
1659 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
1660 </div>
1661 <div class="prop-value">
1662 <p>successful operation</p>
1663 </div>
1664 </div>
228e84aa
C
1665 <div class="prop-row prop-inner">
1666 <div class="prop-name">type</div>
1667 <div class="prop-value">
1668 <span class="json-property-type">
1669 <span class="json-schema-ref-array">
1670 <a class="json-schema-ref" href="#/definitions/User">User</a>
1671 </span>
1672 </span>
1673 <span class="json-property-range" title="Value limits"></span>
1674 </div>
1675 </div>
5e1c08eb
C
1676 </section>
1677 </div>
1678 <div class="doc-examples">
1679 <h5>Response Content-Types:
1680 <span>application/json</span>
1681 </h5>
1682 <section>
1683 <h5>Response Example
1684 <span>(200 OK)</span>
1685 </h5>
1686 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
1687 {
1688 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1689 <span class="hljs-attr">&quot;username&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1690 <span class="hljs-attr">&quot;email&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1691 <span class="hljs-attr">&quot;displayNSFW&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
1692 <span class="hljs-attr">&quot;autoPlayVideo&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
1693 <span class="hljs-attr">&quot;role&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1694 <span class="hljs-attr">&quot;videoQuota&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1695 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1696 <span class="hljs-attr">&quot;account&quot;</span>: {
1697 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1698 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1699 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1700 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1701 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1702 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1703 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1704 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1705 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1706 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1707 <span class="hljs-attr">&quot;avatar&quot;</span>: {
1708 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1709 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1710 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1711 }
1712 },
1713 <span class="hljs-attr">&quot;videoChannels&quot;</span>: [
1714 {
1715 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1716 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1717 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
cc918ac3
C
1718 <span class="hljs-attr">&quot;ownerAccount&quot;</span>: {
1719 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5e1c08eb 1720 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
cc918ac3 1721 }
5e1c08eb
C
1722 }
1723 ]
1724 }
1725]
1726</code></pre>
1727 <!-- </div> -->
1728 </section>
1729 </div>
1730 </div>
94ff4c23
C
1731 <div class="doc-row">
1732 <div class="doc-copy">
1733 <section class="swagger-request-security">
1734 <table class="table">
1735 <thead>
1736 <tr>
1737 <th class="swagger-request-security-schema"></th>
1738 <th class="swagger-request-security-scopes"></th>
1739 </tr>
1740 </thead>
1741 <tbody>
1742 <tr>
1743 <td>
1744 <a href="#security-definition-OAuth2">OAuth2</a>
1745 </td>
1746 <td> </td>
1747 </tr>
1748 </tbody>
1749 </table>
1750 </section>
1751 </div>
1752 </div>
5e1c08eb
C
1753 </div>
1754 <div id="operation--users--id--delete" class="operation panel" data-traverse-target="operation--users--id--delete">
1755 <!-- <section class="operation-tags row"> -->
1756 <!-- <div class="doc-copy"> -->
1757 <div class="operation-tags">
1758 <a class="label" href="#tag-User">User</a>
1759 <!---->
1760 </div>
1761 <!-- </div> -->
1762 <!-- </section> -->
1763 <h2 class="operation-title">
1764 <span class="operation-name">
1765 <span class="operation-name">DELETE</span>
1766 <span class="operation-path">/users/{id}</span>
1767 </span>
1768 </h2>
1769 <div class="doc-row">
1770 <div class="doc-copy">
1771 <section class="swagger-request-params">
1772 <div class="prop-row prop-group">
1773 <div class="prop-name">
1774 <div class="prop-title">id</div>
1775 <span class="json-property-required"></span>
228e84aa
C
1776 <div class="prop-subtitle"> in path </div>
1777 <div class="prop-subtitle">
1778 <span class="json-property-type">string</span>
1779 <span class="json-property-range" title="Value limits"></span>
1780 </div>
5e1c08eb
C
1781 </div>
1782 <div class="prop-value">
1783 <p>The user id </p>
1784 </div>
1785 </div>
5e1c08eb
C
1786 </section>
1787 </div>
1788 <div class="doc-examples"></div>
1789 </div>
1790 <div class="doc-row">
1791 <div class="doc-copy">
1792 <section class="swagger-responses">
1793 <div class="prop-row prop-group">
1794 <div class="prop-name">
1795 <div class="prop-title">204 No Content</div>
1796 </div>
1797 <div class="prop-value">
1798 <p>successful operation</p>
1799 </div>
1800 </div>
1801 </section>
1802 </div>
1803 <div class="doc-examples">
1804 <h5>Response Content-Types:
1805 <span>application/json</span>
1806 </h5>
1807 </div>
1808 </div>
94ff4c23
C
1809 <div class="doc-row">
1810 <div class="doc-copy">
1811 <section class="swagger-request-security">
1812 <table class="table">
1813 <thead>
1814 <tr>
1815 <th class="swagger-request-security-schema"></th>
1816 <th class="swagger-request-security-scopes"></th>
1817 </tr>
1818 </thead>
1819 <tbody>
1820 <tr>
1821 <td>
1822 <a href="#security-definition-OAuth2">OAuth2</a>
1823 </td>
1824 <td> </td>
1825 </tr>
1826 </tbody>
1827 </table>
1828 </section>
1829 </div>
1830 </div>
5e1c08eb
C
1831 </div>
1832 <div id="operation--users--id--get" class="operation panel" data-traverse-target="operation--users--id--get">
1833 <!-- <section class="operation-tags row"> -->
1834 <!-- <div class="doc-copy"> -->
1835 <div class="operation-tags">
1836 <a class="label" href="#tag-User">User</a>
1837 <!---->
1838 </div>
1839 <!-- </div> -->
1840 <!-- </section> -->
1841 <h2 class="operation-title">
1842 <span class="operation-name">
1843 <span class="operation-name">GET</span>
1844 <span class="operation-path">/users/{id}</span>
1845 </span>
1846 </h2>
1847 <div class="doc-row">
1848 <div class="doc-copy">
1849 <section class="swagger-request-params">
1850 <div class="prop-row prop-group">
1851 <div class="prop-name">
1852 <div class="prop-title">id</div>
1853 <span class="json-property-required"></span>
228e84aa
C
1854 <div class="prop-subtitle"> in path </div>
1855 <div class="prop-subtitle">
1856 <span class="json-property-type">string</span>
1857 <span class="json-property-range" title="Value limits"></span>
1858 </div>
5e1c08eb
C
1859 </div>
1860 <div class="prop-value">
1861 <p>The user id </p>
1862 </div>
1863 </div>
5e1c08eb
C
1864 </section>
1865 </div>
1866 <div class="doc-examples"></div>
1867 </div>
1868 <div class="doc-row">
1869 <div class="doc-copy">
1870 <section class="swagger-responses">
1871 <div class="prop-row prop-group">
1872 <div class="prop-name">
1873 <div class="prop-title">200 OK</div>
1874 <div class="prop-ref">
1875 <span class="">
1876 <a class="json-schema-ref" href="#/definitions/User">User</a>
1877 </span>
1878 </div>
1879 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
1880 </div>
1881 <div class="prop-value">
1882 <p>successful operation</p>
1883 </div>
1884 </div>
1885 </section>
1886 </div>
1887 <div class="doc-examples">
1888 <h5>Response Content-Types:
1889 <span>application/json</span>
1890 </h5>
1891 <section>
1892 <h5>Response Example
1893 <span>(200 OK)</span>
1894 </h5>
1895 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
1896 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1897 <span class="hljs-attr">&quot;username&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1898 <span class="hljs-attr">&quot;email&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1899 <span class="hljs-attr">&quot;displayNSFW&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
1900 <span class="hljs-attr">&quot;autoPlayVideo&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
1901 <span class="hljs-attr">&quot;role&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1902 <span class="hljs-attr">&quot;videoQuota&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1903 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1904 <span class="hljs-attr">&quot;account&quot;</span>: {
1905 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1906 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1907 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1908 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1909 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1910 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1911 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1912 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
1913 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1914 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1915 <span class="hljs-attr">&quot;avatar&quot;</span>: {
1916 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1917 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1918 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
1919 }
1920 },
1921 <span class="hljs-attr">&quot;videoChannels&quot;</span>: [
1922 {
1923 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1924 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
1925 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
cc918ac3
C
1926 <span class="hljs-attr">&quot;ownerAccount&quot;</span>: {
1927 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5e1c08eb 1928 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
cc918ac3 1929 }
5e1c08eb
C
1930 }
1931 ]
1932}
1933</code></pre>
1934 <!-- </div> -->
1935 </section>
1936 </div>
1937 </div>
94ff4c23
C
1938 <div class="doc-row">
1939 <div class="doc-copy">
1940 <section class="swagger-request-security">
1941 <table class="table">
1942 <thead>
1943 <tr>
1944 <th class="swagger-request-security-schema"></th>
1945 <th class="swagger-request-security-scopes"></th>
1946 </tr>
1947 </thead>
1948 <tbody>
1949 <tr>
1950 <td>
1951 <a href="#security-definition-OAuth2">OAuth2</a>
1952 </td>
1953 <td> </td>
1954 </tr>
1955 </tbody>
1956 </table>
1957 </section>
1958 </div>
1959 </div>
5e1c08eb
C
1960 </div>
1961 <div id="operation--users--id--put" class="operation panel" data-traverse-target="operation--users--id--put">
1962 <!-- <section class="operation-tags row"> -->
1963 <!-- <div class="doc-copy"> -->
1964 <div class="operation-tags">
1965 <a class="label" href="#tag-User">User</a>
1966 <!---->
1967 </div>
1968 <!-- </div> -->
1969 <!-- </section> -->
1970 <h2 class="operation-title">
1971 <span class="operation-name">
1972 <span class="operation-name">PUT</span>
1973 <span class="operation-path">/users/{id}</span>
1974 </span>
1975 </h2>
1976 <div class="doc-row">
1977 <div class="doc-copy">
1978 <section class="swagger-request-body">
1979 <div class="prop-row">
1980 <div class="prop-name">
1981 <div class="swagger-request-model">
1982 <span class="">
1983 <a class="json-schema-ref" href="#/definitions/UpdateUser">UpdateUser</a>
1984 </span>
1985 </div>
1986 </div>
1987 <div class="prop-value columns small-6">
228e84aa
C
1988 <!-- <div class="swagger-request-description"> -->
1989 <p>undefined</p>
5e1c08eb
C
1990 <!-- </div> -->
1991 </div>
1992 </div>
1993 </section>
1994 <section class="swagger-request-params">
1995 <div class="prop-row prop-group">
1996 <div class="prop-name">
1997 <div class="prop-title">id</div>
1998 <span class="json-property-required"></span>
228e84aa
C
1999 <div class="prop-subtitle"> in path </div>
2000 <div class="prop-subtitle">
2001 <span class="json-property-type">string</span>
2002 <span class="json-property-range" title="Value limits"></span>
2003 </div>
5e1c08eb
C
2004 </div>
2005 <div class="prop-value">
2006 <p>The user id </p>
2007 </div>
2008 </div>
5e1c08eb
C
2009 </section>
2010 </div>
2011 <div class="doc-examples">
2012 <section>
2013 <h5>Request Content-Types:
2014 <span>application/json</span>
2015 </h5>
2016 <h5>Request Example</h5>
2017 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
2018 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2019 <span class="hljs-attr">&quot;email&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2020 <span class="hljs-attr">&quot;videoQuota&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2021 <span class="hljs-attr">&quot;role&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2022}
2023</code></pre>
2024 <!-- </div> -->
2025 </section>
2026 </div>
2027 </div>
2028 <div class="doc-row">
2029 <div class="doc-copy">
2030 <section class="swagger-responses">
2031 <div class="prop-row prop-group">
2032 <div class="prop-name">
2033 <div class="prop-title">204 No Content</div>
2034 </div>
2035 <div class="prop-value">
2036 <p>successful operation</p>
2037 </div>
2038 </div>
2039 </section>
2040 </div>
2041 <div class="doc-examples">
2042 <h5>Response Content-Types:
2043 <span>application/json</span>
2044 </h5>
2045 </div>
2046 </div>
94ff4c23
C
2047 <div class="doc-row">
2048 <div class="doc-copy">
2049 <section class="swagger-request-security">
2050 <table class="table">
2051 <thead>
2052 <tr>
2053 <th class="swagger-request-security-schema"></th>
2054 <th class="swagger-request-security-scopes"></th>
2055 </tr>
2056 </thead>
2057 <tbody>
2058 <tr>
2059 <td>
2060 <a href="#security-definition-OAuth2">OAuth2</a>
2061 </td>
2062 <td> </td>
2063 </tr>
2064 </tbody>
2065 </table>
2066 </section>
2067 </div>
2068 </div>
5e1c08eb
C
2069 </div>
2070 <div id="operation--users-me-get" class="operation panel" data-traverse-target="operation--users-me-get">
2071 <!-- <section class="operation-tags row"> -->
2072 <!-- <div class="doc-copy"> -->
2073 <div class="operation-tags">
2074 <a class="label" href="#tag-User">User</a>
2075 <!---->
2076 </div>
2077 <!-- </div> -->
2078 <!-- </section> -->
2079 <h2 class="operation-title">
2080 <span class="operation-name">
2081 <span class="operation-name">GET</span>
2082 <span class="operation-path">/users/me</span>
2083 </span>
2084 </h2>
2085 <div class="doc-row">
2086 <div class="doc-copy"> </div>
2087 <div class="doc-examples"></div>
2088 </div>
2089 <div class="doc-row">
2090 <div class="doc-copy">
2091 <section class="swagger-responses">
2092 <div class="prop-row prop-group">
2093 <div class="prop-name">
2094 <div class="prop-title">200 OK</div>
2095 <div class="prop-ref">
2096 <span class="json-schema-ref-array">
2097 <a class="json-schema-ref" href="#/definitions/User">User</a>
2098 </span>
2099 </div>
2100 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
2101 </div>
2102 <div class="prop-value">
2103 <p>successful operation</p>
2104 </div>
2105 </div>
228e84aa
C
2106 <div class="prop-row prop-inner">
2107 <div class="prop-name">type</div>
2108 <div class="prop-value">
2109 <span class="json-property-type">
2110 <span class="json-schema-ref-array">
2111 <a class="json-schema-ref" href="#/definitions/User">User</a>
2112 </span>
2113 </span>
2114 <span class="json-property-range" title="Value limits"></span>
2115 </div>
2116 </div>
5e1c08eb
C
2117 </section>
2118 </div>
2119 <div class="doc-examples">
2120 <h5>Response Content-Types:
2121 <span>application/json</span>
2122 </h5>
2123 <section>
2124 <h5>Response Example
2125 <span>(200 OK)</span>
2126 </h5>
2127 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
2128 {
2129 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2130 <span class="hljs-attr">&quot;username&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2131 <span class="hljs-attr">&quot;email&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2132 <span class="hljs-attr">&quot;displayNSFW&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
2133 <span class="hljs-attr">&quot;autoPlayVideo&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
2134 <span class="hljs-attr">&quot;role&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2135 <span class="hljs-attr">&quot;videoQuota&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2136 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2137 <span class="hljs-attr">&quot;account&quot;</span>: {
2138 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2139 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2140 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2141 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2142 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2143 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2144 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2145 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2146 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2147 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2148 <span class="hljs-attr">&quot;avatar&quot;</span>: {
2149 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2150 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2151 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2152 }
2153 },
2154 <span class="hljs-attr">&quot;videoChannels&quot;</span>: [
2155 {
2156 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2157 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2158 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
cc918ac3
C
2159 <span class="hljs-attr">&quot;ownerAccount&quot;</span>: {
2160 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5e1c08eb 2161 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
cc918ac3 2162 }
5e1c08eb
C
2163 }
2164 ]
2165 }
2166]
2167</code></pre>
2168 <!-- </div> -->
2169 </section>
2170 </div>
2171 </div>
94ff4c23
C
2172 <div class="doc-row">
2173 <div class="doc-copy">
2174 <section class="swagger-request-security">
2175 <table class="table">
2176 <thead>
2177 <tr>
2178 <th class="swagger-request-security-schema"></th>
2179 <th class="swagger-request-security-scopes"></th>
2180 </tr>
2181 </thead>
2182 <tbody>
2183 <tr>
2184 <td>
2185 <a href="#security-definition-OAuth2">OAuth2</a>
2186 </td>
2187 <td> </td>
2188 </tr>
2189 </tbody>
2190 </table>
2191 </section>
2192 </div>
2193 </div>
5e1c08eb
C
2194 </div>
2195 <div id="operation--users-me-put" class="operation panel" data-traverse-target="operation--users-me-put">
2196 <!-- <section class="operation-tags row"> -->
2197 <!-- <div class="doc-copy"> -->
2198 <div class="operation-tags">
2199 <a class="label" href="#tag-User">User</a>
2200 <!---->
2201 </div>
2202 <!-- </div> -->
2203 <!-- </section> -->
2204 <h2 class="operation-title">
2205 <span class="operation-name">
2206 <span class="operation-name">PUT</span>
2207 <span class="operation-path">/users/me</span>
2208 </span>
2209 </h2>
2210 <div class="doc-row">
2211 <div class="doc-copy">
2212 <section class="swagger-request-body">
2213 <div class="prop-row">
2214 <div class="prop-name">
2215 <div class="swagger-request-model">
2216 <span class="">
2217 <a class="json-schema-ref" href="#/definitions/UpdateMe">UpdateMe</a>
2218 </span>
2219 </div>
2220 </div>
2221 <div class="prop-value columns small-6">
228e84aa
C
2222 <!-- <div class="swagger-request-description"> -->
2223 <p>undefined</p>
5e1c08eb
C
2224 <!-- </div> -->
2225 </div>
2226 </div>
2227 </section>
2228 </div>
2229 <div class="doc-examples">
2230 <section>
2231 <h5>Request Content-Types:
2232 <span>application/json</span>
2233 </h5>
2234 <h5>Request Example</h5>
2235 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
2236 <span class="hljs-attr">&quot;password&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2237 <span class="hljs-attr">&quot;email&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2238 <span class="hljs-attr">&quot;displayNSFW&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2239 <span class="hljs-attr">&quot;autoPlayVideo&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2240}
2241</code></pre>
2242 <!-- </div> -->
2243 </section>
2244 </div>
2245 </div>
2246 <div class="doc-row">
2247 <div class="doc-copy">
2248 <section class="swagger-responses">
2249 <div class="prop-row prop-group">
2250 <div class="prop-name">
2251 <div class="prop-title">204 No Content</div>
2252 </div>
2253 <div class="prop-value">
2254 <p>successful operation</p>
2255 </div>
2256 </div>
2257 </section>
2258 </div>
2259 <div class="doc-examples">
2260 <h5>Response Content-Types:
2261 <span>application/json</span>
2262 </h5>
2263 </div>
2264 </div>
94ff4c23
C
2265 <div class="doc-row">
2266 <div class="doc-copy">
2267 <section class="swagger-request-security">
2268 <table class="table">
2269 <thead>
2270 <tr>
2271 <th class="swagger-request-security-schema"></th>
2272 <th class="swagger-request-security-scopes"></th>
2273 </tr>
2274 </thead>
2275 <tbody>
2276 <tr>
2277 <td>
2278 <a href="#security-definition-OAuth2">OAuth2</a>
2279 </td>
2280 <td> </td>
2281 </tr>
2282 </tbody>
2283 </table>
2284 </section>
2285 </div>
2286 </div>
5e1c08eb
C
2287 </div>
2288 <div id="operation--users-me-video-quota-used-get" class="operation panel" data-traverse-target="operation--users-me-video-quota-used-get">
2289 <!-- <section class="operation-tags row"> -->
2290 <!-- <div class="doc-copy"> -->
2291 <div class="operation-tags">
2292 <a class="label" href="#tag-User">User</a>
2293 <!---->
2294 </div>
2295 <!-- </div> -->
2296 <!-- </section> -->
2297 <h2 class="operation-title">
2298 <span class="operation-name">
2299 <span class="operation-name">GET</span>
2300 <span class="operation-path">/users/me/video-quota-used</span>
2301 </span>
2302 </h2>
2303 <div class="doc-row">
2304 <div class="doc-copy"> </div>
2305 <div class="doc-examples"></div>
2306 </div>
2307 <div class="doc-row">
2308 <div class="doc-copy">
2309 <section class="swagger-responses">
2310 <div class="prop-row prop-group">
2311 <div class="prop-name">
2312 <div class="prop-title">200 OK</div>
2313 <div class="prop-ref"></div>
2314 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
2315 </div>
2316 <div class="prop-value">
2317 <p>successful operation</p>
2318 </div>
2319 </div>
228e84aa
C
2320 <div class="prop-row prop-inner">
2321 <div class="prop-name">type</div>
2322 <div class="prop-value">
2323 <span class="json-property-type">number</span>
2324 <span class="json-property-range" title="Value limits"></span>
2325 </div>
2326 </div>
5e1c08eb
C
2327 </section>
2328 </div>
2329 <div class="doc-examples">
2330 <h5>Response Content-Types:
2331 <span>application/json</span>
2332 </h5>
2333 <section>
2334 <h5>Response Example
2335 <span>(200 OK)</span>
2336 </h5>
2337 <!-- <div class="hljs"> --><pre><code class="hljs lang-json"><span class="hljs-string">&quot;number&quot;</span>
2338</code></pre>
2339 <!-- </div> -->
2340 </section>
2341 </div>
2342 </div>
94ff4c23
C
2343 <div class="doc-row">
2344 <div class="doc-copy">
2345 <section class="swagger-request-security">
2346 <table class="table">
2347 <thead>
2348 <tr>
2349 <th class="swagger-request-security-schema"></th>
2350 <th class="swagger-request-security-scopes"></th>
2351 </tr>
2352 </thead>
2353 <tbody>
2354 <tr>
2355 <td>
2356 <a href="#security-definition-OAuth2">OAuth2</a>
2357 </td>
2358 <td> </td>
2359 </tr>
2360 </tbody>
2361 </table>
2362 </section>
2363 </div>
2364 </div>
5e1c08eb
C
2365 </div>
2366 <div id="operation--users-me-videos--videoId--rating-get" class="operation panel" data-traverse-target="operation--users-me-videos--videoId--rating-get">
2367 <!-- <section class="operation-tags row"> -->
2368 <!-- <div class="doc-copy"> -->
2369 <div class="operation-tags">
2370 <a class="label" href="#tag-User">User</a>
2371 <!---->
2372 </div>
2373 <!-- </div> -->
2374 <!-- </section> -->
2375 <h2 class="operation-title">
2376 <span class="operation-name">
2377 <span class="operation-name">GET</span>
2378 <span class="operation-path">/users/me/videos/{videoId}/rating</span>
2379 </span>
2380 </h2>
2381 <div class="doc-row">
2382 <div class="doc-copy">
2383 <section class="swagger-request-params">
2384 <div class="prop-row prop-group">
2385 <div class="prop-name">
2386 <div class="prop-title">videoId</div>
2387 <span class="json-property-required"></span>
228e84aa
C
2388 <div class="prop-subtitle"> in path </div>
2389 <div class="prop-subtitle">
2390 <span class="json-property-type">string</span>
2391 <span class="json-property-range" title="Value limits"></span>
2392 </div>
5e1c08eb
C
2393 </div>
2394 <div class="prop-value">
2395 <p>The video id </p>
2396 </div>
2397 </div>
5e1c08eb
C
2398 </section>
2399 </div>
2400 <div class="doc-examples"></div>
2401 </div>
2402 <div class="doc-row">
2403 <div class="doc-copy">
2404 <section class="swagger-responses">
2405 <div class="prop-row prop-group">
2406 <div class="prop-name">
2407 <div class="prop-title">200 OK</div>
2408 <div class="prop-ref">
2409 <span class="">
2410 <a class="json-schema-ref" href="#/definitions/GetMeVideoRating">GetMeVideoRating</a>
2411 </span>
2412 </div>
2413 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
2414 </div>
2415 <div class="prop-value">
2416 <p>successful operation</p>
2417 </div>
2418 </div>
2419 </section>
2420 </div>
2421 <div class="doc-examples">
2422 <h5>Response Content-Types:
2423 <span>application/json</span>
2424 </h5>
2425 <section>
2426 <h5>Response Example
2427 <span>(200 OK)</span>
2428 </h5>
2429 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
2430 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2431 <span class="hljs-attr">&quot;rating&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>
2432}
2433</code></pre>
2434 <!-- </div> -->
2435 </section>
2436 </div>
2437 </div>
94ff4c23
C
2438 <div class="doc-row">
2439 <div class="doc-copy">
2440 <section class="swagger-request-security">
2441 <table class="table">
2442 <thead>
2443 <tr>
2444 <th class="swagger-request-security-schema"></th>
2445 <th class="swagger-request-security-scopes"></th>
2446 </tr>
2447 </thead>
2448 <tbody>
2449 <tr>
2450 <td>
2451 <a href="#security-definition-OAuth2">OAuth2</a>
2452 </td>
2453 <td> </td>
2454 </tr>
2455 </tbody>
2456 </table>
2457 </section>
2458 </div>
2459 </div>
5e1c08eb
C
2460 </div>
2461 <div id="operation--users-me-videos-get" class="operation panel" data-traverse-target="operation--users-me-videos-get">
2462 <!-- <section class="operation-tags row"> -->
2463 <!-- <div class="doc-copy"> -->
2464 <div class="operation-tags">
2465 <a class="label" href="#tag-User">User</a>
2466 <!---->
2467 </div>
2468 <!-- </div> -->
2469 <!-- </section> -->
2470 <h2 class="operation-title">
2471 <span class="operation-name">
2472 <span class="operation-name">GET</span>
2473 <span class="operation-path">/users/me/videos</span>
2474 </span>
2475 </h2>
2476 <div class="doc-row">
ab0ee6a1
C
2477 <div class="doc-copy">
2478 <section class="swagger-request-params">
2479 <div class="prop-row prop-group">
2480 <div class="prop-name">
2481 <div class="prop-title">start</div>
228e84aa
C
2482 <div class="prop-subtitle"> in query </div>
2483 <div class="prop-subtitle">
2484 <span class="json-property-type">number</span>
2485 <span class="json-property-range" title="Value limits"></span>
2486 </div>
ab0ee6a1
C
2487 </div>
2488 <div class="prop-value">
2489 <p>starting page</p>
2490 </div>
2491 </div>
ab0ee6a1
C
2492 <div class="prop-row prop-group">
2493 <div class="prop-name">
2494 <div class="prop-title">stop</div>
228e84aa
C
2495 <div class="prop-subtitle"> in query </div>
2496 <div class="prop-subtitle">
2497 <span class="json-property-type">number</span>
2498 <span class="json-property-range" title="Value limits"></span>
2499 </div>
ab0ee6a1
C
2500 </div>
2501 <div class="prop-value">
f209b32a 2502 <p>stopping page</p>
ab0ee6a1
C
2503 </div>
2504 </div>
ab0ee6a1
C
2505 <div class="prop-row prop-group">
2506 <div class="prop-name">
2507 <div class="prop-title">sort</div>
228e84aa
C
2508 <div class="prop-subtitle"> in query </div>
2509 <div class="prop-subtitle">
2510 <span class="json-property-type">number</span>
2511 <span class="json-property-range" title="Value limits"></span>
2512 </div>
ab0ee6a1
C
2513 </div>
2514 <div class="prop-value">
2515 <p>sorting</p>
2516 </div>
2517 </div>
ab0ee6a1
C
2518 </section>
2519 </div>
5e1c08eb
C
2520 <div class="doc-examples"></div>
2521 </div>
2522 <div class="doc-row">
2523 <div class="doc-copy">
2524 <section class="swagger-responses">
2525 <div class="prop-row prop-group">
2526 <div class="prop-name">
2527 <div class="prop-title">200 OK</div>
2528 <div class="prop-ref">
2529 <span class="json-schema-ref-array">
2530 <a class="json-schema-ref" href="#/definitions/Video">Video</a>
2531 </span>
2532 </div>
2533 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
2534 </div>
2535 <div class="prop-value">
2536 <p>successful operation</p>
2537 </div>
2538 </div>
228e84aa
C
2539 <div class="prop-row prop-inner">
2540 <div class="prop-name">type</div>
2541 <div class="prop-value">
2542 <span class="json-property-type">
2543 <span class="json-schema-ref-array">
2544 <a class="json-schema-ref" href="#/definitions/Video">Video</a>
2545 </span>
2546 </span>
2547 <span class="json-property-range" title="Value limits"></span>
2548 </div>
2549 </div>
5e1c08eb
C
2550 </section>
2551 </div>
2552 <div class="doc-examples">
2553 <h5>Response Content-Types:
2554 <span>application/json</span>
2555 </h5>
2556 <section>
2557 <h5>Response Example
2558 <span>(200 OK)</span>
2559 </h5>
2560 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
2561 {
2562 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2563 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb 2564 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
61b66b36 2565 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb 2566 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5d00a3d7
C
2567 <span class="hljs-attr">&quot;category&quot;</span>: {
2568 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2569 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2570 },
2571 <span class="hljs-attr">&quot;licence&quot;</span>: {
2572 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2573 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2574 },
2575 <span class="hljs-attr">&quot;language&quot;</span>: {
48dce1c9 2576 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5d00a3d7
C
2577 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2578 },
61b66b36 2579 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb
C
2580 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2581 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2582 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
2583 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb
C
2584 <span class="hljs-attr">&quot;thumbnailPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2585 <span class="hljs-attr">&quot;previewPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2586 <span class="hljs-attr">&quot;embedPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2587 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2588 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2589 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
61b66b36
C
2590 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
2591 <span class="hljs-attr">&quot;account&quot;</span>: {
2592 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2593 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2594 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2595 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2596 <span class="hljs-attr">&quot;avatar&quot;</span>: {
2597 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2598 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2599 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2600 }
2601 }
5e1c08eb
C
2602 }
2603]
2604</code></pre>
2605 <!-- </div> -->
2606 </section>
2607 </div>
2608 </div>
94ff4c23
C
2609 <div class="doc-row">
2610 <div class="doc-copy">
2611 <section class="swagger-request-security">
2612 <table class="table">
2613 <thead>
2614 <tr>
2615 <th class="swagger-request-security-schema"></th>
2616 <th class="swagger-request-security-scopes"></th>
2617 </tr>
2618 </thead>
2619 <tbody>
2620 <tr>
2621 <td>
2622 <a href="#security-definition-OAuth2">OAuth2</a>
2623 </td>
2624 <td> </td>
2625 </tr>
2626 </tbody>
2627 </table>
2628 </section>
2629 </div>
2630 </div>
5e1c08eb
C
2631 </div>
2632 <div id="operation--users-register-post" class="operation panel" data-traverse-target="operation--users-register-post">
2633 <!-- <section class="operation-tags row"> -->
2634 <!-- <div class="doc-copy"> -->
2635 <div class="operation-tags">
2636 <a class="label" href="#tag-User">User</a>
2637 <!---->
2638 </div>
2639 <!-- </div> -->
2640 <!-- </section> -->
2641 <h2 class="operation-title">
2642 <span class="operation-name">
2643 <span class="operation-name">POST</span>
2644 <span class="operation-path">/users/register</span>
2645 </span>
2646 </h2>
2647 <div class="doc-row">
2648 <div class="doc-copy">
2649 <section class="swagger-request-body">
2650 <div class="prop-row">
2651 <div class="prop-name">
2652 <div class="swagger-request-model">
2653 <span class="">
2654 <a class="json-schema-ref" href="#/definitions/RegisterUser">RegisterUser</a>
2655 </span>
2656 </div>
2657 </div>
2658 <div class="prop-value columns small-6">
228e84aa
C
2659 <!-- <div class="swagger-request-description"> -->
2660 <p>undefined</p>
5e1c08eb
C
2661 <!-- </div> -->
2662 </div>
2663 </div>
2664 </section>
2665 </div>
2666 <div class="doc-examples">
2667 <section>
2668 <h5>Request Content-Types:
2669 <span>application/json</span>
2670 </h5>
2671 <h5>Request Example</h5>
2672 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
2673 <span class="hljs-attr">&quot;username&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2674 <span class="hljs-attr">&quot;password&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2675 <span class="hljs-attr">&quot;email&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2676}
2677</code></pre>
2678 <!-- </div> -->
2679 </section>
2680 </div>
2681 </div>
2682 <div class="doc-row">
2683 <div class="doc-copy">
2684 <section class="swagger-responses">
2685 <div class="prop-row prop-group">
2686 <div class="prop-name">
2687 <div class="prop-title">204 No Content</div>
2688 </div>
2689 <div class="prop-value">
2690 <p>successful operation</p>
2691 </div>
2692 </div>
2693 </section>
2694 </div>
2695 <div class="doc-examples">
2696 <h5>Response Content-Types:
2697 <span>application/json</span>
2698 </h5>
2699 </div>
2700 </div>
2701 </div>
2702 <div id="operation--users-me-avatar-pick-post" class="operation panel" data-traverse-target="operation--users-me-avatar-pick-post">
2703 <!-- <section class="operation-tags row"> -->
2704 <!-- <div class="doc-copy"> -->
2705 <div class="operation-tags">
2706 <a class="label" href="#tag-User">User</a>
2707 <!---->
2708 </div>
2709 <!-- </div> -->
2710 <!-- </section> -->
2711 <h2 class="operation-title">
2712 <span class="operation-name">
2713 <span class="operation-name">POST</span>
2714 <span class="operation-path">/users/me/avatar/pick</span>
2715 </span>
2716 </h2>
2717 <div class="doc-row">
2718 <div class="doc-copy">
2719 <section class="swagger-request-params">
2720 <div class="prop-row prop-group">
2721 <div class="prop-name">
2722 <div class="prop-title">avatarfile</div>
228e84aa
C
2723 <div class="prop-subtitle"> in formData </div>
2724 <div class="prop-subtitle">
2725 <span class="json-property-type">file</span>
2726 <span class="json-property-range" title="Value limits"></span>
2727 </div>
5e1c08eb
C
2728 </div>
2729 <div class="prop-value">
2730 <p>The file to upload.</p>
2731 </div>
2732 </div>
5e1c08eb
C
2733 </section>
2734 </div>
2735 <div class="doc-examples"></div>
2736 </div>
2737 <div class="doc-row">
2738 <div class="doc-copy">
2739 <section class="swagger-responses">
2740 <div class="prop-row prop-group">
2741 <div class="prop-name">
2742 <div class="prop-title">200 OK</div>
2743 <div class="prop-ref">
2744 <span class="">
2745 <a class="json-schema-ref" href="#/definitions/Avatar">Avatar</a>
2746 </span>
2747 </div>
2748 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
2749 </div>
2750 <div class="prop-value">
2751 <p>successful operation</p>
2752 </div>
2753 </div>
2754 </section>
2755 </div>
2756 <div class="doc-examples">
2757 <h5>Response Content-Types:
2758 <span>application/json</span>
2759 </h5>
2760 <section>
2761 <h5>Response Example
2762 <span>(200 OK)</span>
2763 </h5>
2764 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
2765 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2766 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2767 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2768}
2769</code></pre>
2770 <!-- </div> -->
2771 </section>
2772 </div>
ab0ee6a1 2773 </div>
94ff4c23
C
2774 <div class="doc-row">
2775 <div class="doc-copy">
2776 <section class="swagger-request-security">
2777 <table class="table">
2778 <thead>
2779 <tr>
2780 <th class="swagger-request-security-schema"></th>
2781 <th class="swagger-request-security-scopes"></th>
2782 </tr>
2783 </thead>
2784 <tbody>
2785 <tr>
2786 <td>
2787 <a href="#security-definition-OAuth2">OAuth2</a>
2788 </td>
2789 <td> </td>
2790 </tr>
2791 </tbody>
2792 </table>
2793 </section>
2794 </div>
2795 </div>
ab0ee6a1
C
2796 </div>
2797 <h1 id="tag-Video" class="swagger-summary-tag" data-traverse-target="tag-Video">Video</h1>
2798 <div id="operation--videos-get" class="operation panel" data-traverse-target="operation--videos-get">
2799 <!-- <section class="operation-tags row"> -->
2800 <!-- <div class="doc-copy"> -->
2801 <div class="operation-tags">
2802 <a class="label" href="#tag-Video">Video</a>
2803 <!---->
2804 </div>
2805 <!-- </div> -->
2806 <!-- </section> -->
2807 <h2 class="operation-title">
2808 <span class="operation-name">
2809 <span class="operation-name">GET</span>
2810 <span class="operation-path">/videos</span>
2811 </span>
2812 </h2>
2813 <div class="doc-row">
2814 <div class="doc-copy">
2815 <section class="swagger-request-params">
2816 <div class="prop-row prop-group">
2817 <div class="prop-name">
2818 <div class="prop-title">start</div>
228e84aa
C
2819 <div class="prop-subtitle"> in query </div>
2820 <div class="prop-subtitle">
2821 <span class="json-property-type">number</span>
2822 <span class="json-property-range" title="Value limits"></span>
2823 </div>
ab0ee6a1
C
2824 </div>
2825 <div class="prop-value">
2826 <p>starting page</p>
2827 </div>
2828 </div>
ab0ee6a1
C
2829 <div class="prop-row prop-group">
2830 <div class="prop-name">
2831 <div class="prop-title">stop</div>
228e84aa
C
2832 <div class="prop-subtitle"> in query </div>
2833 <div class="prop-subtitle">
2834 <span class="json-property-type">number</span>
2835 <span class="json-property-range" title="Value limits"></span>
2836 </div>
ab0ee6a1
C
2837 </div>
2838 <div class="prop-value">
f209b32a 2839 <p>stopping page</p>
ab0ee6a1
C
2840 </div>
2841 </div>
ab0ee6a1
C
2842 <div class="prop-row prop-group">
2843 <div class="prop-name">
2844 <div class="prop-title">sort</div>
228e84aa
C
2845 <div class="prop-subtitle"> in query </div>
2846 <div class="prop-subtitle">
2847 <span class="json-property-type">number</span>
2848 <span class="json-property-range" title="Value limits"></span>
2849 </div>
ab0ee6a1
C
2850 </div>
2851 <div class="prop-value">
2852 <p>sorting</p>
2853 </div>
2854 </div>
ab0ee6a1
C
2855 </section>
2856 </div>
5e1c08eb
C
2857 <div class="doc-examples"></div>
2858 </div>
2859 <div class="doc-row">
2860 <div class="doc-copy">
2861 <section class="swagger-responses">
2862 <div class="prop-row prop-group">
2863 <div class="prop-name">
2864 <div class="prop-title">200 OK</div>
2865 <div class="prop-ref">
2866 <span class="json-schema-ref-array">
2867 <a class="json-schema-ref" href="#/definitions/Video">Video</a>
2868 </span>
2869 </div>
2870 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
2871 </div>
2872 <div class="prop-value">
2873 <p>successful operation</p>
2874 </div>
2875 </div>
228e84aa
C
2876 <div class="prop-row prop-inner">
2877 <div class="prop-name">type</div>
2878 <div class="prop-value">
2879 <span class="json-property-type">
2880 <span class="json-schema-ref-array">
2881 <a class="json-schema-ref" href="#/definitions/Video">Video</a>
2882 </span>
2883 </span>
2884 <span class="json-property-range" title="Value limits"></span>
2885 </div>
2886 </div>
5e1c08eb
C
2887 </section>
2888 </div>
2889 <div class="doc-examples">
2890 <h5>Response Content-Types:
2891 <span>application/json</span>
2892 </h5>
2893 <section>
2894 <h5>Response Example
2895 <span>(200 OK)</span>
2896 </h5>
2897 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
2898 {
2899 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2900 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb 2901 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
61b66b36 2902 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb 2903 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5d00a3d7
C
2904 <span class="hljs-attr">&quot;category&quot;</span>: {
2905 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2906 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2907 },
2908 <span class="hljs-attr">&quot;licence&quot;</span>: {
2909 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2910 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2911 },
2912 <span class="hljs-attr">&quot;language&quot;</span>: {
48dce1c9 2913 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5d00a3d7
C
2914 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2915 },
61b66b36 2916 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb
C
2917 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2918 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2919 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
2920 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb
C
2921 <span class="hljs-attr">&quot;thumbnailPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2922 <span class="hljs-attr">&quot;previewPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2923 <span class="hljs-attr">&quot;embedPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2924 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2925 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
2926 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
61b66b36
C
2927 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
2928 <span class="hljs-attr">&quot;account&quot;</span>: {
2929 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2930 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2931 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2932 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2933 <span class="hljs-attr">&quot;avatar&quot;</span>: {
2934 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2935 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
2936 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
2937 }
2938 }
5e1c08eb
C
2939 }
2940]
2941</code></pre>
2942 <!-- </div> -->
2943 </section>
2944 </div>
2945 </div>
2946 </div>
ab0ee6a1 2947 <div id="operation--videos-categories-get" class="operation panel" data-traverse-target="operation--videos-categories-get">
5e1c08eb
C
2948 <!-- <section class="operation-tags row"> -->
2949 <!-- <div class="doc-copy"> -->
2950 <div class="operation-tags">
2951 <a class="label" href="#tag-Video">Video</a>
2952 <!---->
2953 </div>
2954 <!-- </div> -->
2955 <!-- </section> -->
2956 <h2 class="operation-title">
2957 <span class="operation-name">
2958 <span class="operation-name">GET</span>
ab0ee6a1 2959 <span class="operation-path">/videos/categories</span>
5e1c08eb
C
2960 </span>
2961 </h2>
2962 <div class="doc-row">
2963 <div class="doc-copy"> </div>
2964 <div class="doc-examples"></div>
2965 </div>
2966 <div class="doc-row">
2967 <div class="doc-copy">
2968 <section class="swagger-responses">
2969 <div class="prop-row prop-group">
2970 <div class="prop-name">
2971 <div class="prop-title">200 OK</div>
2972 <div class="prop-ref"></div>
2973 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
2974 </div>
2975 <div class="prop-value">
2976 <p>successful operation</p>
2977 </div>
2978 </div>
228e84aa
C
2979 <div class="prop-row prop-inner">
2980 <div class="prop-name">type</div>
2981 <div class="prop-value">
2982 <span class="json-property-type">string[]</span>
2983 <span class="json-property-range" title="Value limits"></span>
2984 </div>
2985 </div>
5e1c08eb
C
2986 </section>
2987 </div>
2988 <div class="doc-examples">
2989 <h5>Response Content-Types:
2990 <span>application/json</span>
2991 </h5>
2992 <section>
2993 <h5>Response Example
2994 <span>(200 OK)</span>
2995 </h5>
2996 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
2997 <span class="hljs-string">&quot;string&quot;</span>
2998]
2999</code></pre>
3000 <!-- </div> -->
3001 </section>
3002 </div>
3003 </div>
3004 </div>
ab0ee6a1 3005 <div id="operation--videos-licences-get" class="operation panel" data-traverse-target="operation--videos-licences-get">
5e1c08eb
C
3006 <!-- <section class="operation-tags row"> -->
3007 <!-- <div class="doc-copy"> -->
3008 <div class="operation-tags">
3009 <a class="label" href="#tag-Video">Video</a>
3010 <!---->
3011 </div>
3012 <!-- </div> -->
3013 <!-- </section> -->
3014 <h2 class="operation-title">
3015 <span class="operation-name">
3016 <span class="operation-name">GET</span>
ab0ee6a1 3017 <span class="operation-path">/videos/licences</span>
5e1c08eb
C
3018 </span>
3019 </h2>
3020 <div class="doc-row">
3021 <div class="doc-copy"> </div>
3022 <div class="doc-examples"></div>
3023 </div>
3024 <div class="doc-row">
3025 <div class="doc-copy">
3026 <section class="swagger-responses">
3027 <div class="prop-row prop-group">
3028 <div class="prop-name">
3029 <div class="prop-title">200 OK</div>
3030 <div class="prop-ref"></div>
3031 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
3032 </div>
3033 <div class="prop-value">
3034 <p>successful operation</p>
3035 </div>
3036 </div>
228e84aa
C
3037 <div class="prop-row prop-inner">
3038 <div class="prop-name">type</div>
3039 <div class="prop-value">
3040 <span class="json-property-type">string[]</span>
3041 <span class="json-property-range" title="Value limits"></span>
3042 </div>
3043 </div>
5e1c08eb
C
3044 </section>
3045 </div>
3046 <div class="doc-examples">
3047 <h5>Response Content-Types:
3048 <span>application/json</span>
3049 </h5>
3050 <section>
3051 <h5>Response Example
3052 <span>(200 OK)</span>
3053 </h5>
3054 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
3055 <span class="hljs-string">&quot;string&quot;</span>
3056]
3057</code></pre>
3058 <!-- </div> -->
3059 </section>
3060 </div>
3061 </div>
3062 </div>
ab0ee6a1 3063 <div id="operation--videos-languages-get" class="operation panel" data-traverse-target="operation--videos-languages-get">
5e1c08eb
C
3064 <!-- <section class="operation-tags row"> -->
3065 <!-- <div class="doc-copy"> -->
3066 <div class="operation-tags">
3067 <a class="label" href="#tag-Video">Video</a>
3068 <!---->
3069 </div>
3070 <!-- </div> -->
3071 <!-- </section> -->
3072 <h2 class="operation-title">
3073 <span class="operation-name">
3074 <span class="operation-name">GET</span>
ab0ee6a1 3075 <span class="operation-path">/videos/languages</span>
5e1c08eb
C
3076 </span>
3077 </h2>
3078 <div class="doc-row">
3079 <div class="doc-copy"> </div>
3080 <div class="doc-examples"></div>
3081 </div>
3082 <div class="doc-row">
3083 <div class="doc-copy">
3084 <section class="swagger-responses">
3085 <div class="prop-row prop-group">
3086 <div class="prop-name">
3087 <div class="prop-title">200 OK</div>
3088 <div class="prop-ref"></div>
3089 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
3090 </div>
3091 <div class="prop-value">
3092 <p>successful operation</p>
3093 </div>
3094 </div>
228e84aa
C
3095 <div class="prop-row prop-inner">
3096 <div class="prop-name">type</div>
3097 <div class="prop-value">
3098 <span class="json-property-type">string[]</span>
3099 <span class="json-property-range" title="Value limits"></span>
3100 </div>
3101 </div>
5e1c08eb
C
3102 </section>
3103 </div>
3104 <div class="doc-examples">
3105 <h5>Response Content-Types:
3106 <span>application/json</span>
3107 </h5>
3108 <section>
3109 <h5>Response Example
3110 <span>(200 OK)</span>
3111 </h5>
3112 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
3113 <span class="hljs-string">&quot;string&quot;</span>
3114]
3115</code></pre>
3116 <!-- </div> -->
3117 </section>
3118 </div>
3119 </div>
3120 </div>
ab0ee6a1 3121 <div id="operation--videos-privacies-get" class="operation panel" data-traverse-target="operation--videos-privacies-get">
5e1c08eb
C
3122 <!-- <section class="operation-tags row"> -->
3123 <!-- <div class="doc-copy"> -->
3124 <div class="operation-tags">
3125 <a class="label" href="#tag-Video">Video</a>
3126 <!---->
3127 </div>
3128 <!-- </div> -->
3129 <!-- </section> -->
3130 <h2 class="operation-title">
3131 <span class="operation-name">
3132 <span class="operation-name">GET</span>
ab0ee6a1 3133 <span class="operation-path">/videos/privacies</span>
5e1c08eb
C
3134 </span>
3135 </h2>
3136 <div class="doc-row">
3137 <div class="doc-copy"> </div>
3138 <div class="doc-examples"></div>
3139 </div>
3140 <div class="doc-row">
3141 <div class="doc-copy">
3142 <section class="swagger-responses">
3143 <div class="prop-row prop-group">
3144 <div class="prop-name">
3145 <div class="prop-title">200 OK</div>
3146 <div class="prop-ref"></div>
3147 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
3148 </div>
3149 <div class="prop-value">
3150 <p>successful operation</p>
3151 </div>
3152 </div>
228e84aa
C
3153 <div class="prop-row prop-inner">
3154 <div class="prop-name">type</div>
3155 <div class="prop-value">
3156 <span class="json-property-type">string[]</span>
3157 <span class="json-property-range" title="Value limits"></span>
3158 </div>
3159 </div>
5e1c08eb
C
3160 </section>
3161 </div>
3162 <div class="doc-examples">
3163 <h5>Response Content-Types:
3164 <span>application/json</span>
3165 </h5>
3166 <section>
3167 <h5>Response Example
3168 <span>(200 OK)</span>
3169 </h5>
3170 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
3171 <span class="hljs-string">&quot;string&quot;</span>
3172]
3173</code></pre>
3174 <!-- </div> -->
3175 </section>
3176 </div>
3177 </div>
3178 </div>
ab0ee6a1 3179 <div id="operation--videos-search-get" class="operation panel" data-traverse-target="operation--videos-search-get">
5e1c08eb
C
3180 <!-- <section class="operation-tags row"> -->
3181 <!-- <div class="doc-copy"> -->
3182 <div class="operation-tags">
3183 <a class="label" href="#tag-Video">Video</a>
3184 <!---->
3185 </div>
3186 <!-- </div> -->
3187 <!-- </section> -->
3188 <h2 class="operation-title">
3189 <span class="operation-name">
3190 <span class="operation-name">GET</span>
ab0ee6a1 3191 <span class="operation-path">/videos/search</span>
5e1c08eb
C
3192 </span>
3193 </h2>
3194 <div class="doc-row">
ab0ee6a1
C
3195 <div class="doc-copy">
3196 <section class="swagger-request-params">
3197 <div class="prop-row prop-group">
3198 <div class="prop-name">
3199 <div class="prop-title">start</div>
228e84aa
C
3200 <div class="prop-subtitle"> in query </div>
3201 <div class="prop-subtitle">
3202 <span class="json-property-type">number</span>
3203 <span class="json-property-range" title="Value limits"></span>
3204 </div>
ab0ee6a1
C
3205 </div>
3206 <div class="prop-value">
3207 <p>starting page</p>
3208 </div>
3209 </div>
ab0ee6a1
C
3210 <div class="prop-row prop-group">
3211 <div class="prop-name">
3212 <div class="prop-title">stop</div>
228e84aa
C
3213 <div class="prop-subtitle"> in query </div>
3214 <div class="prop-subtitle">
3215 <span class="json-property-type">number</span>
3216 <span class="json-property-range" title="Value limits"></span>
3217 </div>
ab0ee6a1
C
3218 </div>
3219 <div class="prop-value">
f209b32a 3220 <p>stopping page</p>
ab0ee6a1
C
3221 </div>
3222 </div>
ab0ee6a1
C
3223 <div class="prop-row prop-group">
3224 <div class="prop-name">
3225 <div class="prop-title">sort</div>
228e84aa
C
3226 <div class="prop-subtitle"> in query </div>
3227 <div class="prop-subtitle">
3228 <span class="json-property-type">number</span>
3229 <span class="json-property-range" title="Value limits"></span>
3230 </div>
ab0ee6a1
C
3231 </div>
3232 <div class="prop-value">
3233 <p>sorting</p>
3234 </div>
3235 </div>
ab0ee6a1
C
3236 </section>
3237 </div>
5e1c08eb
C
3238 <div class="doc-examples"></div>
3239 </div>
3240 <div class="doc-row">
3241 <div class="doc-copy">
3242 <section class="swagger-responses">
3243 <div class="prop-row prop-group">
3244 <div class="prop-name">
3245 <div class="prop-title">200 OK</div>
3246 <div class="prop-ref">
3247 <span class="json-schema-ref-array">
3248 <a class="json-schema-ref" href="#/definitions/Video">Video</a>
3249 </span>
3250 </div>
3251 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
3252 </div>
3253 <div class="prop-value">
3254 <p>successful operation</p>
3255 </div>
3256 </div>
228e84aa
C
3257 <div class="prop-row prop-inner">
3258 <div class="prop-name">type</div>
3259 <div class="prop-value">
3260 <span class="json-property-type">
3261 <span class="json-schema-ref-array">
3262 <a class="json-schema-ref" href="#/definitions/Video">Video</a>
3263 </span>
3264 </span>
3265 <span class="json-property-range" title="Value limits"></span>
3266 </div>
3267 </div>
5e1c08eb
C
3268 </section>
3269 </div>
3270 <div class="doc-examples">
3271 <h5>Response Content-Types:
3272 <span>application/json</span>
3273 </h5>
3274 <section>
3275 <h5>Response Example
3276 <span>(200 OK)</span>
3277 </h5>
3278 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
3279 {
3280 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3281 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb 3282 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
61b66b36 3283 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb 3284 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5d00a3d7
C
3285 <span class="hljs-attr">&quot;category&quot;</span>: {
3286 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3287 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3288 },
3289 <span class="hljs-attr">&quot;licence&quot;</span>: {
3290 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3291 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3292 },
3293 <span class="hljs-attr">&quot;language&quot;</span>: {
48dce1c9 3294 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5d00a3d7
C
3295 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3296 },
61b66b36 3297 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb
C
3298 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3299 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3300 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
3301 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb
C
3302 <span class="hljs-attr">&quot;thumbnailPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3303 <span class="hljs-attr">&quot;previewPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3304 <span class="hljs-attr">&quot;embedPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3305 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3306 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3307 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
61b66b36
C
3308 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
3309 <span class="hljs-attr">&quot;account&quot;</span>: {
3310 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3311 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3312 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3313 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3314 <span class="hljs-attr">&quot;avatar&quot;</span>: {
3315 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3316 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3317 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3318 }
3319 }
5e1c08eb
C
3320 }
3321]
3322</code></pre>
3323 <!-- </div> -->
3324 </section>
3325 </div>
3326 </div>
3327 </div>
ab0ee6a1 3328 <div id="operation--videos--id--put" class="operation panel" data-traverse-target="operation--videos--id--put">
5e1c08eb
C
3329 <!-- <section class="operation-tags row"> -->
3330 <!-- <div class="doc-copy"> -->
3331 <div class="operation-tags">
3332 <a class="label" href="#tag-Video">Video</a>
3333 <!---->
3334 </div>
3335 <!-- </div> -->
3336 <!-- </section> -->
3337 <h2 class="operation-title">
3338 <span class="operation-name">
3339 <span class="operation-name">PUT</span>
ab0ee6a1 3340 <span class="operation-path">/videos/{id}</span>
5e1c08eb
C
3341 </span>
3342 </h2>
3343 <div class="doc-row">
3344 <div class="doc-copy">
3345 <section class="swagger-request-params">
3346 <div class="prop-row prop-group">
3347 <div class="prop-name">
3348 <div class="prop-title">id</div>
3349 <span class="json-property-required"></span>
228e84aa
C
3350 <div class="prop-subtitle"> in path </div>
3351 <div class="prop-subtitle">
3352 <span class="json-property-type">string</span>
3353 <span class="json-property-range" title="Value limits"></span>
3354 </div>
5e1c08eb
C
3355 </div>
3356 <div class="prop-value">
61b66b36 3357 <p>The video id</p>
5e1c08eb
C
3358 </div>
3359 </div>
5e1c08eb
C
3360 <div class="prop-row prop-group">
3361 <div class="prop-name">
61b66b36 3362 <div class="prop-title">thumbnailfile</div>
228e84aa
C
3363 <div class="prop-subtitle"> in formData </div>
3364 <div class="prop-subtitle">
3365 <span class="json-property-type">file</span>
3366 <span class="json-property-range" title="Value limits"></span>
3367 </div>
5e1c08eb
C
3368 </div>
3369 <div class="prop-value">
61b66b36 3370 <p>Video thumbnail file</p>
5e1c08eb
C
3371 </div>
3372 </div>
5e1c08eb
C
3373 <div class="prop-row prop-group">
3374 <div class="prop-name">
61b66b36 3375 <div class="prop-title">previewfile</div>
228e84aa
C
3376 <div class="prop-subtitle"> in formData </div>
3377 <div class="prop-subtitle">
3378 <span class="json-property-type">file</span>
3379 <span class="json-property-range" title="Value limits"></span>
3380 </div>
5e1c08eb
C
3381 </div>
3382 <div class="prop-value">
61b66b36 3383 <p>Video preview file</p>
5e1c08eb
C
3384 </div>
3385 </div>
5e1c08eb
C
3386 <div class="prop-row prop-group">
3387 <div class="prop-name">
61b66b36 3388 <div class="prop-title">category</div>
228e84aa
C
3389 <div class="prop-subtitle"> in formData </div>
3390 <div class="prop-subtitle">
3391 <span class="json-property-type">number</span>
3392 <span class="json-property-range" title="Value limits"></span>
3393 </div>
5e1c08eb
C
3394 </div>
3395 <div class="prop-value">
61b66b36 3396 <p>Video category</p>
5e1c08eb
C
3397 </div>
3398 </div>
5e1c08eb
C
3399 <div class="prop-row prop-group">
3400 <div class="prop-name">
61b66b36 3401 <div class="prop-title">licence</div>
228e84aa
C
3402 <div class="prop-subtitle"> in formData </div>
3403 <div class="prop-subtitle">
3404 <span class="json-property-type">number</span>
3405 <span class="json-property-range" title="Value limits"></span>
3406 </div>
5e1c08eb
C
3407 </div>
3408 <div class="prop-value">
61b66b36 3409 <p>Video licence</p>
5e1c08eb
C
3410 </div>
3411 </div>
61b66b36
C
3412 <div class="prop-row prop-group">
3413 <div class="prop-name">
3414 <div class="prop-title">language</div>
228e84aa
C
3415 <div class="prop-subtitle"> in formData </div>
3416 <div class="prop-subtitle">
48dce1c9 3417 <span class="json-property-type">string</span>
228e84aa
C
3418 <span class="json-property-range" title="Value limits"></span>
3419 </div>
61b66b36
C
3420 </div>
3421 <div class="prop-value">
3422 <p>Video language</p>
3423 </div>
3424 </div>
61b66b36
C
3425 <div class="prop-row prop-group">
3426 <div class="prop-name">
3427 <div class="prop-title">description</div>
228e84aa
C
3428 <div class="prop-subtitle"> in formData </div>
3429 <div class="prop-subtitle">
3430 <span class="json-property-type">string</span>
3431 <span class="json-property-range" title="Value limits"></span>
3432 </div>
61b66b36
C
3433 </div>
3434 <div class="prop-value">
3435 <p>Video description</p>
3436 </div>
3437 </div>
2186386c
C
3438 <div class="prop-row prop-group">
3439 <div class="prop-name">
3440 <div class="prop-title">waitTranscoding</div>
3441 <div class="prop-subtitle"> in formData </div>
3442 <div class="prop-subtitle">
3443 <span class="json-property-type">boolean</span>
3444 <span class="json-property-range" title="Value limits"></span>
3445 </div>
3446 </div>
3447 <div class="prop-value">
3448 <p>Whether or not we wait transcoding before publish the video</p>
3449 </div>
3450 </div>
61b66b36
C
3451 <div class="prop-row prop-group">
3452 <div class="prop-name">
3453 <div class="prop-title">support</div>
228e84aa
C
3454 <div class="prop-subtitle"> in formData </div>
3455 <div class="prop-subtitle">
3456 <span class="json-property-type">string</span>
3457 <span class="json-property-range" title="Value limits"></span>
3458 </div>
61b66b36
C
3459 </div>
3460 <div class="prop-value">
3461 <p>Text describing how to support the video uploader</p>
3462 </div>
3463 </div>
61b66b36
C
3464 <div class="prop-row prop-group">
3465 <div class="prop-name">
3466 <div class="prop-title">nsfw</div>
228e84aa
C
3467 <div class="prop-subtitle"> in formData </div>
3468 <div class="prop-subtitle">
3469 <span class="json-property-type">boolean</span>
3470 <span class="json-property-range" title="Value limits"></span>
3471 </div>
61b66b36
C
3472 </div>
3473 <div class="prop-value">
3474 <p>Whether or not this video contains sensitive content</p>
3475 </div>
3476 </div>
61b66b36
C
3477 <div class="prop-row prop-group">
3478 <div class="prop-name">
3479 <div class="prop-title">name</div>
228e84aa
C
3480 <div class="prop-subtitle"> in formData </div>
3481 <div class="prop-subtitle">
3482 <span class="json-property-type">string</span>
3483 <span class="json-property-range" title="Value limits"></span>
3484 </div>
61b66b36
C
3485 </div>
3486 <div class="prop-value">
3487 <p>Video name</p>
3488 </div>
3489 </div>
61b66b36
C
3490 <div class="prop-row prop-group">
3491 <div class="prop-name">
3492 <div class="prop-title">tags</div>
228e84aa
C
3493 <div class="prop-subtitle"> in formData </div>
3494 <div class="prop-subtitle">
3495 <span class="json-property-type">string[]</span>
3496 <span class="json-property-range" title="Value limits"></span>
3497 </div>
61b66b36
C
3498 </div>
3499 <div class="prop-value">
3500 <p>Video tags</p>
3501 </div>
3502 </div>
61b66b36
C
3503 <div class="prop-row prop-group">
3504 <div class="prop-name">
3505 <div class="prop-title">commentsEnabled</div>
228e84aa
C
3506 <div class="prop-subtitle"> in formData </div>
3507 <div class="prop-subtitle">
3508 <span class="json-property-type">boolean</span>
3509 <span class="json-property-range" title="Value limits"></span>
3510 </div>
61b66b36
C
3511 </div>
3512 <div class="prop-value">
3513 <p>Enable or disable comments for this video</p>
3514 </div>
3515 </div>
61b66b36
C
3516 <div class="prop-row prop-group">
3517 <div class="prop-name">
3518 <div class="prop-title">privacy</div>
228e84aa
C
3519 <div class="prop-subtitle"> in formData </div>
3520 <div class="prop-subtitle">
3521 <span class="json-property-type">string</span>
3522 <span class="json-property-enum" title="Possible values">
3523 <span class="json-property-enum-item">Public</span>,
3524 <span class="json-property-enum-item">Unlisted</span>
3525 </span>
3526 <span class="json-property-range" title="Value limits"></span>
3527 </div>
61b66b36
C
3528 </div>
3529 <div class="prop-value">
3530 <p>Video privacy</p>
3531 </div>
3532 </div>
61b66b36
C
3533 </section>
3534 </div>
3535 <div class="doc-examples"></div>
3536 </div>
3537 <div class="doc-row">
3538 <div class="doc-copy">
3539 <section class="swagger-responses">
3540 <div class="prop-row prop-group">
3541 <div class="prop-name">
3542 <div class="prop-title">200 OK</div>
3543 <div class="prop-ref">
3544 <span class="">
3545 <a class="json-schema-ref" href="#/definitions/Video">Video</a>
3546 </span>
3547 </div>
3548 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
3549 </div>
3550 <div class="prop-value">
3551 <p>successful operation</p>
3552 </div>
3553 </div>
3554 </section>
3555 </div>
3556 <div class="doc-examples">
3557 <h5>Response Content-Types:
3558 <span>application/json</span>
3559 </h5>
3560 <section>
3561 <h5>Response Example
3562 <span>(200 OK)</span>
3563 </h5>
3564 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
3565 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3566 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3567 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3568 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3569 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3570 <span class="hljs-attr">&quot;category&quot;</span>: {
3571 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3572 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3573 },
3574 <span class="hljs-attr">&quot;licence&quot;</span>: {
3575 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3576 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3577 },
3578 <span class="hljs-attr">&quot;language&quot;</span>: {
48dce1c9 3579 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
61b66b36
C
3580 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3581 },
3582 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3583 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3584 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3585 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
3586 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3587 <span class="hljs-attr">&quot;thumbnailPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3588 <span class="hljs-attr">&quot;previewPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3589 <span class="hljs-attr">&quot;embedPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3590 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3591 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3592 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3593 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
3594 <span class="hljs-attr">&quot;account&quot;</span>: {
3595 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3596 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3597 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3598 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3599 <span class="hljs-attr">&quot;avatar&quot;</span>: {
3600 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3601 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3602 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3603 }
3604 }
3605}
3606</code></pre>
3607 <!-- </div> -->
3608 </section>
3609 </div>
3610 </div>
94ff4c23
C
3611 <div class="doc-row">
3612 <div class="doc-copy">
3613 <section class="swagger-request-security">
3614 <table class="table">
3615 <thead>
3616 <tr>
3617 <th class="swagger-request-security-schema"></th>
3618 <th class="swagger-request-security-scopes"></th>
3619 </tr>
3620 </thead>
3621 <tbody>
3622 <tr>
3623 <td>
3624 <a href="#security-definition-OAuth2">OAuth2</a>
3625 </td>
3626 <td> </td>
3627 </tr>
3628 </tbody>
3629 </table>
3630 </section>
3631 </div>
3632 </div>
61b66b36
C
3633 </div>
3634 <div id="operation--videos--id--get" class="operation panel" data-traverse-target="operation--videos--id--get">
3635 <!-- <section class="operation-tags row"> -->
3636 <!-- <div class="doc-copy"> -->
3637 <div class="operation-tags">
3638 <a class="label" href="#tag-Video">Video</a>
3639 <!---->
3640 </div>
3641 <!-- </div> -->
3642 <!-- </section> -->
3643 <h2 class="operation-title">
3644 <span class="operation-name">
3645 <span class="operation-name">GET</span>
3646 <span class="operation-path">/videos/{id}</span>
3647 </span>
3648 </h2>
3649 <div class="doc-row">
3650 <div class="doc-copy">
3651 <section class="swagger-request-params">
3652 <div class="prop-row prop-group">
3653 <div class="prop-name">
3654 <div class="prop-title">id</div>
3655 <span class="json-property-required"></span>
228e84aa
C
3656 <div class="prop-subtitle"> in path </div>
3657 <div class="prop-subtitle">
3658 <span class="json-property-type">string</span>
3659 <span class="json-property-range" title="Value limits"></span>
3660 </div>
61b66b36
C
3661 </div>
3662 <div class="prop-value">
3663 <p>The video id </p>
3664 </div>
3665 </div>
61b66b36
C
3666 </section>
3667 </div>
3668 <div class="doc-examples"></div>
3669 </div>
3670 <div class="doc-row">
3671 <div class="doc-copy">
3672 <section class="swagger-responses">
3673 <div class="prop-row prop-group">
3674 <div class="prop-name">
3675 <div class="prop-title">200 OK</div>
3676 <div class="prop-ref">
3677 <span class="">
3678 <a class="json-schema-ref" href="#/definitions/Video">Video</a>
3679 </span>
3680 </div>
3681 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
3682 </div>
3683 <div class="prop-value">
3684 <p>successful operation</p>
3685 </div>
3686 </div>
3687 </section>
3688 </div>
3689 <div class="doc-examples">
3690 <h5>Response Content-Types:
3691 <span>application/json</span>
3692 </h5>
3693 <section>
3694 <h5>Response Example
3695 <span>(200 OK)</span>
3696 </h5>
3697 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
3698 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3699 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3700 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3701 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3702 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3703 <span class="hljs-attr">&quot;category&quot;</span>: {
3704 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3705 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3706 },
3707 <span class="hljs-attr">&quot;licence&quot;</span>: {
3708 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3709 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3710 },
3711 <span class="hljs-attr">&quot;language&quot;</span>: {
48dce1c9 3712 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
61b66b36
C
3713 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3714 },
3715 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3716 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3717 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3718 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
3719 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3720 <span class="hljs-attr">&quot;thumbnailPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3721 <span class="hljs-attr">&quot;previewPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3722 <span class="hljs-attr">&quot;embedPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3723 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3724 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3725 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
3726 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
3727 <span class="hljs-attr">&quot;account&quot;</span>: {
3728 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3729 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3730 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3731 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3732 <span class="hljs-attr">&quot;avatar&quot;</span>: {
3733 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3734 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
3735 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
3736 }
3737 }
3738}
3739</code></pre>
3740 <!-- </div> -->
3741 </section>
3742 </div>
3743 </div>
3744 </div>
3745 <div id="operation--videos--id--delete" class="operation panel" data-traverse-target="operation--videos--id--delete">
3746 <!-- <section class="operation-tags row"> -->
3747 <!-- <div class="doc-copy"> -->
3748 <div class="operation-tags">
3749 <a class="label" href="#tag-Video">Video</a>
3750 <!---->
3751 </div>
3752 <!-- </div> -->
3753 <!-- </section> -->
3754 <h2 class="operation-title">
3755 <span class="operation-name">
3756 <span class="operation-name">DELETE</span>
3757 <span class="operation-path">/videos/{id}</span>
3758 </span>
3759 </h2>
3760 <div class="doc-row">
3761 <div class="doc-copy">
3762 <section class="swagger-request-params">
3763 <div class="prop-row prop-group">
3764 <div class="prop-name">
3765 <div class="prop-title">id</div>
3766 <span class="json-property-required"></span>
228e84aa
C
3767 <div class="prop-subtitle"> in path </div>
3768 <div class="prop-subtitle">
3769 <span class="json-property-type">string</span>
3770 <span class="json-property-range" title="Value limits"></span>
3771 </div>
61b66b36
C
3772 </div>
3773 <div class="prop-value">
3774 <p>The video id </p>
3775 </div>
3776 </div>
61b66b36
C
3777 </section>
3778 </div>
3779 <div class="doc-examples"></div>
3780 </div>
3781 <div class="doc-row">
3782 <div class="doc-copy">
3783 <section class="swagger-responses">
3784 <div class="prop-row prop-group">
3785 <div class="prop-name">
3786 <div class="prop-title">204 No Content</div>
3787 </div>
3788 <div class="prop-value">
3789 <p>successful operation</p>
3790 </div>
3791 </div>
3792 </section>
3793 </div>
3794 <div class="doc-examples">
3795 <h5>Response Content-Types:
3796 <span>application/json</span>
3797 </h5>
3798 </div>
3799 </div>
94ff4c23
C
3800 <div class="doc-row">
3801 <div class="doc-copy">
3802 <section class="swagger-request-security">
3803 <table class="table">
3804 <thead>
3805 <tr>
3806 <th class="swagger-request-security-schema"></th>
3807 <th class="swagger-request-security-scopes"></th>
3808 </tr>
3809 </thead>
3810 <tbody>
3811 <tr>
3812 <td>
3813 <a href="#security-definition-OAuth2">OAuth2</a>
3814 </td>
3815 <td> </td>
3816 </tr>
3817 </tbody>
3818 </table>
3819 </section>
3820 </div>
3821 </div>
61b66b36
C
3822 </div>
3823 <div id="operation--videos--id--description-get" class="operation panel" data-traverse-target="operation--videos--id--description-get">
3824 <!-- <section class="operation-tags row"> -->
3825 <!-- <div class="doc-copy"> -->
3826 <div class="operation-tags">
3827 <a class="label" href="#tag-Video">Video</a>
3828 <!---->
3829 </div>
3830 <!-- </div> -->
3831 <!-- </section> -->
3832 <h2 class="operation-title">
3833 <span class="operation-name">
3834 <span class="operation-name">GET</span>
3835 <span class="operation-path">/videos/{id}/description</span>
3836 </span>
3837 </h2>
3838 <div class="doc-row">
3839 <div class="doc-copy">
3840 <section class="swagger-request-params">
3841 <div class="prop-row prop-group">
3842 <div class="prop-name">
3843 <div class="prop-title">id</div>
3844 <span class="json-property-required"></span>
228e84aa
C
3845 <div class="prop-subtitle"> in path </div>
3846 <div class="prop-subtitle">
3847 <span class="json-property-type">string</span>
3848 <span class="json-property-range" title="Value limits"></span>
3849 </div>
61b66b36
C
3850 </div>
3851 <div class="prop-value">
3852 <p>The video id </p>
3853 </div>
3854 </div>
61b66b36
C
3855 </section>
3856 </div>
3857 <div class="doc-examples"></div>
3858 </div>
3859 <div class="doc-row">
3860 <div class="doc-copy">
3861 <section class="swagger-responses">
3862 <div class="prop-row prop-group">
3863 <div class="prop-name">
3864 <div class="prop-title">200 OK</div>
3865 <div class="prop-ref"></div>
3866 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
3867 </div>
3868 <div class="prop-value">
3869 <p>successful operation</p>
3870 </div>
3871 </div>
228e84aa
C
3872 <div class="prop-row prop-inner">
3873 <div class="prop-name">type</div>
3874 <div class="prop-value">
3875 <span class="json-property-type">string</span>
3876 <span class="json-property-range" title="Value limits"></span>
3877 </div>
3878 </div>
61b66b36
C
3879 </section>
3880 </div>
3881 <div class="doc-examples">
3882 <h5>Response Content-Types:
3883 <span>application/json</span>
3884 </h5>
3885 <section>
3886 <h5>Response Example
3887 <span>(200 OK)</span>
3888 </h5>
3889 <!-- <div class="hljs"> --><pre><code class="hljs lang-json"><span class="hljs-string">&quot;string&quot;</span>
3890</code></pre>
3891 <!-- </div> -->
3892 </section>
3893 </div>
3894 </div>
3895 </div>
3896 <div id="operation--videos--id--views-post" class="operation panel" data-traverse-target="operation--videos--id--views-post">
3897 <!-- <section class="operation-tags row"> -->
3898 <!-- <div class="doc-copy"> -->
3899 <div class="operation-tags">
3900 <a class="label" href="#tag-Video">Video</a>
3901 <!---->
3902 </div>
3903 <!-- </div> -->
3904 <!-- </section> -->
3905 <h2 class="operation-title">
3906 <span class="operation-name">
3907 <span class="operation-name">POST</span>
3908 <span class="operation-path">/videos/{id}/views</span>
3909 </span>
3910 </h2>
3911 <div class="doc-row">
3912 <div class="doc-copy">
3913 <section class="swagger-request-params">
3914 <div class="prop-row prop-group">
3915 <div class="prop-name">
3916 <div class="prop-title">id</div>
3917 <span class="json-property-required"></span>
228e84aa
C
3918 <div class="prop-subtitle"> in path </div>
3919 <div class="prop-subtitle">
3920 <span class="json-property-type">string</span>
3921 <span class="json-property-range" title="Value limits"></span>
3922 </div>
61b66b36
C
3923 </div>
3924 <div class="prop-value">
3925 <p>The video id </p>
3926 </div>
3927 </div>
5e1c08eb
C
3928 </section>
3929 </div>
3930 <div class="doc-examples"></div>
3931 </div>
3932 <div class="doc-row">
3933 <div class="doc-copy">
3934 <section class="swagger-responses">
3935 <div class="prop-row prop-group">
3936 <div class="prop-name">
3937 <div class="prop-title">204 No Content</div>
3938 </div>
3939 <div class="prop-value">
3940 <p>successful operation</p>
3941 </div>
3942 </div>
3943 </section>
3944 </div>
3945 <div class="doc-examples">
3946 <h5>Response Content-Types:
3947 <span>application/json</span>
3948 </h5>
3949 </div>
3950 </div>
3951 </div>
61b66b36 3952 <div id="operation--videos-upload-post" class="operation panel" data-traverse-target="operation--videos-upload-post">
5e1c08eb
C
3953 <!-- <section class="operation-tags row"> -->
3954 <!-- <div class="doc-copy"> -->
3955 <div class="operation-tags">
3956 <a class="label" href="#tag-Video">Video</a>
3957 <!---->
3958 </div>
3959 <!-- </div> -->
3960 <!-- </section> -->
3961 <h2 class="operation-title">
3962 <span class="operation-name">
61b66b36
C
3963 <span class="operation-name">POST</span>
3964 <span class="operation-path">/videos/upload</span>
5e1c08eb
C
3965 </span>
3966 </h2>
3967 <div class="doc-row">
3968 <div class="doc-copy">
3969 <section class="swagger-request-params">
3970 <div class="prop-row prop-group">
3971 <div class="prop-name">
61b66b36
C
3972 <div class="prop-title">videofile</div>
3973 <span class="json-property-required"></span>
228e84aa
C
3974 <div class="prop-subtitle"> in formData </div>
3975 <div class="prop-subtitle">
3976 <span class="json-property-type">file</span>
3977 <span class="json-property-range" title="Value limits"></span>
3978 </div>
61b66b36
C
3979 </div>
3980 <div class="prop-value">
3981 <p>Video file</p>
3982 </div>
3983 </div>
61b66b36
C
3984 <div class="prop-row prop-group">
3985 <div class="prop-name">
3986 <div class="prop-title">thumbnailfile</div>
3987 <span class="json-property-required"></span>
228e84aa
C
3988 <div class="prop-subtitle"> in formData </div>
3989 <div class="prop-subtitle">
3990 <span class="json-property-type">file</span>
3991 <span class="json-property-range" title="Value limits"></span>
3992 </div>
61b66b36
C
3993 </div>
3994 <div class="prop-value">
3995 <p>Video thumbnail file</p>
3996 </div>
3997 </div>
61b66b36
C
3998 <div class="prop-row prop-group">
3999 <div class="prop-name">
4000 <div class="prop-title">previewfile</div>
4001 <span class="json-property-required"></span>
228e84aa
C
4002 <div class="prop-subtitle"> in formData </div>
4003 <div class="prop-subtitle">
4004 <span class="json-property-type">file</span>
4005 <span class="json-property-range" title="Value limits"></span>
4006 </div>
61b66b36
C
4007 </div>
4008 <div class="prop-value">
4009 <p>Video preview file</p>
4010 </div>
4011 </div>
61b66b36
C
4012 <div class="prop-row prop-group">
4013 <div class="prop-name">
4014 <div class="prop-title">category</div>
228e84aa
C
4015 <div class="prop-subtitle"> in formData </div>
4016 <div class="prop-subtitle">
4017 <span class="json-property-type">number</span>
4018 <span class="json-property-range" title="Value limits"></span>
4019 </div>
61b66b36
C
4020 </div>
4021 <div class="prop-value">
4022 <p>Video category</p>
4023 </div>
4024 </div>
2186386c
C
4025 <div class="prop-row prop-group">
4026 <div class="prop-name">
4027 <div class="prop-title">waitTranscoding</div>
4028 <div class="prop-subtitle"> in formData </div>
4029 <div class="prop-subtitle">
4030 <span class="json-property-type">boolean</span>
4031 <span class="json-property-range" title="Value limits"></span>
4032 </div>
4033 </div>
4034 <div class="prop-value">
4035 <p>Whether or not we wait transcoding before publish the video</p>
4036 </div>
4037 </div>
61b66b36
C
4038 <div class="prop-row prop-group">
4039 <div class="prop-name">
4040 <div class="prop-title">licence</div>
228e84aa
C
4041 <div class="prop-subtitle"> in formData </div>
4042 <div class="prop-subtitle">
4043 <span class="json-property-type">number</span>
4044 <span class="json-property-range" title="Value limits"></span>
4045 </div>
61b66b36
C
4046 </div>
4047 <div class="prop-value">
4048 <p>Video licence</p>
4049 </div>
4050 </div>
61b66b36
C
4051 <div class="prop-row prop-group">
4052 <div class="prop-name">
4053 <div class="prop-title">language</div>
228e84aa
C
4054 <div class="prop-subtitle"> in formData </div>
4055 <div class="prop-subtitle">
48dce1c9 4056 <span class="json-property-type">string</span>
228e84aa
C
4057 <span class="json-property-range" title="Value limits"></span>
4058 </div>
61b66b36
C
4059 </div>
4060 <div class="prop-value">
4061 <p>Video language</p>
4062 </div>
4063 </div>
61b66b36
C
4064 <div class="prop-row prop-group">
4065 <div class="prop-name">
4066 <div class="prop-title">description</div>
228e84aa
C
4067 <div class="prop-subtitle"> in formData </div>
4068 <div class="prop-subtitle">
4069 <span class="json-property-type">string</span>
4070 <span class="json-property-range" title="Value limits"></span>
4071 </div>
61b66b36
C
4072 </div>
4073 <div class="prop-value">
4074 <p>Video description</p>
4075 </div>
4076 </div>
61b66b36
C
4077 <div class="prop-row prop-group">
4078 <div class="prop-name">
4079 <div class="prop-title">support</div>
228e84aa
C
4080 <div class="prop-subtitle"> in formData </div>
4081 <div class="prop-subtitle">
4082 <span class="json-property-type">string</span>
4083 <span class="json-property-range" title="Value limits"></span>
4084 </div>
61b66b36
C
4085 </div>
4086 <div class="prop-value">
4087 <p>Text describing how to support the video uploader</p>
4088 </div>
4089 </div>
61b66b36
C
4090 <div class="prop-row prop-group">
4091 <div class="prop-name">
4092 <div class="prop-title">channelId</div>
5e1c08eb 4093 <span class="json-property-required"></span>
228e84aa
C
4094 <div class="prop-subtitle"> in formData </div>
4095 <div class="prop-subtitle">
4096 <span class="json-property-type">number</span>
4097 <span class="json-property-range" title="Value limits"></span>
4098 </div>
5e1c08eb
C
4099 </div>
4100 <div class="prop-value">
61b66b36 4101 <p>Channel id that will contain this video</p>
5e1c08eb
C
4102 </div>
4103 </div>
5e1c08eb
C
4104 <div class="prop-row prop-group">
4105 <div class="prop-name">
61b66b36
C
4106 <div class="prop-title">nsfw</div>
4107 <span class="json-property-required"></span>
228e84aa
C
4108 <div class="prop-subtitle"> in formData </div>
4109 <div class="prop-subtitle">
4110 <span class="json-property-type">boolean</span>
4111 <span class="json-property-range" title="Value limits"></span>
4112 </div>
5e1c08eb
C
4113 </div>
4114 <div class="prop-value">
61b66b36 4115 <p>Whether or not this video contains sensitive content</p>
5e1c08eb
C
4116 </div>
4117 </div>
5e1c08eb
C
4118 <div class="prop-row prop-group">
4119 <div class="prop-name">
61b66b36 4120 <div class="prop-title">name</div>
5e1c08eb 4121 <span class="json-property-required"></span>
228e84aa
C
4122 <div class="prop-subtitle"> in formData </div>
4123 <div class="prop-subtitle">
4124 <span class="json-property-type">string</span>
4125 <span class="json-property-range" title="Value limits"></span>
4126 </div>
5e1c08eb
C
4127 </div>
4128 <div class="prop-value">
61b66b36 4129 <p>Video name</p>
5e1c08eb
C
4130 </div>
4131 </div>
5e1c08eb
C
4132 <div class="prop-row prop-group">
4133 <div class="prop-name">
61b66b36 4134 <div class="prop-title">tags</div>
228e84aa
C
4135 <div class="prop-subtitle"> in formData </div>
4136 <div class="prop-subtitle">
4137 <span class="json-property-type">string[]</span>
4138 <span class="json-property-range" title="Value limits"></span>
4139 </div>
5e1c08eb
C
4140 </div>
4141 <div class="prop-value">
61b66b36 4142 <p>Video tags</p>
5e1c08eb
C
4143 </div>
4144 </div>
5e1c08eb
C
4145 <div class="prop-row prop-group">
4146 <div class="prop-name">
61b66b36 4147 <div class="prop-title">commentsEnabled</div>
228e84aa
C
4148 <div class="prop-subtitle"> in formData </div>
4149 <div class="prop-subtitle">
4150 <span class="json-property-type">boolean</span>
4151 <span class="json-property-range" title="Value limits"></span>
4152 </div>
5e1c08eb
C
4153 </div>
4154 <div class="prop-value">
61b66b36 4155 <p>Enable or disable comments for this video</p>
5e1c08eb
C
4156 </div>
4157 </div>
61b66b36
C
4158 <div class="prop-row prop-group">
4159 <div class="prop-name">
4160 <div class="prop-title">privacy</div>
4161 <span class="json-property-required"></span>
228e84aa
C
4162 <div class="prop-subtitle"> in formData </div>
4163 <div class="prop-subtitle">
4164 <span class="json-property-type">string</span>
4165 <span class="json-property-enum" title="Possible values">
4166 <span class="json-property-enum-item">Public</span>,
4167 <span class="json-property-enum-item">Unlisted</span>,
4168 <span class="json-property-enum-item">Private</span>
4169 </span>
4170 <span class="json-property-range" title="Value limits"></span>
4171 </div>
61b66b36
C
4172 </div>
4173 <div class="prop-value">
4174 <p>Video privacy</p>
4175 </div>
4176 </div>
5e1c08eb
C
4177 </section>
4178 </div>
4179 <div class="doc-examples"></div>
4180 </div>
4181 <div class="doc-row">
4182 <div class="doc-copy">
4183 <section class="swagger-responses">
4184 <div class="prop-row prop-group">
4185 <div class="prop-name">
4186 <div class="prop-title">200 OK</div>
4187 <div class="prop-ref">
4188 <span class="">
4189 <a class="json-schema-ref" href="#/definitions/VideoUploadResponse">VideoUploadResponse</a>
4190 </span>
4191 </div>
4192 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
4193 </div>
4194 <div class="prop-value">
4195 <p>successful operation</p>
4196 </div>
4197 </div>
4198 </section>
4199 </div>
4200 <div class="doc-examples">
4201 <h5>Response Content-Types:
4202 <span>application/json</span>
4203 </h5>
4204 <section>
4205 <h5>Response Example
4206 <span>(200 OK)</span>
4207 </h5>
4208 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
61b66b36
C
4209 <span class="hljs-attr">&quot;video&quot;</span>: {
4210 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4211 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
4212 }
5e1c08eb
C
4213}
4214</code></pre>
4215 <!-- </div> -->
4216 </section>
4217 </div>
4218 </div>
94ff4c23
C
4219 <div class="doc-row">
4220 <div class="doc-copy">
4221 <section class="swagger-request-security">
4222 <table class="table">
4223 <thead>
4224 <tr>
4225 <th class="swagger-request-security-schema"></th>
4226 <th class="swagger-request-security-scopes"></th>
4227 </tr>
4228 </thead>
4229 <tbody>
4230 <tr>
4231 <td>
4232 <a href="#security-definition-OAuth2">OAuth2</a>
4233 </td>
4234 <td> </td>
4235 </tr>
4236 </tbody>
4237 </table>
4238 </section>
4239 </div>
4240 </div>
5e1c08eb
C
4241 </div>
4242 <h1 id="tag-VideoAbuse" class="swagger-summary-tag" data-traverse-target="tag-VideoAbuse">VideoAbuse</h1>
ab0ee6a1 4243 <div id="operation--videos-abuse-get" class="operation panel" data-traverse-target="operation--videos-abuse-get">
5e1c08eb
C
4244 <!-- <section class="operation-tags row"> -->
4245 <!-- <div class="doc-copy"> -->
4246 <div class="operation-tags">
4247 <a class="label" href="#tag-VideoAbuse">VideoAbuse</a>
4248 <!---->
4249 </div>
4250 <!-- </div> -->
4251 <!-- </section> -->
4252 <h2 class="operation-title">
4253 <span class="operation-name">
4254 <span class="operation-name">GET</span>
ab0ee6a1 4255 <span class="operation-path">/videos/abuse</span>
5e1c08eb
C
4256 </span>
4257 </h2>
4258 <div class="doc-row">
ab0ee6a1
C
4259 <div class="doc-copy">
4260 <section class="swagger-request-params">
4261 <div class="prop-row prop-group">
4262 <div class="prop-name">
4263 <div class="prop-title">start</div>
228e84aa
C
4264 <div class="prop-subtitle"> in query </div>
4265 <div class="prop-subtitle">
4266 <span class="json-property-type">number</span>
4267 <span class="json-property-range" title="Value limits"></span>
4268 </div>
ab0ee6a1
C
4269 </div>
4270 <div class="prop-value">
4271 <p>starting page</p>
4272 </div>
4273 </div>
ab0ee6a1
C
4274 <div class="prop-row prop-group">
4275 <div class="prop-name">
4276 <div class="prop-title">stop</div>
228e84aa
C
4277 <div class="prop-subtitle"> in query </div>
4278 <div class="prop-subtitle">
4279 <span class="json-property-type">number</span>
4280 <span class="json-property-range" title="Value limits"></span>
4281 </div>
ab0ee6a1
C
4282 </div>
4283 <div class="prop-value">
f209b32a 4284 <p>stopping page</p>
ab0ee6a1
C
4285 </div>
4286 </div>
ab0ee6a1
C
4287 <div class="prop-row prop-group">
4288 <div class="prop-name">
4289 <div class="prop-title">sort</div>
228e84aa
C
4290 <div class="prop-subtitle"> in query </div>
4291 <div class="prop-subtitle">
4292 <span class="json-property-type">number</span>
4293 <span class="json-property-range" title="Value limits"></span>
4294 </div>
ab0ee6a1
C
4295 </div>
4296 <div class="prop-value">
4297 <p>sorting</p>
4298 </div>
4299 </div>
ab0ee6a1
C
4300 </section>
4301 </div>
5e1c08eb
C
4302 <div class="doc-examples"></div>
4303 </div>
4304 <div class="doc-row">
4305 <div class="doc-copy">
4306 <section class="swagger-responses">
4307 <div class="prop-row prop-group">
4308 <div class="prop-name">
4309 <div class="prop-title">200 OK</div>
4310 <div class="prop-ref">
4311 <span class="json-schema-ref-array">
4312 <a class="json-schema-ref" href="#/definitions/VideoAbuse">VideoAbuse</a>
4313 </span>
4314 </div>
4315 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
4316 </div>
4317 <div class="prop-value">
4318 <p>successful operation</p>
4319 </div>
4320 </div>
228e84aa
C
4321 <div class="prop-row prop-inner">
4322 <div class="prop-name">type</div>
4323 <div class="prop-value">
4324 <span class="json-property-type">
4325 <span class="json-schema-ref-array">
4326 <a class="json-schema-ref" href="#/definitions/VideoAbuse">VideoAbuse</a>
4327 </span>
4328 </span>
4329 <span class="json-property-range" title="Value limits"></span>
4330 </div>
4331 </div>
5e1c08eb
C
4332 </section>
4333 </div>
4334 <div class="doc-examples">
4335 <h5>Response Content-Types:
4336 <span>application/json</span>
4337 </h5>
4338 <section>
4339 <h5>Response Example
4340 <span>(200 OK)</span>
4341 </h5>
4342 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
4343 {
4344 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4345 <span class="hljs-attr">&quot;reason&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5d00a3d7
C
4346 <span class="hljs-attr">&quot;reporterAccount&quot;</span>: {
4347 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4348 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4349 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4350 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4351 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4352 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4353 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4354 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4355 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4356 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4357 <span class="hljs-attr">&quot;avatar&quot;</span>: {
4358 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4359 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4360 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
4361 }
4362 },
61b66b36
C
4363 <span class="hljs-attr">&quot;video&quot;</span>: {
4364 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4365 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4366 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4367 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
4368 },
5e1c08eb
C
4369 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
4370 }
4371]
4372</code></pre>
4373 <!-- </div> -->
4374 </section>
4375 </div>
4376 </div>
94ff4c23
C
4377 <div class="doc-row">
4378 <div class="doc-copy">
4379 <section class="swagger-request-security">
4380 <table class="table">
4381 <thead>
4382 <tr>
4383 <th class="swagger-request-security-schema"></th>
4384 <th class="swagger-request-security-scopes"></th>
4385 </tr>
4386 </thead>
4387 <tbody>
4388 <tr>
4389 <td>
4390 <a href="#security-definition-OAuth2">OAuth2</a>
4391 </td>
4392 <td> </td>
4393 </tr>
4394 </tbody>
4395 </table>
4396 </section>
4397 </div>
4398 </div>
5e1c08eb 4399 </div>
ab0ee6a1 4400 <div id="operation--videos--id--abuse-post" class="operation panel" data-traverse-target="operation--videos--id--abuse-post">
5e1c08eb
C
4401 <!-- <section class="operation-tags row"> -->
4402 <!-- <div class="doc-copy"> -->
4403 <div class="operation-tags">
4404 <a class="label" href="#tag-VideoAbuse">VideoAbuse</a>
4405 <!---->
4406 </div>
4407 <!-- </div> -->
4408 <!-- </section> -->
4409 <h2 class="operation-title">
4410 <span class="operation-name">
4411 <span class="operation-name">POST</span>
ab0ee6a1 4412 <span class="operation-path">/videos/{id}/abuse</span>
5e1c08eb
C
4413 </span>
4414 </h2>
4415 <div class="doc-row">
4416 <div class="doc-copy">
4417 <section class="swagger-request-params">
4418 <div class="prop-row prop-group">
4419 <div class="prop-name">
4420 <div class="prop-title">id</div>
4421 <span class="json-property-required"></span>
228e84aa
C
4422 <div class="prop-subtitle"> in path </div>
4423 <div class="prop-subtitle">
4424 <span class="json-property-type">string</span>
4425 <span class="json-property-range" title="Value limits"></span>
4426 </div>
5e1c08eb
C
4427 </div>
4428 <div class="prop-value">
4429 <p>The video id </p>
4430 </div>
4431 </div>
5e1c08eb
C
4432 </section>
4433 </div>
4434 <div class="doc-examples"></div>
4435 </div>
4436 <div class="doc-row">
4437 <div class="doc-copy">
4438 <section class="swagger-responses">
4439 <div class="prop-row prop-group">
4440 <div class="prop-name">
4441 <div class="prop-title">204 No Content</div>
4442 </div>
4443 <div class="prop-value">
4444 <p>successful operation</p>
4445 </div>
4446 </div>
4447 </section>
4448 </div>
4449 <div class="doc-examples">
4450 <h5>Response Content-Types:
4451 <span>application/json</span>
4452 </h5>
4453 </div>
4454 </div>
94ff4c23
C
4455 <div class="doc-row">
4456 <div class="doc-copy">
4457 <section class="swagger-request-security">
4458 <table class="table">
4459 <thead>
4460 <tr>
4461 <th class="swagger-request-security-schema"></th>
4462 <th class="swagger-request-security-scopes"></th>
4463 </tr>
4464 </thead>
4465 <tbody>
4466 <tr>
4467 <td>
4468 <a href="#security-definition-OAuth2">OAuth2</a>
4469 </td>
4470 <td> </td>
4471 </tr>
4472 </tbody>
4473 </table>
4474 </section>
4475 </div>
4476 </div>
5e1c08eb
C
4477 </div>
4478 <h1 id="tag-VideoBlacklist" class="swagger-summary-tag" data-traverse-target="tag-VideoBlacklist">VideoBlacklist</h1>
ab0ee6a1 4479 <div id="operation--videos--videoId--blacklist-post" class="operation panel" data-traverse-target="operation--videos--videoId--blacklist-post">
5e1c08eb
C
4480 <!-- <section class="operation-tags row"> -->
4481 <!-- <div class="doc-copy"> -->
4482 <div class="operation-tags">
4483 <a class="label" href="#tag-VideoBlacklist">VideoBlacklist</a>
4484 <!---->
4485 </div>
4486 <!-- </div> -->
4487 <!-- </section> -->
4488 <h2 class="operation-title">
4489 <span class="operation-name">
4490 <span class="operation-name">POST</span>
ab0ee6a1 4491 <span class="operation-path">/videos/{videoId}/blacklist</span>
5e1c08eb
C
4492 </span>
4493 </h2>
4494 <div class="doc-row">
4495 <div class="doc-copy">
4496 <section class="swagger-request-params">
4497 <div class="prop-row prop-group">
4498 <div class="prop-name">
4499 <div class="prop-title">videoId</div>
4500 <span class="json-property-required"></span>
228e84aa
C
4501 <div class="prop-subtitle"> in path </div>
4502 <div class="prop-subtitle">
4503 <span class="json-property-type">string</span>
4504 <span class="json-property-range" title="Value limits"></span>
4505 </div>
5e1c08eb
C
4506 </div>
4507 <div class="prop-value">
4508 <p>The video id </p>
4509 </div>
4510 </div>
5e1c08eb
C
4511 </section>
4512 </div>
4513 <div class="doc-examples"></div>
4514 </div>
4515 <div class="doc-row">
4516 <div class="doc-copy">
4517 <section class="swagger-responses">
4518 <div class="prop-row prop-group">
4519 <div class="prop-name">
4520 <div class="prop-title">204 No Content</div>
4521 </div>
4522 <div class="prop-value">
4523 <p>successful operation</p>
4524 </div>
4525 </div>
4526 </section>
4527 </div>
4528 <div class="doc-examples">
4529 <h5>Response Content-Types:
4530 <span>application/json</span>
4531 </h5>
4532 </div>
4533 </div>
94ff4c23
C
4534 <div class="doc-row">
4535 <div class="doc-copy">
4536 <section class="swagger-request-security">
4537 <table class="table">
4538 <thead>
4539 <tr>
4540 <th class="swagger-request-security-schema"></th>
4541 <th class="swagger-request-security-scopes"></th>
4542 </tr>
4543 </thead>
4544 <tbody>
4545 <tr>
4546 <td>
4547 <a href="#security-definition-OAuth2">OAuth2</a>
4548 </td>
4549 <td> </td>
4550 </tr>
4551 </tbody>
4552 </table>
4553 </section>
4554 </div>
4555 </div>
5e1c08eb 4556 </div>
ab0ee6a1 4557 <div id="operation--videos--videoId--blacklist-delete" class="operation panel" data-traverse-target="operation--videos--videoId--blacklist-delete">
5e1c08eb
C
4558 <!-- <section class="operation-tags row"> -->
4559 <!-- <div class="doc-copy"> -->
4560 <div class="operation-tags">
4561 <a class="label" href="#tag-VideoBlacklist">VideoBlacklist</a>
4562 <!---->
4563 </div>
4564 <!-- </div> -->
4565 <!-- </section> -->
4566 <h2 class="operation-title">
4567 <span class="operation-name">
4568 <span class="operation-name">DELETE</span>
ab0ee6a1 4569 <span class="operation-path">/videos/{videoId}/blacklist</span>
5e1c08eb
C
4570 </span>
4571 </h2>
4572 <div class="doc-row">
4573 <div class="doc-copy">
4574 <section class="swagger-request-params">
4575 <div class="prop-row prop-group">
4576 <div class="prop-name">
4577 <div class="prop-title">videoId</div>
4578 <span class="json-property-required"></span>
228e84aa
C
4579 <div class="prop-subtitle"> in path </div>
4580 <div class="prop-subtitle">
4581 <span class="json-property-type">string</span>
4582 <span class="json-property-range" title="Value limits"></span>
4583 </div>
5e1c08eb
C
4584 </div>
4585 <div class="prop-value">
4586 <p>The video id </p>
4587 </div>
4588 </div>
5e1c08eb
C
4589 </section>
4590 </div>
4591 <div class="doc-examples"></div>
4592 </div>
4593 <div class="doc-row">
4594 <div class="doc-copy">
4595 <section class="swagger-responses">
4596 <div class="prop-row prop-group">
4597 <div class="prop-name">
4598 <div class="prop-title">204 No Content</div>
4599 </div>
4600 <div class="prop-value">
4601 <p>successful operation</p>
4602 </div>
4603 </div>
4604 </section>
4605 </div>
4606 <div class="doc-examples">
4607 <h5>Response Content-Types:
4608 <span>application/json</span>
4609 </h5>
4610 </div>
4611 </div>
94ff4c23
C
4612 <div class="doc-row">
4613 <div class="doc-copy">
4614 <section class="swagger-request-security">
4615 <table class="table">
4616 <thead>
4617 <tr>
4618 <th class="swagger-request-security-schema"></th>
4619 <th class="swagger-request-security-scopes"></th>
4620 </tr>
4621 </thead>
4622 <tbody>
4623 <tr>
4624 <td>
4625 <a href="#security-definition-OAuth2">OAuth2</a>
4626 </td>
4627 <td> </td>
4628 </tr>
4629 </tbody>
4630 </table>
4631 </section>
4632 </div>
4633 </div>
5e1c08eb 4634 </div>
ab0ee6a1 4635 <div id="operation--videos-blacklist-get" class="operation panel" data-traverse-target="operation--videos-blacklist-get">
5e1c08eb
C
4636 <!-- <section class="operation-tags row"> -->
4637 <!-- <div class="doc-copy"> -->
4638 <div class="operation-tags">
4639 <a class="label" href="#tag-VideoBlacklist">VideoBlacklist</a>
4640 <!---->
4641 </div>
4642 <!-- </div> -->
4643 <!-- </section> -->
4644 <h2 class="operation-title">
4645 <span class="operation-name">
4646 <span class="operation-name">GET</span>
ab0ee6a1 4647 <span class="operation-path">/videos/blacklist</span>
5e1c08eb
C
4648 </span>
4649 </h2>
4650 <div class="doc-row">
ab0ee6a1
C
4651 <div class="doc-copy">
4652 <section class="swagger-request-params">
4653 <div class="prop-row prop-group">
4654 <div class="prop-name">
4655 <div class="prop-title">start</div>
228e84aa
C
4656 <div class="prop-subtitle"> in query </div>
4657 <div class="prop-subtitle">
4658 <span class="json-property-type">number</span>
4659 <span class="json-property-range" title="Value limits"></span>
4660 </div>
ab0ee6a1
C
4661 </div>
4662 <div class="prop-value">
4663 <p>starting page</p>
4664 </div>
4665 </div>
ab0ee6a1
C
4666 <div class="prop-row prop-group">
4667 <div class="prop-name">
4668 <div class="prop-title">stop</div>
228e84aa
C
4669 <div class="prop-subtitle"> in query </div>
4670 <div class="prop-subtitle">
4671 <span class="json-property-type">number</span>
4672 <span class="json-property-range" title="Value limits"></span>
4673 </div>
ab0ee6a1
C
4674 </div>
4675 <div class="prop-value">
f209b32a 4676 <p>stopping page</p>
ab0ee6a1
C
4677 </div>
4678 </div>
ab0ee6a1
C
4679 <div class="prop-row prop-group">
4680 <div class="prop-name">
4681 <div class="prop-title">sort</div>
228e84aa
C
4682 <div class="prop-subtitle"> in query </div>
4683 <div class="prop-subtitle">
4684 <span class="json-property-type">number</span>
4685 <span class="json-property-range" title="Value limits"></span>
4686 </div>
ab0ee6a1
C
4687 </div>
4688 <div class="prop-value">
4689 <p>sorting</p>
4690 </div>
4691 </div>
ab0ee6a1
C
4692 </section>
4693 </div>
5e1c08eb
C
4694 <div class="doc-examples"></div>
4695 </div>
4696 <div class="doc-row">
4697 <div class="doc-copy">
4698 <section class="swagger-responses">
4699 <div class="prop-row prop-group">
4700 <div class="prop-name">
4701 <div class="prop-title">200 OK</div>
4702 <div class="prop-ref">
4703 <span class="json-schema-ref-array">
4704 <a class="json-schema-ref" href="#/definitions/VideoBlacklist">VideoBlacklist</a>
4705 </span>
4706 </div>
4707 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
4708 </div>
4709 <div class="prop-value">
4710 <p>successful operation</p>
4711 </div>
4712 </div>
228e84aa
C
4713 <div class="prop-row prop-inner">
4714 <div class="prop-name">type</div>
4715 <div class="prop-value">
4716 <span class="json-property-type">
4717 <span class="json-schema-ref-array">
4718 <a class="json-schema-ref" href="#/definitions/VideoBlacklist">VideoBlacklist</a>
4719 </span>
4720 </span>
4721 <span class="json-property-range" title="Value limits"></span>
4722 </div>
4723 </div>
5e1c08eb
C
4724 </section>
4725 </div>
4726 <div class="doc-examples">
4727 <h5>Response Content-Types:
4728 <span>application/json</span>
4729 </h5>
4730 <section>
4731 <h5>Response Example
4732 <span>(200 OK)</span>
4733 </h5>
4734 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
4735 {
4736 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4737 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4738 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4739 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4740 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4741 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4742 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4743 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4744 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4745 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4746 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
4747 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>
4748 }
4749]
4750</code></pre>
4751 <!-- </div> -->
4752 </section>
4753 </div>
4754 </div>
94ff4c23
C
4755 <div class="doc-row">
4756 <div class="doc-copy">
4757 <section class="swagger-request-security">
4758 <table class="table">
4759 <thead>
4760 <tr>
4761 <th class="swagger-request-security-schema"></th>
4762 <th class="swagger-request-security-scopes"></th>
4763 </tr>
4764 </thead>
4765 <tbody>
4766 <tr>
4767 <td>
4768 <a href="#security-definition-OAuth2">OAuth2</a>
4769 </td>
4770 <td> </td>
4771 </tr>
4772 </tbody>
4773 </table>
4774 </section>
4775 </div>
4776 </div>
5e1c08eb
C
4777 </div>
4778 <h1 id="tag-VideoChannel" class="swagger-summary-tag" data-traverse-target="tag-VideoChannel">VideoChannel</h1>
48dce1c9 4779 <div id="operation--video-channels-get" class="operation panel" data-traverse-target="operation--video-channels-get">
5e1c08eb
C
4780 <!-- <section class="operation-tags row"> -->
4781 <!-- <div class="doc-copy"> -->
4782 <div class="operation-tags">
4783 <a class="label" href="#tag-VideoChannel">VideoChannel</a>
4784 <!---->
4785 </div>
4786 <!-- </div> -->
4787 <!-- </section> -->
4788 <h2 class="operation-title">
4789 <span class="operation-name">
4790 <span class="operation-name">GET</span>
48dce1c9 4791 <span class="operation-path">/video-channels</span>
5e1c08eb
C
4792 </span>
4793 </h2>
4794 <div class="doc-row">
ab0ee6a1
C
4795 <div class="doc-copy">
4796 <section class="swagger-request-params">
4797 <div class="prop-row prop-group">
4798 <div class="prop-name">
4799 <div class="prop-title">start</div>
228e84aa
C
4800 <div class="prop-subtitle"> in query </div>
4801 <div class="prop-subtitle">
4802 <span class="json-property-type">number</span>
4803 <span class="json-property-range" title="Value limits"></span>
4804 </div>
ab0ee6a1
C
4805 </div>
4806 <div class="prop-value">
4807 <p>starting page</p>
4808 </div>
4809 </div>
ab0ee6a1
C
4810 <div class="prop-row prop-group">
4811 <div class="prop-name">
4812 <div class="prop-title">stop</div>
228e84aa
C
4813 <div class="prop-subtitle"> in query </div>
4814 <div class="prop-subtitle">
4815 <span class="json-property-type">number</span>
4816 <span class="json-property-range" title="Value limits"></span>
4817 </div>
ab0ee6a1
C
4818 </div>
4819 <div class="prop-value">
f209b32a 4820 <p>stopping page</p>
ab0ee6a1
C
4821 </div>
4822 </div>
ab0ee6a1
C
4823 <div class="prop-row prop-group">
4824 <div class="prop-name">
4825 <div class="prop-title">sort</div>
228e84aa
C
4826 <div class="prop-subtitle"> in query </div>
4827 <div class="prop-subtitle">
4828 <span class="json-property-type">number</span>
4829 <span class="json-property-range" title="Value limits"></span>
4830 </div>
ab0ee6a1
C
4831 </div>
4832 <div class="prop-value">
4833 <p>sorting</p>
4834 </div>
4835 </div>
ab0ee6a1
C
4836 </section>
4837 </div>
5e1c08eb
C
4838 <div class="doc-examples"></div>
4839 </div>
4840 <div class="doc-row">
4841 <div class="doc-copy">
4842 <section class="swagger-responses">
4843 <div class="prop-row prop-group">
4844 <div class="prop-name">
4845 <div class="prop-title">200 OK</div>
4846 <div class="prop-ref">
4847 <span class="json-schema-ref-array">
4848 <a class="json-schema-ref" href="#/definitions/VideoChannel">VideoChannel</a>
4849 </span>
4850 </div>
4851 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
4852 </div>
4853 <div class="prop-value">
4854 <p>successful operation</p>
4855 </div>
4856 </div>
228e84aa
C
4857 <div class="prop-row prop-inner">
4858 <div class="prop-name">type</div>
4859 <div class="prop-value">
4860 <span class="json-property-type">
4861 <span class="json-schema-ref-array">
4862 <a class="json-schema-ref" href="#/definitions/VideoChannel">VideoChannel</a>
4863 </span>
4864 </span>
4865 <span class="json-property-range" title="Value limits"></span>
4866 </div>
4867 </div>
5e1c08eb
C
4868 </section>
4869 </div>
4870 <div class="doc-examples">
4871 <h5>Response Content-Types:
4872 <span>application/json</span>
4873 </h5>
4874 <section>
4875 <h5>Response Example
4876 <span>(200 OK)</span>
4877 </h5>
4878 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
4879 {
4880 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4881 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4882 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
cc918ac3
C
4883 <span class="hljs-attr">&quot;ownerAccount&quot;</span>: {
4884 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5e1c08eb 4885 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
cc918ac3 4886 }
48dce1c9
C
4887 }
4888]
4889</code></pre>
4890 <!-- </div> -->
4891 </section>
4892 </div>
4893 </div>
4894 </div>
cc918ac3 4895 <div id="operation--video-channels-post" class="operation panel" data-traverse-target="operation--video-channels-post">
48dce1c9
C
4896 <!-- <section class="operation-tags row"> -->
4897 <!-- <div class="doc-copy"> -->
4898 <div class="operation-tags">
4899 <a class="label" href="#tag-VideoChannel">VideoChannel</a>
4900 <!---->
4901 </div>
4902 <!-- </div> -->
4903 <!-- </section> -->
4904 <h2 class="operation-title">
4905 <span class="operation-name">
cc918ac3
C
4906 <span class="operation-name">POST</span>
4907 <span class="operation-path">/video-channels</span>
48dce1c9
C
4908 </span>
4909 </h2>
4910 <div class="doc-row">
4911 <div class="doc-copy">
cc918ac3
C
4912 <section class="swagger-request-body">
4913 <div class="prop-row">
48dce1c9 4914 <div class="prop-name">
cc918ac3
C
4915 <div class="swagger-request-model">
4916 <span class="">
4917 <a class="json-schema-ref" href="#/definitions/VideoChannelInput">VideoChannelInput</a>
4918 </span>
48dce1c9
C
4919 </div>
4920 </div>
cc918ac3
C
4921 <div class="prop-value columns small-6">
4922 <!-- <div class="swagger-request-description"> -->
4923 <p>undefined</p>
4924 <!-- </div> -->
48dce1c9
C
4925 </div>
4926 </div>
4927 </section>
4928 </div>
cc918ac3
C
4929 <div class="doc-examples">
4930 <section>
4931 <h5>Request Content-Types:
4932 <span>application/json</span>
4933 </h5>
4934 <h5>Request Example</h5>
4935 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
4936 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
4937 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
4938}
4939</code></pre>
4940 <!-- </div> -->
4941 </section>
4942 </div>
48dce1c9
C
4943 </div>
4944 <div class="doc-row">
4945 <div class="doc-copy">
4946 <section class="swagger-responses">
4947 <div class="prop-row prop-group">
4948 <div class="prop-name">
cc918ac3 4949 <div class="prop-title">204 No Content</div>
5e1c08eb
C
4950 </div>
4951 <div class="prop-value">
4952 <p>successful operation</p>
4953 </div>
4954 </div>
4955 </section>
4956 </div>
4957 <div class="doc-examples">
4958 <h5>Response Content-Types:
4959 <span>application/json</span>
4960 </h5>
4961 </div>
4962 </div>
94ff4c23
C
4963 <div class="doc-row">
4964 <div class="doc-copy">
4965 <section class="swagger-request-security">
4966 <table class="table">
4967 <thead>
4968 <tr>
4969 <th class="swagger-request-security-schema"></th>
4970 <th class="swagger-request-security-scopes"></th>
4971 </tr>
4972 </thead>
4973 <tbody>
4974 <tr>
4975 <td>
4976 <a href="#security-definition-OAuth2">OAuth2</a>
4977 </td>
4978 <td> </td>
4979 </tr>
4980 </tbody>
4981 </table>
4982 </section>
4983 </div>
4984 </div>
5e1c08eb 4985 </div>
cc918ac3 4986 <div id="operation--video-channels--id--get" class="operation panel" data-traverse-target="operation--video-channels--id--get">
5e1c08eb
C
4987 <!-- <section class="operation-tags row"> -->
4988 <!-- <div class="doc-copy"> -->
4989 <div class="operation-tags">
4990 <a class="label" href="#tag-VideoChannel">VideoChannel</a>
4991 <!---->
4992 </div>
4993 <!-- </div> -->
4994 <!-- </section> -->
4995 <h2 class="operation-title">
4996 <span class="operation-name">
4997 <span class="operation-name">GET</span>
cc918ac3 4998 <span class="operation-path">/video-channels/{id}</span>
5e1c08eb
C
4999 </span>
5000 </h2>
5001 <div class="doc-row">
5002 <div class="doc-copy">
5003 <section class="swagger-request-params">
5004 <div class="prop-row prop-group">
5005 <div class="prop-name">
5006 <div class="prop-title">id</div>
5007 <span class="json-property-required"></span>
228e84aa
C
5008 <div class="prop-subtitle"> in path </div>
5009 <div class="prop-subtitle">
5010 <span class="json-property-type">string</span>
5011 <span class="json-property-range" title="Value limits"></span>
5012 </div>
5e1c08eb
C
5013 </div>
5014 <div class="prop-value">
48dce1c9 5015 <p>The video channel id </p>
5e1c08eb
C
5016 </div>
5017 </div>
5e1c08eb
C
5018 </section>
5019 </div>
5020 <div class="doc-examples"></div>
5021 </div>
5022 <div class="doc-row">
5023 <div class="doc-copy">
5024 <section class="swagger-responses">
5025 <div class="prop-row prop-group">
5026 <div class="prop-name">
5027 <div class="prop-title">200 OK</div>
5028 <div class="prop-ref">
5029 <span class="">
5030 <a class="json-schema-ref" href="#/definitions/VideoChannel">VideoChannel</a>
5031 </span>
5032 </div>
5033 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
5034 </div>
5035 <div class="prop-value">
5036 <p>successful operation</p>
5037 </div>
5038 </div>
5039 </section>
5040 </div>
5041 <div class="doc-examples">
5042 <h5>Response Content-Types:
5043 <span>application/json</span>
5044 </h5>
5045 <section>
5046 <h5>Response Example
5047 <span>(200 OK)</span>
5048 </h5>
5049 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
5050 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5051 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5052 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
cc918ac3
C
5053 <span class="hljs-attr">&quot;ownerAccount&quot;</span>: {
5054 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5e1c08eb 5055 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
cc918ac3 5056 }
5e1c08eb
C
5057}
5058</code></pre>
5059 <!-- </div> -->
5060 </section>
5061 </div>
5062 </div>
5063 </div>
cc918ac3 5064 <div id="operation--video-channels--id--put" class="operation panel" data-traverse-target="operation--video-channels--id--put">
5e1c08eb
C
5065 <!-- <section class="operation-tags row"> -->
5066 <!-- <div class="doc-copy"> -->
5067 <div class="operation-tags">
5068 <a class="label" href="#tag-VideoChannel">VideoChannel</a>
5069 <!---->
5070 </div>
5071 <!-- </div> -->
5072 <!-- </section> -->
5073 <h2 class="operation-title">
5074 <span class="operation-name">
5075 <span class="operation-name">PUT</span>
cc918ac3 5076 <span class="operation-path">/video-channels/{id}</span>
5e1c08eb
C
5077 </span>
5078 </h2>
5079 <div class="doc-row">
5080 <div class="doc-copy">
5081 <section class="swagger-request-body">
5082 <div class="prop-row">
5083 <div class="prop-name">
5084 <div class="swagger-request-model">
5085 <span class="">
5086 <a class="json-schema-ref" href="#/definitions/VideoChannelInput">VideoChannelInput</a>
5087 </span>
5088 </div>
5089 </div>
5090 <div class="prop-value columns small-6">
228e84aa
C
5091 <!-- <div class="swagger-request-description"> -->
5092 <p>undefined</p>
5e1c08eb
C
5093 <!-- </div> -->
5094 </div>
5095 </div>
5096 </section>
5097 <section class="swagger-request-params">
5098 <div class="prop-row prop-group">
5099 <div class="prop-name">
5100 <div class="prop-title">id</div>
5101 <span class="json-property-required"></span>
228e84aa
C
5102 <div class="prop-subtitle"> in path </div>
5103 <div class="prop-subtitle">
5104 <span class="json-property-type">string</span>
5105 <span class="json-property-range" title="Value limits"></span>
5106 </div>
5e1c08eb
C
5107 </div>
5108 <div class="prop-value">
48dce1c9 5109 <p>The video channel id </p>
5e1c08eb
C
5110 </div>
5111 </div>
5e1c08eb
C
5112 </section>
5113 </div>
5114 <div class="doc-examples">
5115 <section>
5116 <h5>Request Content-Types:
5117 <span>application/json</span>
5118 </h5>
5119 <h5>Request Example</h5>
5120 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
5121 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5122 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5123}
5124</code></pre>
5125 <!-- </div> -->
5126 </section>
5127 </div>
5128 </div>
5129 <div class="doc-row">
5130 <div class="doc-copy">
5131 <section class="swagger-responses">
5132 <div class="prop-row prop-group">
5133 <div class="prop-name">
5134 <div class="prop-title">204 No Content</div>
5135 </div>
5136 <div class="prop-value">
5137 <p>successful operation</p>
5138 </div>
5139 </div>
5140 </section>
5141 </div>
5142 <div class="doc-examples">
5143 <h5>Response Content-Types:
5144 <span>application/json</span>
5145 </h5>
5146 </div>
5147 </div>
94ff4c23
C
5148 <div class="doc-row">
5149 <div class="doc-copy">
5150 <section class="swagger-request-security">
5151 <table class="table">
5152 <thead>
5153 <tr>
5154 <th class="swagger-request-security-schema"></th>
5155 <th class="swagger-request-security-scopes"></th>
5156 </tr>
5157 </thead>
5158 <tbody>
5159 <tr>
5160 <td>
5161 <a href="#security-definition-OAuth2">OAuth2</a>
5162 </td>
5163 <td> </td>
5164 </tr>
5165 </tbody>
5166 </table>
5167 </section>
5168 </div>
5169 </div>
5e1c08eb 5170 </div>
cc918ac3 5171 <div id="operation--video-channels--id--delete" class="operation panel" data-traverse-target="operation--video-channels--id--delete">
5e1c08eb
C
5172 <!-- <section class="operation-tags row"> -->
5173 <!-- <div class="doc-copy"> -->
5174 <div class="operation-tags">
5175 <a class="label" href="#tag-VideoChannel">VideoChannel</a>
5176 <!---->
5177 </div>
5178 <!-- </div> -->
5179 <!-- </section> -->
5180 <h2 class="operation-title">
5181 <span class="operation-name">
5182 <span class="operation-name">DELETE</span>
cc918ac3 5183 <span class="operation-path">/video-channels/{id}</span>
5e1c08eb
C
5184 </span>
5185 </h2>
5186 <div class="doc-row">
5187 <div class="doc-copy">
5188 <section class="swagger-request-params">
5189 <div class="prop-row prop-group">
5190 <div class="prop-name">
5191 <div class="prop-title">id</div>
5192 <span class="json-property-required"></span>
228e84aa
C
5193 <div class="prop-subtitle"> in path </div>
5194 <div class="prop-subtitle">
5195 <span class="json-property-type">string</span>
5196 <span class="json-property-range" title="Value limits"></span>
5197 </div>
5e1c08eb
C
5198 </div>
5199 <div class="prop-value">
48dce1c9 5200 <p>The video channel id </p>
5e1c08eb
C
5201 </div>
5202 </div>
5e1c08eb
C
5203 </section>
5204 </div>
5205 <div class="doc-examples"></div>
5206 </div>
5207 <div class="doc-row">
5208 <div class="doc-copy">
5209 <section class="swagger-responses">
5210 <div class="prop-row prop-group">
5211 <div class="prop-name">
5212 <div class="prop-title">204 No Content</div>
5213 </div>
5214 <div class="prop-value">
5215 <p>successful operation</p>
5216 </div>
5217 </div>
5218 </section>
5219 </div>
5220 <div class="doc-examples">
5221 <h5>Response Content-Types:
5222 <span>application/json</span>
5223 </h5>
5224 </div>
5225 </div>
94ff4c23
C
5226 <div class="doc-row">
5227 <div class="doc-copy">
5228 <section class="swagger-request-security">
5229 <table class="table">
5230 <thead>
5231 <tr>
5232 <th class="swagger-request-security-schema"></th>
5233 <th class="swagger-request-security-scopes"></th>
5234 </tr>
5235 </thead>
5236 <tbody>
5237 <tr>
5238 <td>
5239 <a href="#security-definition-OAuth2">OAuth2</a>
5240 </td>
5241 <td> </td>
5242 </tr>
5243 </tbody>
5244 </table>
5245 </section>
5246 </div>
5247 </div>
5e1c08eb 5248 </div>
cc918ac3
C
5249 <div id="operation--video-channels--id--videos-get" class="operation panel" data-traverse-target="operation--video-channels--id--videos-get">
5250 <!-- <section class="operation-tags row"> -->
5251 <!-- <div class="doc-copy"> -->
5252 <div class="operation-tags">
5253 <a class="label" href="#tag-VideoChannel">VideoChannel</a>
5254 <!---->
5255 </div>
5256 <!-- </div> -->
5257 <!-- </section> -->
5258 <h2 class="operation-title">
5259 <span class="operation-name">
5260 <span class="operation-name">GET</span>
5261 <span class="operation-path">/video-channels/{id}/videos</span>
5262 </span>
5263 </h2>
5264 <div class="doc-row">
5265 <div class="doc-copy">
5266 <section class="swagger-request-params">
5267 <div class="prop-row prop-group">
5268 <div class="prop-name">
5269 <div class="prop-title">id</div>
5270 <span class="json-property-required"></span>
5271 <div class="prop-subtitle"> in path </div>
5272 <div class="prop-subtitle">
5273 <span class="json-property-type">string</span>
5274 <span class="json-property-range" title="Value limits"></span>
5275 </div>
5276 </div>
5277 <div class="prop-value">
5278 <p>The video channel id </p>
5279 </div>
5280 </div>
5281 </section>
5282 </div>
5283 <div class="doc-examples"></div>
5284 </div>
5285 <div class="doc-row">
5286 <div class="doc-copy">
5287 <section class="swagger-responses">
5288 <div class="prop-row prop-group">
5289 <div class="prop-name">
5290 <div class="prop-title">200 OK</div>
5291 <div class="prop-ref">
5292 <span class="">
5293 <a class="json-schema-ref" href="#/definitions/Video">Video</a>
5294 </span>
5295 </div>
5296 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
5297 </div>
5298 <div class="prop-value">
5299 <p>successful operation</p>
5300 </div>
5301 </div>
5302 </section>
5303 </div>
5304 <div class="doc-examples">
5305 <h5>Response Content-Types:
5306 <span>application/json</span>
5307 </h5>
5308 <section>
5309 <h5>Response Example
5310 <span>(200 OK)</span>
5311 </h5>
5312 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
5313 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5314 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5315 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5316 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5317 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5318 <span class="hljs-attr">&quot;category&quot;</span>: {
5319 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5320 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5321 },
5322 <span class="hljs-attr">&quot;licence&quot;</span>: {
5323 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5324 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5325 },
5326 <span class="hljs-attr">&quot;language&quot;</span>: {
5327 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5328 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5329 },
5330 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5331 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5332 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5333 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
5334 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5335 <span class="hljs-attr">&quot;thumbnailPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5336 <span class="hljs-attr">&quot;previewPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5337 <span class="hljs-attr">&quot;embedPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5338 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5339 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5340 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5341 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
5342 <span class="hljs-attr">&quot;account&quot;</span>: {
5343 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5344 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5345 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5346 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5347 <span class="hljs-attr">&quot;avatar&quot;</span>: {
5348 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5349 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5350 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5351 }
5352 }
5353}
5354</code></pre>
5355 <!-- </div> -->
5356 </section>
5357 </div>
5358 </div>
5359 </div>
ad9e39fb 5360 <div id="operation--accounts--name--video-channels-get" class="operation panel" data-traverse-target="operation--accounts--name--video-channels-get">
cc918ac3
C
5361 <!-- <section class="operation-tags row"> -->
5362 <!-- <div class="doc-copy"> -->
5363 <div class="operation-tags">
5364 <a class="label" href="#tag-VideoChannel">VideoChannel</a>
5365 <!---->
5366 </div>
5367 <!-- </div> -->
5368 <!-- </section> -->
5369 <h2 class="operation-title">
5370 <span class="operation-name">
5371 <span class="operation-name">GET</span>
ad9e39fb 5372 <span class="operation-path">/accounts/{name}/video-channels</span>
cc918ac3
C
5373 </span>
5374 </h2>
5375 <div class="doc-row">
5376 <div class="doc-copy">
5377 <section class="swagger-request-params">
5378 <div class="prop-row prop-group">
5379 <div class="prop-name">
ad9e39fb 5380 <div class="prop-title">name</div>
cc918ac3
C
5381 <span class="json-property-required"></span>
5382 <div class="prop-subtitle"> in path </div>
5383 <div class="prop-subtitle">
5384 <span class="json-property-type">string</span>
5385 <span class="json-property-range" title="Value limits"></span>
5386 </div>
5387 </div>
5388 <div class="prop-value">
ad9e39fb
C
5389 <p>The name of the account (chocobozzz or
5390 <a href="mailto:chocobozzz@peertube.cpy.re">chocobozzz@peertube.cpy.re</a> for example)</p>
cc918ac3
C
5391 </div>
5392 </div>
5393 </section>
5394 </div>
5395 <div class="doc-examples"></div>
5396 </div>
5397 <div class="doc-row">
5398 <div class="doc-copy">
5399 <section class="swagger-responses">
5400 <div class="prop-row prop-group">
5401 <div class="prop-name">
5402 <div class="prop-title">200 OK</div>
5403 <div class="prop-ref">
5404 <span class="json-schema-ref-array">
5405 <a class="json-schema-ref" href="#/definitions/VideoChannel">VideoChannel</a>
5406 </span>
5407 </div>
5408 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
5409 </div>
5410 <div class="prop-value">
5411 <p>successful operation</p>
5412 </div>
5413 </div>
5414 <div class="prop-row prop-inner">
5415 <div class="prop-name">type</div>
5416 <div class="prop-value">
5417 <span class="json-property-type">
5418 <span class="json-schema-ref-array">
5419 <a class="json-schema-ref" href="#/definitions/VideoChannel">VideoChannel</a>
5420 </span>
5421 </span>
5422 <span class="json-property-range" title="Value limits"></span>
5423 </div>
5424 </div>
5425 </section>
5426 </div>
5427 <div class="doc-examples">
5428 <h5>Response Content-Types:
5429 <span>application/json</span>
5430 </h5>
5431 <section>
5432 <h5>Response Example
5433 <span>(200 OK)</span>
5434 </h5>
5435 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[
5436 {
5437 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5438 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5439 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
5440 <span class="hljs-attr">&quot;ownerAccount&quot;</span>: {
5441 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5442 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5443 }
5444 }
5445]
5446</code></pre>
5447 <!-- </div> -->
5448 </section>
5449 </div>
5450 </div>
5451 </div>
5e1c08eb 5452 <h1 id="tag-VideoComment" class="swagger-summary-tag" data-traverse-target="tag-VideoComment">VideoComment</h1>
ab0ee6a1 5453 <div id="operation--videos--videoId--comment-threads-get" class="operation panel" data-traverse-target="operation--videos--videoId--comment-threads-get">
5e1c08eb
C
5454 <!-- <section class="operation-tags row"> -->
5455 <!-- <div class="doc-copy"> -->
5456 <div class="operation-tags">
5457 <a class="label" href="#tag-VideoComment">VideoComment</a>
5458 <!---->
5459 </div>
5460 <!-- </div> -->
5461 <!-- </section> -->
5462 <h2 class="operation-title">
5463 <span class="operation-name">
5464 <span class="operation-name">GET</span>
ab0ee6a1 5465 <span class="operation-path">/videos/{videoId}/comment-threads</span>
5e1c08eb
C
5466 </span>
5467 </h2>
5468 <div class="doc-row">
5469 <div class="doc-copy">
5470 <section class="swagger-request-params">
5471 <div class="prop-row prop-group">
5472 <div class="prop-name">
ab0ee6a1
C
5473 <div class="prop-title">videoId</div>
5474 <span class="json-property-required"></span>
228e84aa
C
5475 <div class="prop-subtitle"> in path </div>
5476 <div class="prop-subtitle">
5477 <span class="json-property-type">string</span>
5478 <span class="json-property-range" title="Value limits"></span>
5479 </div>
ab0ee6a1
C
5480 </div>
5481 <div class="prop-value">
5482 <p>The video id </p>
5483 </div>
5484 </div>
ab0ee6a1
C
5485 <div class="prop-row prop-group">
5486 <div class="prop-name">
5487 <div class="prop-title">start</div>
228e84aa
C
5488 <div class="prop-subtitle"> in query </div>
5489 <div class="prop-subtitle">
5490 <span class="json-property-type">number</span>
5491 <span class="json-property-range" title="Value limits"></span>
5492 </div>
ab0ee6a1
C
5493 </div>
5494 <div class="prop-value">
5495 <p>starting page</p>
5496 </div>
5497 </div>
ab0ee6a1
C
5498 <div class="prop-row prop-group">
5499 <div class="prop-name">
5500 <div class="prop-title">stop</div>
228e84aa
C
5501 <div class="prop-subtitle"> in query </div>
5502 <div class="prop-subtitle">
5503 <span class="json-property-type">number</span>
5504 <span class="json-property-range" title="Value limits"></span>
5505 </div>
5e1c08eb
C
5506 </div>
5507 <div class="prop-value">
f209b32a 5508 <p>stopping page</p>
5e1c08eb
C
5509 </div>
5510 </div>
ab0ee6a1
C
5511 <div class="prop-row prop-group">
5512 <div class="prop-name">
5513 <div class="prop-title">sort</div>
228e84aa
C
5514 <div class="prop-subtitle"> in query </div>
5515 <div class="prop-subtitle">
5516 <span class="json-property-type">number</span>
5517 <span class="json-property-range" title="Value limits"></span>
5518 </div>
ab0ee6a1
C
5519 </div>
5520 <div class="prop-value">
5521 <p>sorting</p>
5522 </div>
5523 </div>
5e1c08eb
C
5524 </section>
5525 </div>
5526 <div class="doc-examples"></div>
5527 </div>
5528 <div class="doc-row">
5529 <div class="doc-copy">
5530 <section class="swagger-responses">
5531 <div class="prop-row prop-group">
5532 <div class="prop-name">
5533 <div class="prop-title">200 OK</div>
5534 <div class="prop-ref">
5535 <span class="">
ab0ee6a1 5536 <a class="json-schema-ref" href="#/definitions/CommentThreadResponse">CommentThreadResponse</a>
5e1c08eb
C
5537 </span>
5538 </div>
5539 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
5540 </div>
5541 <div class="prop-value">
5542 <p>successful operation</p>
5543 </div>
5544 </div>
5545 </section>
5546 </div>
5547 <div class="doc-examples">
5548 <h5>Response Content-Types:
5549 <span>application/json</span>
5550 </h5>
5551 <section>
5552 <h5>Response Example
5553 <span>(200 OK)</span>
5554 </h5>
ab0ee6a1
C
5555 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
5556 <span class="hljs-attr">&quot;total&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5557 <span class="hljs-attr">&quot;data&quot;</span>: [
5558 {
5559 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5560 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5561 <span class="hljs-attr">&quot;text&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5562 <span class="hljs-attr">&quot;threadId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5563 <span class="hljs-attr">&quot;inReplyToCommentId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5564 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5565 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5566 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5567 <span class="hljs-attr">&quot;totalReplies&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5568 <span class="hljs-attr">&quot;account&quot;</span>: {
5569 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5570 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5571 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5572 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5573 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5574 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5575 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5576 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5577 <span class="hljs-attr">&quot;createdAt&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>,
5579 <span class="hljs-attr">&quot;avatar&quot;</span>: {
5580 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5581 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5582 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5583 }
5584 }
5585 }
5586 ]
5587}
5588</code></pre>
5e1c08eb
C
5589 <!-- </div> -->
5590 </section>
5591 </div>
5592 </div>
5593 </div>
ab0ee6a1 5594 <div id="operation--videos--videoId--comment-threads-post" class="operation panel" data-traverse-target="operation--videos--videoId--comment-threads-post">
5e1c08eb
C
5595 <!-- <section class="operation-tags row"> -->
5596 <!-- <div class="doc-copy"> -->
5597 <div class="operation-tags">
5598 <a class="label" href="#tag-VideoComment">VideoComment</a>
5599 <!---->
5600 </div>
5601 <!-- </div> -->
5602 <!-- </section> -->
5603 <h2 class="operation-title">
5604 <span class="operation-name">
5605 <span class="operation-name">POST</span>
ab0ee6a1 5606 <span class="operation-path">/videos/{videoId}/comment-threads</span>
5e1c08eb
C
5607 </span>
5608 </h2>
5609 <div class="doc-row">
5610 <div class="doc-copy">
5611 <section class="swagger-request-params">
5612 <div class="prop-row prop-group">
5613 <div class="prop-name">
5614 <div class="prop-title">videoId</div>
5615 <span class="json-property-required"></span>
228e84aa
C
5616 <div class="prop-subtitle"> in path </div>
5617 <div class="prop-subtitle">
5618 <span class="json-property-type">string</span>
5619 <span class="json-property-range" title="Value limits"></span>
5620 </div>
5e1c08eb
C
5621 </div>
5622 <div class="prop-value">
5623 <p>The video id </p>
5624 </div>
5625 </div>
5e1c08eb
C
5626 </section>
5627 </div>
5628 <div class="doc-examples"></div>
5629 </div>
5630 <div class="doc-row">
5631 <div class="doc-copy">
5632 <section class="swagger-responses">
5633 <div class="prop-row prop-group">
5634 <div class="prop-name">
5635 <div class="prop-title">200 OK</div>
ab0ee6a1
C
5636 <div class="prop-ref">
5637 <span class="">
5638 <a class="json-schema-ref" href="#/definitions/CommentThreadPostResponse">CommentThreadPostResponse</a>
5639 </span>
5640 </div>
5641 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
5e1c08eb
C
5642 </div>
5643 <div class="prop-value">
5644 <p>successful operation</p>
5645 </div>
5646 </div>
5647 </section>
5648 </div>
5649 <div class="doc-examples">
5650 <h5>Response Content-Types:
5651 <span>application/json</span>
5652 </h5>
ab0ee6a1
C
5653 <section>
5654 <h5>Response Example
5655 <span>(200 OK)</span>
5656 </h5>
5657 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
5658 <span class="hljs-attr">&quot;comment&quot;</span>: {
5659 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5660 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5661 <span class="hljs-attr">&quot;text&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5662 <span class="hljs-attr">&quot;threadId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5663 <span class="hljs-attr">&quot;inReplyToCommentId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5664 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5665 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5666 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5667 <span class="hljs-attr">&quot;totalReplies&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5668 <span class="hljs-attr">&quot;account&quot;</span>: {
5669 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5670 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5671 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5672 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5673 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5674 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5675 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5676 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5677 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5678 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5679 <span class="hljs-attr">&quot;avatar&quot;</span>: {
5680 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5681 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5682 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5683 }
5684 }
5685 }
5686}
5687</code></pre>
5688 <!-- </div> -->
5689 </section>
5e1c08eb
C
5690 </div>
5691 </div>
94ff4c23
C
5692 <div class="doc-row">
5693 <div class="doc-copy">
5694 <section class="swagger-request-security">
5695 <table class="table">
5696 <thead>
5697 <tr>
5698 <th class="swagger-request-security-schema"></th>
5699 <th class="swagger-request-security-scopes"></th>
5700 </tr>
5701 </thead>
5702 <tbody>
5703 <tr>
5704 <td>
5705 <a href="#security-definition-OAuth2">OAuth2</a>
5706 </td>
5707 <td> </td>
5708 </tr>
5709 </tbody>
5710 </table>
5711 </section>
5712 </div>
5713 </div>
5e1c08eb 5714 </div>
ab0ee6a1 5715 <div id="operation--videos--videoId--comment-threads--threadId--get" class="operation panel" data-traverse-target="operation--videos--videoId--comment-threads--threadId--get">
5e1c08eb
C
5716 <!-- <section class="operation-tags row"> -->
5717 <!-- <div class="doc-copy"> -->
5718 <div class="operation-tags">
5719 <a class="label" href="#tag-VideoComment">VideoComment</a>
5720 <!---->
5721 </div>
5722 <!-- </div> -->
5723 <!-- </section> -->
5724 <h2 class="operation-title">
5725 <span class="operation-name">
5726 <span class="operation-name">GET</span>
ab0ee6a1 5727 <span class="operation-path">/videos/{videoId}/comment-threads/{threadId}</span>
5e1c08eb
C
5728 </span>
5729 </h2>
5730 <div class="doc-row">
5731 <div class="doc-copy">
5732 <section class="swagger-request-params">
5733 <div class="prop-row prop-group">
5734 <div class="prop-name">
5735 <div class="prop-title">videoId</div>
5736 <span class="json-property-required"></span>
228e84aa
C
5737 <div class="prop-subtitle"> in path </div>
5738 <div class="prop-subtitle">
5739 <span class="json-property-type">string</span>
5740 <span class="json-property-range" title="Value limits"></span>
5741 </div>
5e1c08eb
C
5742 </div>
5743 <div class="prop-value">
5744 <p>The video id </p>
5745 </div>
5746 </div>
5e1c08eb
C
5747 <div class="prop-row prop-group">
5748 <div class="prop-name">
5749 <div class="prop-title">threadId</div>
5750 <span class="json-property-required"></span>
228e84aa
C
5751 <div class="prop-subtitle"> in path </div>
5752 <div class="prop-subtitle">
5753 <span class="json-property-type">string</span>
5754 <span class="json-property-range" title="Value limits"></span>
5755 </div>
5e1c08eb
C
5756 </div>
5757 <div class="prop-value">
5758 <p>The thread id </p>
5759 </div>
5760 </div>
5e1c08eb
C
5761 </section>
5762 </div>
5763 <div class="doc-examples"></div>
5764 </div>
5765 <div class="doc-row">
5766 <div class="doc-copy">
5767 <section class="swagger-responses">
5768 <div class="prop-row prop-group">
5769 <div class="prop-name">
5770 <div class="prop-title">200 OK</div>
5771 <div class="prop-ref">
5772 <span class="">
5773 <a class="json-schema-ref" href="#/definitions/VideoCommentThreadTree">VideoCommentThreadTree</a>
5774 </span>
5775 </div>
5776 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
5777 </div>
5778 <div class="prop-value">
5779 <p>successful operation</p>
5780 </div>
5781 </div>
5782 </section>
5783 </div>
5784 <div class="doc-examples">
5785 <h5>Response Content-Types:
5786 <span>application/json</span>
5787 </h5>
5788 <section>
5789 <h5>Response Example
5790 <span>(200 OK)</span>
5791 </h5>
5792 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
5793 <span class="hljs-attr">&quot;comment&quot;</span>: {
5794 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5795 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5796 <span class="hljs-attr">&quot;text&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5797 <span class="hljs-attr">&quot;threadId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5798 <span class="hljs-attr">&quot;inReplyToCommentId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5799 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5800 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5801 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5802 <span class="hljs-attr">&quot;totalReplies&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5803 <span class="hljs-attr">&quot;account&quot;</span>: {
5804 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5805 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5806 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5807 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5808 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5809 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5810 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5811 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5812 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5813 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5814 <span class="hljs-attr">&quot;avatar&quot;</span>: {
5815 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5816 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5817 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5818 }
5819 }
5820 },
5821 <span class="hljs-attr">&quot;children&quot;</span>: [
5822 {
5823 <span class="hljs-attr">&quot;comment&quot;</span>: {
5824 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5825 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5826 <span class="hljs-attr">&quot;text&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5827 <span class="hljs-attr">&quot;threadId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5828 <span class="hljs-attr">&quot;inReplyToCommentId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5829 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5830 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5831 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5832 <span class="hljs-attr">&quot;totalReplies&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5833 <span class="hljs-attr">&quot;account&quot;</span>: {
5834 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5835 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5836 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5837 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5838 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5839 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5840 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5841 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5842 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5843 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5844 <span class="hljs-attr">&quot;avatar&quot;</span>: {
5845 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5846 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5847 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5848 }
5849 }
5850 },
5851 <span class="hljs-attr">&quot;children&quot;</span>: [
5852 {
5853 <span class="hljs-attr">&quot;comment&quot;</span>: {
5854 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5855 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5856 <span class="hljs-attr">&quot;text&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5857 <span class="hljs-attr">&quot;threadId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5858 <span class="hljs-attr">&quot;inReplyToCommentId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5859 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5860 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5861 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5862 <span class="hljs-attr">&quot;totalReplies&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5863 <span class="hljs-attr">&quot;account&quot;</span>: {
5864 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5865 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5866 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5867 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5868 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5869 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5870 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5871 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5872 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5873 <span class="hljs-attr">&quot;avatar&quot;</span>: {
5874 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5875 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5876 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5877 }
5878 }
5879 }
5880 }
5881 ]
5882 }
5883 ]
5884}
5885</code></pre>
5886 <!-- </div> -->
5887 </section>
5888 </div>
5889 </div>
5890 </div>
ab0ee6a1 5891 <div id="operation--videos--videoId--comments--commentId--post" class="operation panel" data-traverse-target="operation--videos--videoId--comments--commentId--post">
5e1c08eb
C
5892 <!-- <section class="operation-tags row"> -->
5893 <!-- <div class="doc-copy"> -->
5894 <div class="operation-tags">
5895 <a class="label" href="#tag-VideoComment">VideoComment</a>
5896 <!---->
5897 </div>
5898 <!-- </div> -->
5899 <!-- </section> -->
5900 <h2 class="operation-title">
5901 <span class="operation-name">
5902 <span class="operation-name">POST</span>
ab0ee6a1 5903 <span class="operation-path">/videos/{videoId}/comments/{commentId}</span>
5e1c08eb
C
5904 </span>
5905 </h2>
5906 <div class="doc-row">
5907 <div class="doc-copy">
5908 <section class="swagger-request-params">
5909 <div class="prop-row prop-group">
5910 <div class="prop-name">
5911 <div class="prop-title">videoId</div>
5912 <span class="json-property-required"></span>
228e84aa
C
5913 <div class="prop-subtitle"> in path </div>
5914 <div class="prop-subtitle">
5915 <span class="json-property-type">string</span>
5916 <span class="json-property-range" title="Value limits"></span>
5917 </div>
5e1c08eb
C
5918 </div>
5919 <div class="prop-value">
5920 <p>The video id </p>
5921 </div>
5922 </div>
5e1c08eb
C
5923 <div class="prop-row prop-group">
5924 <div class="prop-name">
5925 <div class="prop-title">commentId</div>
5926 <span class="json-property-required"></span>
228e84aa
C
5927 <div class="prop-subtitle"> in path </div>
5928 <div class="prop-subtitle">
5929 <span class="json-property-type">string</span>
5930 <span class="json-property-range" title="Value limits"></span>
5931 </div>
5e1c08eb
C
5932 </div>
5933 <div class="prop-value">
5934 <p>The comment id </p>
5935 </div>
5936 </div>
5e1c08eb
C
5937 </section>
5938 </div>
5939 <div class="doc-examples"></div>
5940 </div>
5941 <div class="doc-row">
5942 <div class="doc-copy">
5943 <section class="swagger-responses">
5944 <div class="prop-row prop-group">
5945 <div class="prop-name">
5946 <div class="prop-title">200 OK</div>
ab0ee6a1
C
5947 <div class="prop-ref">
5948 <span class="">
5949 <a class="json-schema-ref" href="#/definitions/CommentThreadPostResponse">CommentThreadPostResponse</a>
5950 </span>
5951 </div>
5952 <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> -->
5e1c08eb
C
5953 </div>
5954 <div class="prop-value">
5955 <p>successful operation</p>
5956 </div>
5957 </div>
5958 </section>
5959 </div>
5960 <div class="doc-examples">
5961 <h5>Response Content-Types:
5962 <span>application/json</span>
5963 </h5>
ab0ee6a1
C
5964 <section>
5965 <h5>Response Example
5966 <span>(200 OK)</span>
5967 </h5>
5968 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
5969 <span class="hljs-attr">&quot;comment&quot;</span>: {
5970 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5971 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5972 <span class="hljs-attr">&quot;text&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5973 <span class="hljs-attr">&quot;threadId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5974 <span class="hljs-attr">&quot;inReplyToCommentId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5975 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5976 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5977 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5978 <span class="hljs-attr">&quot;totalReplies&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5979 <span class="hljs-attr">&quot;account&quot;</span>: {
5980 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5981 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5982 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5983 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5984 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5985 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5986 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5987 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5988 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5989 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5990 <span class="hljs-attr">&quot;avatar&quot;</span>: {
5991 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5992 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5993 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
5994 }
5995 }
5996 }
5997}
5998</code></pre>
5999 <!-- </div> -->
6000 </section>
5e1c08eb
C
6001 </div>
6002 </div>
94ff4c23
C
6003 <div class="doc-row">
6004 <div class="doc-copy">
6005 <section class="swagger-request-security">
6006 <table class="table">
6007 <thead>
6008 <tr>
6009 <th class="swagger-request-security-schema"></th>
6010 <th class="swagger-request-security-scopes"></th>
6011 </tr>
6012 </thead>
6013 <tbody>
6014 <tr>
6015 <td>
6016 <a href="#security-definition-OAuth2">OAuth2</a>
6017 </td>
6018 <td> </td>
6019 </tr>
6020 </tbody>
6021 </table>
6022 </section>
6023 </div>
6024 </div>
5e1c08eb 6025 </div>
ab0ee6a1 6026 <div id="operation--videos--videoId--comments--commentId--delete" class="operation panel" data-traverse-target="operation--videos--videoId--comments--commentId--delete">
5e1c08eb
C
6027 <!-- <section class="operation-tags row"> -->
6028 <!-- <div class="doc-copy"> -->
6029 <div class="operation-tags">
6030 <a class="label" href="#tag-VideoComment">VideoComment</a>
6031 <!---->
6032 </div>
6033 <!-- </div> -->
6034 <!-- </section> -->
6035 <h2 class="operation-title">
6036 <span class="operation-name">
6037 <span class="operation-name">DELETE</span>
ab0ee6a1 6038 <span class="operation-path">/videos/{videoId}/comments/{commentId}</span>
5e1c08eb
C
6039 </span>
6040 </h2>
6041 <div class="doc-row">
6042 <div class="doc-copy">
6043 <section class="swagger-request-params">
6044 <div class="prop-row prop-group">
6045 <div class="prop-name">
6046 <div class="prop-title">videoId</div>
6047 <span class="json-property-required"></span>
228e84aa
C
6048 <div class="prop-subtitle"> in path </div>
6049 <div class="prop-subtitle">
6050 <span class="json-property-type">string</span>
6051 <span class="json-property-range" title="Value limits"></span>
6052 </div>
5e1c08eb
C
6053 </div>
6054 <div class="prop-value">
6055 <p>The video id </p>
6056 </div>
6057 </div>
5e1c08eb
C
6058 <div class="prop-row prop-group">
6059 <div class="prop-name">
6060 <div class="prop-title">commentId</div>
6061 <span class="json-property-required"></span>
228e84aa
C
6062 <div class="prop-subtitle"> in path </div>
6063 <div class="prop-subtitle">
6064 <span class="json-property-type">string</span>
6065 <span class="json-property-range" title="Value limits"></span>
6066 </div>
5e1c08eb
C
6067 </div>
6068 <div class="prop-value">
6069 <p>The comment id </p>
6070 </div>
6071 </div>
5e1c08eb
C
6072 </section>
6073 </div>
6074 <div class="doc-examples"></div>
6075 </div>
6076 <div class="doc-row">
6077 <div class="doc-copy">
6078 <section class="swagger-responses">
6079 <div class="prop-row prop-group">
6080 <div class="prop-name">
6081 <div class="prop-title">204 No Content</div>
6082 </div>
6083 <div class="prop-value">
6084 <p>successful operation</p>
6085 </div>
6086 </div>
6087 </section>
6088 </div>
6089 <div class="doc-examples">
6090 <h5>Response Content-Types:
6091 <span>application/json</span>
6092 </h5>
6093 </div>
6094 </div>
94ff4c23
C
6095 <div class="doc-row">
6096 <div class="doc-copy">
6097 <section class="swagger-request-security">
6098 <table class="table">
6099 <thead>
6100 <tr>
6101 <th class="swagger-request-security-schema"></th>
6102 <th class="swagger-request-security-scopes"></th>
6103 </tr>
6104 </thead>
6105 <tbody>
6106 <tr>
6107 <td>
6108 <a href="#security-definition-OAuth2">OAuth2</a>
6109 </td>
6110 <td> </td>
6111 </tr>
6112 </tbody>
6113 </table>
6114 </section>
6115 </div>
6116 </div>
5e1c08eb
C
6117 </div>
6118 <h1 id="tag-VideoRate" class="swagger-summary-tag" data-traverse-target="tag-VideoRate">VideoRate</h1>
ab0ee6a1 6119 <div id="operation--videos--id--rate-put" class="operation panel" data-traverse-target="operation--videos--id--rate-put">
5e1c08eb
C
6120 <!-- <section class="operation-tags row"> -->
6121 <!-- <div class="doc-copy"> -->
6122 <div class="operation-tags">
6123 <a class="label" href="#tag-VideoRate">VideoRate</a>
6124 <!---->
6125 </div>
6126 <!-- </div> -->
6127 <!-- </section> -->
6128 <h2 class="operation-title">
6129 <span class="operation-name">
6130 <span class="operation-name">PUT</span>
ab0ee6a1 6131 <span class="operation-path">/videos/{id}/rate</span>
5e1c08eb
C
6132 </span>
6133 </h2>
6134 <div class="doc-row">
6135 <div class="doc-copy">
6136 <section class="swagger-request-params">
6137 <div class="prop-row prop-group">
6138 <div class="prop-name">
6139 <div class="prop-title">id</div>
6140 <span class="json-property-required"></span>
228e84aa
C
6141 <div class="prop-subtitle"> in path </div>
6142 <div class="prop-subtitle">
6143 <span class="json-property-type">string</span>
6144 <span class="json-property-range" title="Value limits"></span>
6145 </div>
5e1c08eb
C
6146 </div>
6147 <div class="prop-value">
6148 <p>The video id </p>
6149 </div>
6150 </div>
5e1c08eb
C
6151 </section>
6152 </div>
6153 <div class="doc-examples"></div>
6154 </div>
6155 <div class="doc-row">
6156 <div class="doc-copy">
6157 <section class="swagger-responses">
6158 <div class="prop-row prop-group">
6159 <div class="prop-name">
6160 <div class="prop-title">204 No Content</div>
6161 </div>
6162 <div class="prop-value">
6163 <p>successful operation</p>
6164 </div>
6165 </div>
6166 </section>
6167 </div>
6168 <div class="doc-examples">
6169 <h5>Response Content-Types:
6170 <span>application/json</span>
6171 </h5>
6172 </div>
6173 </div>
94ff4c23
C
6174 <div class="doc-row">
6175 <div class="doc-copy">
6176 <section class="swagger-request-security">
6177 <table class="table">
6178 <thead>
6179 <tr>
6180 <th class="swagger-request-security-schema"></th>
6181 <th class="swagger-request-security-scopes"></th>
6182 </tr>
6183 </thead>
6184 <tbody>
6185 <tr>
6186 <td>
6187 <a href="#security-definition-OAuth2">OAuth2</a>
6188 </td>
6189 <td> </td>
6190 </tr>
6191 </tbody>
6192 </table>
6193 </section>
6194 </div>
6195 </div>
5e1c08eb
C
6196 </div>
6197 <h1>Schema Definitions</h1>
48dce1c9 6198 <div id="definition-VideoConstantNumber" class="definition panel" data-traverse-target="definition-VideoConstantNumber">
5d00a3d7 6199 <h2 class="panel-title">
48dce1c9 6200 <a name="/definitions/VideoConstantNumber"></a>VideoConstantNumber:
5d00a3d7
C
6201 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
6202 <span class="json-property-range" title="Value limits"></span>
6203
6204
6205 </span> -->
6206 </h2>
6207 <div class="doc-row">
6208 <div class="doc-copy">
6209 <section class="json-schema-properties">
6210 <dl>
6211 <dt data-property-name="id">
6212 <span class="json-property-name">id:</span>
6213 <span class="json-property-type">number</span>
6214 <span class="json-property-range" title="Value limits"></span>
6215 </dt>
6216 <dt data-property-name="label">
6217 <span class="json-property-name">label:</span>
6218 <span class="json-property-type">string</span>
6219 <span class="json-property-range" title="Value limits"></span>
6220 </dt>
6221 </dl>
6222 </section>
6223 </div>
6224 <div class="doc-examples">
6225 <section>
6226 <h5>Example</h5>
6227 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
6228 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6229 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6230}
48dce1c9
C
6231</code></pre>
6232 <!-- </div> -->
6233 </section>
6234 </div>
6235 </div>
6236 </div>
6237 <div id="definition-VideoConstantString" class="definition panel" data-traverse-target="definition-VideoConstantString">
6238 <h2 class="panel-title">
6239 <a name="/definitions/VideoConstantString"></a>VideoConstantString:
6240 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
6241 <span class="json-property-range" title="Value limits"></span>
6242
6243
6244 </span> -->
6245 </h2>
6246 <div class="doc-row">
6247 <div class="doc-copy">
6248 <section class="json-schema-properties">
6249 <dl>
6250 <dt data-property-name="id">
6251 <span class="json-property-name">id:</span>
6252 <span class="json-property-type">string</span>
6253 <span class="json-property-range" title="Value limits"></span>
6254 </dt>
6255 <dt data-property-name="label">
6256 <span class="json-property-name">label:</span>
6257 <span class="json-property-type">string</span>
6258 <span class="json-property-range" title="Value limits"></span>
6259 </dt>
6260 </dl>
6261 </section>
6262 </div>
6263 <div class="doc-examples">
6264 <section>
6265 <h5>Example</h5>
6266 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
6267 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6268 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6269}
5d00a3d7
C
6270</code></pre>
6271 <!-- </div> -->
6272 </section>
6273 </div>
6274 </div>
6275 </div>
61b66b36
C
6276 <div id="definition-VideoPrivacy" class="definition panel" data-traverse-target="definition-VideoPrivacy">
6277 <h2 class="panel-title">
6278 <a name="/definitions/VideoPrivacy"></a>VideoPrivacy: string
6279 <!-- <span class="json-property-type"><span class="json-property-type">string</span> <span class="json-property-enum" title="Possible values">
6280 <span class="json-property-enum-item">Public</span>,
6281 <span class="json-property-enum-item">Unlisted</span>,
6282 <span class="json-property-enum-item">Private</span>
6283 </span>
6284 <span class="json-property-range" title="Value limits"></span>
6285
6286
6287 </span> -->
6288 </h2>
6289 <div class="doc-row">
6290 <div class="doc-copy">
6291 <span class="json-property-type">string</span>
6292 <span class="json-property-enum" title="Possible values">
6293 <span class="json-property-enum-item">Public</span>,
6294 <span class="json-property-enum-item">Unlisted</span>,
6295 <span class="json-property-enum-item">Private</span>
6296 </span>
6297 <span class="json-property-range" title="Value limits"></span>
6298 </div>
6299 </div>
6300 </div>
5e1c08eb
C
6301 <div id="definition-Video" class="definition panel" data-traverse-target="definition-Video">
6302 <h2 class="panel-title">
6303 <a name="/definitions/Video"></a>Video:
6304 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
6305 <span class="json-property-range" title="Value limits"></span>
6306
6307
6308 </span> -->
6309 </h2>
6310 <div class="doc-row">
6311 <div class="doc-copy">
6312 <section class="json-schema-properties">
6313 <dl>
6314 <dt data-property-name="id">
6315 <span class="json-property-name">id:</span>
6316 <span class="json-property-type">number</span>
6317 <span class="json-property-range" title="Value limits"></span>
6318 </dt>
6319 <dt data-property-name="uuid">
6320 <span class="json-property-name">uuid:</span>
6321 <span class="json-property-type">string</span>
6322 <span class="json-property-range" title="Value limits"></span>
6323 </dt>
5e1c08eb
C
6324 <dt data-property-name="createdAt">
6325 <span class="json-property-name">createdAt:</span>
6326 <span class="json-property-type">string</span>
6327 <span class="json-property-range" title="Value limits"></span>
6328 </dt>
61b66b36
C
6329 <dt data-property-name="publishedAt">
6330 <span class="json-property-name">publishedAt:</span>
6331 <span class="json-property-type">string</span>
6332 <span class="json-property-range" title="Value limits"></span>
6333 </dt>
5e1c08eb
C
6334 <dt data-property-name="updatedAt">
6335 <span class="json-property-name">updatedAt:</span>
6336 <span class="json-property-type">string</span>
6337 <span class="json-property-range" title="Value limits"></span>
6338 </dt>
5e1c08eb
C
6339 <dt data-property-name="category">
6340 <span class="json-property-name">category:</span>
5d00a3d7
C
6341 <span class="json-property-type">
6342 <span class="">
48dce1c9 6343 <a class="json-schema-ref" href="#/definitions/VideoConstantNumber">VideoConstantNumber</a>
5d00a3d7
C
6344 </span>
6345 </span>
5e1c08eb
C
6346 <span class="json-property-range" title="Value limits"></span>
6347 </dt>
6348 <dt data-property-name="licence">
6349 <span class="json-property-name">licence:</span>
5d00a3d7
C
6350 <span class="json-property-type">
6351 <span class="">
48dce1c9 6352 <a class="json-schema-ref" href="#/definitions/VideoConstantNumber">VideoConstantNumber</a>
5d00a3d7
C
6353 </span>
6354 </span>
5e1c08eb
C
6355 <span class="json-property-range" title="Value limits"></span>
6356 </dt>
6357 <dt data-property-name="language">
6358 <span class="json-property-name">language:</span>
5d00a3d7
C
6359 <span class="json-property-type">
6360 <span class="">
48dce1c9 6361 <a class="json-schema-ref" href="#/definitions/VideoConstantString">VideoConstantString</a>
5d00a3d7
C
6362 </span>
6363 </span>
5e1c08eb
C
6364 <span class="json-property-range" title="Value limits"></span>
6365 </dt>
61b66b36
C
6366 <dt data-property-name="privacy">
6367 <span class="json-property-name">privacy:</span>
6368 <span class="json-property-type">
6369 <span class="">
6370 <a class="json-schema-ref" href="#/definitions/VideoPrivacy">VideoPrivacy</a>
6371 </span>
6372 </span>
6373 <span class="json-property-range" title="Value limits"></span>
6374 </dt>
5e1c08eb
C
6375 <dt data-property-name="description">
6376 <span class="json-property-name">description:</span>
6377 <span class="json-property-type">string</span>
6378 <span class="json-property-range" title="Value limits"></span>
6379 </dt>
6380 <dt data-property-name="duration">
6381 <span class="json-property-name">duration:</span>
6382 <span class="json-property-type">number</span>
6383 <span class="json-property-range" title="Value limits"></span>
6384 </dt>
6385 <dt data-property-name="isLocal">
6386 <span class="json-property-name">isLocal:</span>
6387 <span class="json-property-type">boolean</span>
6388 <span class="json-property-range" title="Value limits"></span>
6389 </dt>
6390 <dt data-property-name="name">
6391 <span class="json-property-name">name:</span>
6392 <span class="json-property-type">string</span>
6393 <span class="json-property-range" title="Value limits"></span>
6394 </dt>
5e1c08eb
C
6395 <dt data-property-name="thumbnailPath">
6396 <span class="json-property-name">thumbnailPath:</span>
6397 <span class="json-property-type">string</span>
6398 <span class="json-property-range" title="Value limits"></span>
6399 </dt>
6400 <dt data-property-name="previewPath">
6401 <span class="json-property-name">previewPath:</span>
6402 <span class="json-property-type">string</span>
6403 <span class="json-property-range" title="Value limits"></span>
6404 </dt>
6405 <dt data-property-name="embedPath">
6406 <span class="json-property-name">embedPath:</span>
6407 <span class="json-property-type">string</span>
6408 <span class="json-property-range" title="Value limits"></span>
6409 </dt>
6410 <dt data-property-name="views">
6411 <span class="json-property-name">views:</span>
6412 <span class="json-property-type">number</span>
6413 <span class="json-property-range" title="Value limits"></span>
6414 </dt>
6415 <dt data-property-name="likes">
6416 <span class="json-property-name">likes:</span>
6417 <span class="json-property-type">number</span>
6418 <span class="json-property-range" title="Value limits"></span>
6419 </dt>
6420 <dt data-property-name="dislikes">
6421 <span class="json-property-name">dislikes:</span>
6422 <span class="json-property-type">number</span>
6423 <span class="json-property-range" title="Value limits"></span>
6424 </dt>
6425 <dt data-property-name="nsfw">
6426 <span class="json-property-name">nsfw:</span>
6427 <span class="json-property-type">boolean</span>
6428 <span class="json-property-range" title="Value limits"></span>
6429 </dt>
5d00a3d7
C
6430 <dt data-property-name="account">
6431 <span class="json-property-name">account:</span>
6432 <span class="json-property-type">object</span>
6433 <span class="json-property-range" title="Value limits"></span>
6434 </dt>
ad9e39fb
C
6435 <dt class="json-inner-schema">
6436 <section class="json-schema-properties">
6437 <dl>
6438 <dt data-property-name="name">
6439 <span class="json-property-name">name:</span>
6440 <span class="json-property-type">string</span>
6441 <span class="json-property-range" title="Value limits"></span>
6442 </dt>
6443 <dt data-property-name="displayName">
6444 <span class="json-property-name">displayName:</span>
6445 <span class="json-property-type">string</span>
6446 <span class="json-property-range" title="Value limits"></span>
6447 </dt>
6448 <dt data-property-name="url">
6449 <span class="json-property-name">url:</span>
6450 <span class="json-property-type">string</span>
6451 <span class="json-property-range" title="Value limits"></span>
6452 </dt>
6453 <dt data-property-name="host">
6454 <span class="json-property-name">host:</span>
6455 <span class="json-property-type">string</span>
6456 <span class="json-property-range" title="Value limits"></span>
6457 </dt>
6458 <dt data-property-name="avatar">
6459 <span class="json-property-name">avatar:</span>
6460 <span class="json-property-type">
6461 <span class="">
6462 <a class="json-schema-ref" href="#/definitions/Avatar">Avatar</a>
6463 </span>
6464 </span>
6465 <span class="json-property-range" title="Value limits"></span>
6466 </dt>
6467 </dl>
6468 </section>
6469 </dt>
5e1c08eb
C
6470 </dl>
6471 </section>
6472 </div>
6473 <div class="doc-examples">
6474 <section>
6475 <h5>Example</h5>
6476 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
6477 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6478 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb 6479 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
61b66b36 6480 <span class="hljs-attr">&quot;publishedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb 6481 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5d00a3d7
C
6482 <span class="hljs-attr">&quot;category&quot;</span>: {
6483 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6484 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6485 },
6486 <span class="hljs-attr">&quot;licence&quot;</span>: {
6487 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6488 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6489 },
6490 <span class="hljs-attr">&quot;language&quot;</span>: {
48dce1c9 6491 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5d00a3d7
C
6492 <span class="hljs-attr">&quot;label&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6493 },
61b66b36 6494 <span class="hljs-attr">&quot;privacy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb
C
6495 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6496 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6497 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
6498 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5e1c08eb
C
6499 <span class="hljs-attr">&quot;thumbnailPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6500 <span class="hljs-attr">&quot;previewPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6501 <span class="hljs-attr">&quot;embedPath&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6502 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6503 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6504 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
61b66b36
C
6505 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
6506 <span class="hljs-attr">&quot;account&quot;</span>: {
6507 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6508 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6509 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6510 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6511 <span class="hljs-attr">&quot;avatar&quot;</span>: {
6512 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6513 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6514 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6515 }
6516 }
5e1c08eb
C
6517}
6518</code></pre>
6519 <!-- </div> -->
6520 </section>
6521 </div>
6522 </div>
6523 </div>
6524 <div id="definition-VideoAbuse" class="definition panel" data-traverse-target="definition-VideoAbuse">
6525 <h2 class="panel-title">
6526 <a name="/definitions/VideoAbuse"></a>VideoAbuse:
6527 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
6528 <span class="json-property-range" title="Value limits"></span>
6529
6530
6531 </span> -->
6532 </h2>
6533 <div class="doc-row">
6534 <div class="doc-copy">
6535 <section class="json-schema-properties">
6536 <dl>
6537 <dt data-property-name="id">
6538 <span class="json-property-name">id:</span>
6539 <span class="json-property-type">number</span>
6540 <span class="json-property-range" title="Value limits"></span>
6541 </dt>
6542 <dt data-property-name="reason">
6543 <span class="json-property-name">reason:</span>
6544 <span class="json-property-type">string</span>
6545 <span class="json-property-range" title="Value limits"></span>
6546 </dt>
5d00a3d7
C
6547 <dt data-property-name="reporterAccount">
6548 <span class="json-property-name">reporterAccount:</span>
6549 <span class="json-property-type">
6550 <span class="">
6551 <a class="json-schema-ref" href="#/definitions/Account">Account</a>
6552 </span>
6553 </span>
5e1c08eb
C
6554 <span class="json-property-range" title="Value limits"></span>
6555 </dt>
5d00a3d7
C
6556 <dt data-property-name="video">
6557 <span class="json-property-name">video:</span>
6558 <span class="json-property-type">object</span>
5e1c08eb
C
6559 <span class="json-property-range" title="Value limits"></span>
6560 </dt>
ad9e39fb
C
6561 <dt class="json-inner-schema">
6562 <section class="json-schema-properties">
6563 <dl>
6564 <dt data-property-name="id">
6565 <span class="json-property-name">id:</span>
6566 <span class="json-property-type">number</span>
6567 <span class="json-property-range" title="Value limits"></span>
6568 </dt>
6569 <dt data-property-name="name">
6570 <span class="json-property-name">name:</span>
6571 <span class="json-property-type">string</span>
6572 <span class="json-property-range" title="Value limits"></span>
6573 </dt>
6574 <dt data-property-name="uuid">
6575 <span class="json-property-name">uuid:</span>
6576 <span class="json-property-type">string</span>
6577 <span class="json-property-range" title="Value limits"></span>
6578 </dt>
6579 <dt data-property-name="url">
6580 <span class="json-property-name">url:</span>
6581 <span class="json-property-type">string</span>
6582 <span class="json-property-range" title="Value limits"></span>
6583 </dt>
6584 </dl>
6585 </section>
6586 </dt>
5e1c08eb
C
6587 <dt data-property-name="createdAt">
6588 <span class="json-property-name">createdAt:</span>
6589 <span class="json-property-type">string</span>
6590 <span class="json-property-range" title="Value limits"></span>
6591 </dt>
6592 </dl>
6593 </section>
6594 </div>
6595 <div class="doc-examples">
6596 <section>
6597 <h5>Example</h5>
6598 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
6599 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6600 <span class="hljs-attr">&quot;reason&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
5d00a3d7
C
6601 <span class="hljs-attr">&quot;reporterAccount&quot;</span>: {
6602 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6603 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6604 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6605 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6606 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6607 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6608 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6609 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6610 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6611 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6612 <span class="hljs-attr">&quot;avatar&quot;</span>: {
6613 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6614 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6615 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6616 }
6617 },
61b66b36
C
6618 <span class="hljs-attr">&quot;video&quot;</span>: {
6619 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6620 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6621 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6622 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6623 },
5e1c08eb
C
6624 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6625}
6626</code></pre>
6627 <!-- </div> -->
6628 </section>
6629 </div>
6630 </div>
6631 </div>
6632 <div id="definition-VideoBlacklist" class="definition panel" data-traverse-target="definition-VideoBlacklist">
6633 <h2 class="panel-title">
6634 <a name="/definitions/VideoBlacklist"></a>VideoBlacklist:
6635 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
6636 <span class="json-property-range" title="Value limits"></span>
6637
6638
6639 </span> -->
6640 </h2>
6641 <div class="doc-row">
6642 <div class="doc-copy">
6643 <section class="json-schema-properties">
6644 <dl>
6645 <dt data-property-name="id">
6646 <span class="json-property-name">id:</span>
6647 <span class="json-property-type">number</span>
6648 <span class="json-property-range" title="Value limits"></span>
6649 </dt>
6650 <dt data-property-name="videoId">
6651 <span class="json-property-name">videoId:</span>
6652 <span class="json-property-type">number</span>
6653 <span class="json-property-range" title="Value limits"></span>
6654 </dt>
6655 <dt data-property-name="createdAt">
6656 <span class="json-property-name">createdAt:</span>
6657 <span class="json-property-type">string</span>
6658 <span class="json-property-range" title="Value limits"></span>
6659 </dt>
6660 <dt data-property-name="updatedAt">
6661 <span class="json-property-name">updatedAt:</span>
6662 <span class="json-property-type">string</span>
6663 <span class="json-property-range" title="Value limits"></span>
6664 </dt>
6665 <dt data-property-name="name">
6666 <span class="json-property-name">name:</span>
6667 <span class="json-property-type">string</span>
6668 <span class="json-property-range" title="Value limits"></span>
6669 </dt>
6670 <dt data-property-name="uuid">
6671 <span class="json-property-name">uuid:</span>
6672 <span class="json-property-type">string</span>
6673 <span class="json-property-range" title="Value limits"></span>
6674 </dt>
6675 <dt data-property-name="description">
6676 <span class="json-property-name">description:</span>
6677 <span class="json-property-type">string</span>
6678 <span class="json-property-range" title="Value limits"></span>
6679 </dt>
6680 <dt data-property-name="duration">
6681 <span class="json-property-name">duration:</span>
6682 <span class="json-property-type">number</span>
6683 <span class="json-property-range" title="Value limits"></span>
6684 </dt>
6685 <dt data-property-name="views">
6686 <span class="json-property-name">views:</span>
6687 <span class="json-property-type">number</span>
6688 <span class="json-property-range" title="Value limits"></span>
6689 </dt>
6690 <dt data-property-name="likes">
6691 <span class="json-property-name">likes:</span>
6692 <span class="json-property-type">number</span>
6693 <span class="json-property-range" title="Value limits"></span>
6694 </dt>
6695 <dt data-property-name="dislikes">
6696 <span class="json-property-name">dislikes:</span>
6697 <span class="json-property-type">number</span>
6698 <span class="json-property-range" title="Value limits"></span>
6699 </dt>
6700 <dt data-property-name="nsfw">
6701 <span class="json-property-name">nsfw:</span>
6702 <span class="json-property-type">boolean</span>
6703 <span class="json-property-range" title="Value limits"></span>
6704 </dt>
6705 </dl>
6706 </section>
6707 </div>
6708 <div class="doc-examples">
6709 <section>
6710 <h5>Example</h5>
6711 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
6712 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6713 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6714 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6715 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6716 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6717 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6718 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6719 <span class="hljs-attr">&quot;duration&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6720 <span class="hljs-attr">&quot;views&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6721 <span class="hljs-attr">&quot;likes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6722 <span class="hljs-attr">&quot;dislikes&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6723 <span class="hljs-attr">&quot;nsfw&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>
6724}
6725</code></pre>
6726 <!-- </div> -->
6727 </section>
6728 </div>
6729 </div>
6730 </div>
6731 <div id="definition-VideoChannel" class="definition panel" data-traverse-target="definition-VideoChannel">
6732 <h2 class="panel-title">
6733 <a name="/definitions/VideoChannel"></a>VideoChannel:
6734 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
6735 <span class="json-property-range" title="Value limits"></span>
6736
6737
6738 </span> -->
6739 </h2>
6740 <div class="doc-row">
6741 <div class="doc-copy">
6742 <section class="json-schema-properties">
6743 <dl>
6744 <dt data-property-name="displayName">
6745 <span class="json-property-name">displayName:</span>
6746 <span class="json-property-type">string</span>
6747 <span class="json-property-range" title="Value limits"></span>
6748 </dt>
6749 <dt data-property-name="description">
6750 <span class="json-property-name">description:</span>
6751 <span class="json-property-type">string</span>
6752 <span class="json-property-range" title="Value limits"></span>
6753 </dt>
6754 <dt data-property-name="isLocal">
6755 <span class="json-property-name">isLocal:</span>
6756 <span class="json-property-type">boolean</span>
6757 <span class="json-property-range" title="Value limits"></span>
6758 </dt>
cc918ac3
C
6759 <dt data-property-name="ownerAccount">
6760 <span class="json-property-name">ownerAccount:</span>
5e1c08eb
C
6761 <span class="json-property-type">object</span>
6762 <span class="json-property-range" title="Value limits"></span>
6763 </dt>
ad9e39fb
C
6764 <dt class="json-inner-schema">
6765 <section class="json-schema-properties">
6766 <dl>
6767 <dt data-property-name="id">
6768 <span class="json-property-name">id:</span>
6769 <span class="json-property-type">number</span>
6770 <span class="json-property-range" title="Value limits"></span>
6771 </dt>
6772 <dt data-property-name="uuid">
6773 <span class="json-property-name">uuid:</span>
6774 <span class="json-property-type">string</span>
6775 <span class="json-property-range" title="Value limits"></span>
6776 </dt>
6777 </dl>
6778 </section>
6779 </dt>
5e1c08eb
C
6780 </dl>
6781 </section>
6782 </div>
6783 <div class="doc-examples">
6784 <section>
6785 <h5>Example</h5>
6786 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
6787 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6788 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6789 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
cc918ac3
C
6790 <span class="hljs-attr">&quot;ownerAccount&quot;</span>: {
6791 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5e1c08eb 6792 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
cc918ac3 6793 }
5e1c08eb
C
6794}
6795</code></pre>
6796 <!-- </div> -->
6797 </section>
6798 </div>
6799 </div>
6800 </div>
6801 <div id="definition-VideoComment" class="definition panel" data-traverse-target="definition-VideoComment">
6802 <h2 class="panel-title">
6803 <a name="/definitions/VideoComment"></a>VideoComment:
6804 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
6805 <span class="json-property-range" title="Value limits"></span>
6806
6807
6808 </span> -->
6809 </h2>
6810 <div class="doc-row">
6811 <div class="doc-copy">
6812 <section class="json-schema-properties">
6813 <dl>
6814 <dt data-property-name="id">
6815 <span class="json-property-name">id:</span>
6816 <span class="json-property-type">number</span>
6817 <span class="json-property-range" title="Value limits"></span>
6818 </dt>
6819 <dt data-property-name="url">
6820 <span class="json-property-name">url:</span>
6821 <span class="json-property-type">string</span>
6822 <span class="json-property-range" title="Value limits"></span>
6823 </dt>
6824 <dt data-property-name="text">
6825 <span class="json-property-name">text:</span>
6826 <span class="json-property-type">string</span>
6827 <span class="json-property-range" title="Value limits"></span>
6828 </dt>
6829 <dt data-property-name="threadId">
6830 <span class="json-property-name">threadId:</span>
6831 <span class="json-property-type">number</span>
6832 <span class="json-property-range" title="Value limits"></span>
6833 </dt>
6834 <dt data-property-name="inReplyToCommentId">
6835 <span class="json-property-name">inReplyToCommentId:</span>
6836 <span class="json-property-type">number</span>
6837 <span class="json-property-range" title="Value limits"></span>
6838 </dt>
6839 <dt data-property-name="videoId">
6840 <span class="json-property-name">videoId:</span>
6841 <span class="json-property-type">number</span>
6842 <span class="json-property-range" title="Value limits"></span>
6843 </dt>
6844 <dt data-property-name="createdAt">
6845 <span class="json-property-name">createdAt:</span>
6846 <span class="json-property-type">string</span>
6847 <span class="json-property-range" title="Value limits"></span>
6848 </dt>
6849 <dt data-property-name="updatedAt">
6850 <span class="json-property-name">updatedAt:</span>
6851 <span class="json-property-type">string</span>
6852 <span class="json-property-range" title="Value limits"></span>
6853 </dt>
6854 <dt data-property-name="totalReplies">
6855 <span class="json-property-name">totalReplies:</span>
6856 <span class="json-property-type">number</span>
6857 <span class="json-property-range" title="Value limits"></span>
6858 </dt>
6859 <dt data-property-name="account">
6860 <span class="json-property-name">account:</span>
6861 <span class="json-property-type">
6862 <span class="">
6863 <a class="json-schema-ref" href="#/definitions/Account">Account</a>
6864 </span>
6865 </span>
6866 <span class="json-property-range" title="Value limits"></span>
6867 </dt>
6868 </dl>
6869 </section>
6870 </div>
6871 <div class="doc-examples">
6872 <section>
6873 <h5>Example</h5>
6874 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
6875 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6876 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6877 <span class="hljs-attr">&quot;text&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6878 <span class="hljs-attr">&quot;threadId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6879 <span class="hljs-attr">&quot;inReplyToCommentId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6880 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6881 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6882 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6883 <span class="hljs-attr">&quot;totalReplies&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6884 <span class="hljs-attr">&quot;account&quot;</span>: {
6885 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6886 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6887 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6888 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6889 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6890 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6891 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6892 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6893 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6894 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6895 <span class="hljs-attr">&quot;avatar&quot;</span>: {
6896 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6897 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6898 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6899 }
6900 }
6901}
6902</code></pre>
6903 <!-- </div> -->
6904 </section>
6905 </div>
6906 </div>
6907 </div>
6908 <div id="definition-VideoCommentThreadTree" class="definition panel" data-traverse-target="definition-VideoCommentThreadTree">
6909 <h2 class="panel-title">
6910 <a name="/definitions/VideoCommentThreadTree"></a>VideoCommentThreadTree:
6911 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
6912 <span class="json-property-range" title="Value limits"></span>
6913
6914
6915 </span> -->
6916 </h2>
6917 <div class="doc-row">
6918 <div class="doc-copy">
6919 <section class="json-schema-properties">
6920 <dl>
6921 <dt data-property-name="comment">
6922 <span class="json-property-name">comment:</span>
6923 <span class="json-property-type">
6924 <span class="">
6925 <a class="json-schema-ref" href="#/definitions/VideoComment">VideoComment</a>
6926 </span>
6927 </span>
6928 <span class="json-property-range" title="Value limits"></span>
6929 </dt>
6930 <dt data-property-name="children">
6931 <span class="json-property-name">children:</span>
6932 <span class="json-property-type">
6933 <span class="json-schema-ref-array">
6934 <a class="json-schema-ref" href="#/definitions/VideoCommentThreadTree">VideoCommentThreadTree</a>
6935 </span>
6936 </span>
6937 <span class="json-property-range" title="Value limits"></span>
6938 </dt>
ad9e39fb
C
6939 <dt class="json-inner-schema">
6940 <section class="json-schema-array-items">
6941 <span class="json-property-type">
6942 <span class="">
6943 <a class="json-schema-ref" href="#/definitions/VideoCommentThreadTree">VideoCommentThreadTree</a>
6944 </span>
6945 </span>
6946 <span class="json-property-range" title="Value limits"></span>
6947 <div class="json-inner-schema"> </div>
6948 </section>
6949 </dt>
5e1c08eb
C
6950 </dl>
6951 </section>
6952 </div>
6953 <div class="doc-examples">
6954 <section>
6955 <h5>Example</h5>
6956 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
6957 <span class="hljs-attr">&quot;comment&quot;</span>: {
6958 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6959 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6960 <span class="hljs-attr">&quot;text&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6961 <span class="hljs-attr">&quot;threadId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6962 <span class="hljs-attr">&quot;inReplyToCommentId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6963 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6964 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6965 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6966 <span class="hljs-attr">&quot;totalReplies&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6967 <span class="hljs-attr">&quot;account&quot;</span>: {
6968 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6969 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6970 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6971 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6972 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6973 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6974 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6975 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6976 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6977 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6978 <span class="hljs-attr">&quot;avatar&quot;</span>: {
6979 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6980 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6981 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
6982 }
6983 }
6984 },
6985 <span class="hljs-attr">&quot;children&quot;</span>: [
6986 {
6987 <span class="hljs-attr">&quot;comment&quot;</span>: {
6988 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6989 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6990 <span class="hljs-attr">&quot;text&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6991 <span class="hljs-attr">&quot;threadId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6992 <span class="hljs-attr">&quot;inReplyToCommentId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6993 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6994 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6995 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6996 <span class="hljs-attr">&quot;totalReplies&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
6997 <span class="hljs-attr">&quot;account&quot;</span>: {
6998 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
6999 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7000 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7001 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7002 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7003 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7004 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7005 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7006 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7007 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7008 <span class="hljs-attr">&quot;avatar&quot;</span>: {
7009 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7010 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7011 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7012 }
7013 }
7014 },
7015 <span class="hljs-attr">&quot;children&quot;</span>: [
7016 {
7017 <span class="hljs-attr">&quot;comment&quot;</span>: {
7018 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7019 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7020 <span class="hljs-attr">&quot;text&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7021 <span class="hljs-attr">&quot;threadId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7022 <span class="hljs-attr">&quot;inReplyToCommentId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7023 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7024 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7025 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7026 <span class="hljs-attr">&quot;totalReplies&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7027 <span class="hljs-attr">&quot;account&quot;</span>: {
7028 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7029 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7030 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7031 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7032 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7033 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7034 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7035 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7036 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7037 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7038 <span class="hljs-attr">&quot;avatar&quot;</span>: {
7039 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7040 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7041 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7042 }
7043 }
7044 }
7045 }
7046 ]
7047 }
7048 ]
7049}
7050</code></pre>
7051 <!-- </div> -->
7052 </section>
7053 </div>
7054 </div>
7055 </div>
7056 <div id="definition-Avatar" class="definition panel" data-traverse-target="definition-Avatar">
7057 <h2 class="panel-title">
7058 <a name="/definitions/Avatar"></a>Avatar:
7059 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
7060 <span class="json-property-range" title="Value limits"></span>
7061
7062
7063 </span> -->
7064 </h2>
7065 <div class="doc-row">
7066 <div class="doc-copy">
7067 <section class="json-schema-properties">
7068 <dl>
7069 <dt data-property-name="path">
7070 <span class="json-property-name">path:</span>
7071 <span class="json-property-type">string</span>
7072 <span class="json-property-range" title="Value limits"></span>
7073 </dt>
7074 <dt data-property-name="createdAt">
7075 <span class="json-property-name">createdAt:</span>
7076 <span class="json-property-type">string</span>
7077 <span class="json-property-range" title="Value limits"></span>
7078 </dt>
7079 <dt data-property-name="updatedAt">
7080 <span class="json-property-name">updatedAt:</span>
7081 <span class="json-property-type">string</span>
7082 <span class="json-property-range" title="Value limits"></span>
7083 </dt>
7084 </dl>
7085 </section>
7086 </div>
7087 <div class="doc-examples">
7088 <section>
7089 <h5>Example</h5>
7090 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
7091 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7092 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7093 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7094}
7095</code></pre>
7096 <!-- </div> -->
7097 </section>
7098 </div>
7099 </div>
7100 </div>
7101 <div id="definition-Actor" class="definition panel" data-traverse-target="definition-Actor">
7102 <h2 class="panel-title">
7103 <a name="/definitions/Actor"></a>Actor:
7104 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
7105 <span class="json-property-range" title="Value limits"></span>
7106
7107
7108 </span> -->
7109 </h2>
7110 <div class="doc-row">
7111 <div class="doc-copy">
7112 <section class="json-schema-properties">
7113 <dl>
7114 <dt data-property-name="id">
7115 <span class="json-property-name">id:</span>
7116 <span class="json-property-type">number</span>
7117 <span class="json-property-range" title="Value limits"></span>
7118 </dt>
7119 <dt data-property-name="uuid">
7120 <span class="json-property-name">uuid:</span>
7121 <span class="json-property-type">string</span>
7122 <span class="json-property-range" title="Value limits"></span>
7123 </dt>
7124 <dt data-property-name="url">
7125 <span class="json-property-name">url:</span>
7126 <span class="json-property-type">string</span>
7127 <span class="json-property-range" title="Value limits"></span>
7128 </dt>
7129 <dt data-property-name="name">
7130 <span class="json-property-name">name:</span>
7131 <span class="json-property-type">string</span>
7132 <span class="json-property-range" title="Value limits"></span>
7133 </dt>
7134 <dt data-property-name="host">
7135 <span class="json-property-name">host:</span>
7136 <span class="json-property-type">string</span>
7137 <span class="json-property-range" title="Value limits"></span>
7138 </dt>
7139 <dt data-property-name="followingCount">
7140 <span class="json-property-name">followingCount:</span>
7141 <span class="json-property-type">number</span>
7142 <span class="json-property-range" title="Value limits"></span>
7143 </dt>
7144 <dt data-property-name="followersCount">
7145 <span class="json-property-name">followersCount:</span>
7146 <span class="json-property-type">number</span>
7147 <span class="json-property-range" title="Value limits"></span>
7148 </dt>
7149 <dt data-property-name="createdAt">
7150 <span class="json-property-name">createdAt:</span>
7151 <span class="json-property-type">string</span>
7152 <span class="json-property-range" title="Value limits"></span>
7153 </dt>
7154 <dt data-property-name="updatedAt">
7155 <span class="json-property-name">updatedAt:</span>
7156 <span class="json-property-type">string</span>
7157 <span class="json-property-range" title="Value limits"></span>
7158 </dt>
7159 <dt data-property-name="avatar">
7160 <span class="json-property-name">avatar:</span>
7161 <span class="json-property-type">
7162 <span class="">
7163 <a class="json-schema-ref" href="#/definitions/Avatar">Avatar</a>
7164 </span>
7165 </span>
7166 <span class="json-property-range" title="Value limits"></span>
7167 </dt>
7168 </dl>
7169 </section>
7170 </div>
7171 <div class="doc-examples">
7172 <section>
7173 <h5>Example</h5>
7174 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
7175 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7176 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7177 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7178 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7179 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7180 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7181 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7182 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7183 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7184 <span class="hljs-attr">&quot;avatar&quot;</span>: {
7185 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7186 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7187 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7188 }
7189}
7190</code></pre>
7191 <!-- </div> -->
7192 </section>
7193 </div>
7194 </div>
7195 </div>
7196 <div id="definition-Account" class="definition panel" data-traverse-target="definition-Account">
7197 <h2 class="panel-title">
7198 <a name="/definitions/Account"></a>Account:
7199 <!-- <span class="json-property-type"><span class="json-property-type"></span>
7200 <span class="json-property-range" title="Value limits"></span>
7201
7202
7203 </span> -->
7204 </h2>
7205 <div class="doc-row">
7206 <div class="doc-copy">
7207 <section class="json-schema-allOf">
7208 <section class="json-schema-allOf-inherited">
7209 <ul>
7210 <span class="">
7211 <a class="json-schema-ref" href="#/definitions/Actor">Actor</a>
7212 </span>
7213 </ul>
7214 </section>
7215 <section class="json-schema-allOf-additional">
7216 <section class="json-schema-properties">
7217 <dl>
7218 <dt data-property-name="displayName">
7219 <span class="json-property-name">displayName:</span>
7220 <span class="json-property-type">string</span>
7221 <span class="json-property-range" title="Value limits"></span>
7222 </dt>
7223 </dl>
7224 </section>
7225 </section>
7226 </section>
7227 </div>
7228 <div class="doc-examples">
7229 <section>
7230 <h5>Example</h5>
7231 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
7232 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7233 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7234 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7235 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7236 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7237 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7238 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7239 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7240 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7241 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7242 <span class="hljs-attr">&quot;avatar&quot;</span>: {
7243 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7244 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7245 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7246 }
7247}
7248</code></pre>
7249 <!-- </div> -->
7250 </section>
7251 </div>
7252 </div>
7253 </div>
7254 <div id="definition-User" class="definition panel" data-traverse-target="definition-User">
7255 <h2 class="panel-title">
7256 <a name="/definitions/User"></a>User:
7257 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
7258 <span class="json-property-range" title="Value limits"></span>
7259
7260
7261 </span> -->
7262 </h2>
7263 <div class="doc-row">
7264 <div class="doc-copy">
7265 <section class="json-schema-properties">
7266 <dl>
7267 <dt data-property-name="id">
7268 <span class="json-property-name">id:</span>
7269 <span class="json-property-type">number</span>
7270 <span class="json-property-range" title="Value limits"></span>
7271 </dt>
7272 <dt data-property-name="username">
7273 <span class="json-property-name">username:</span>
7274 <span class="json-property-type">string</span>
7275 <span class="json-property-range" title="Value limits"></span>
7276 </dt>
7277 <dt data-property-name="email">
7278 <span class="json-property-name">email:</span>
7279 <span class="json-property-type">string</span>
7280 <span class="json-property-range" title="Value limits"></span>
7281 </dt>
7282 <dt data-property-name="displayNSFW">
7283 <span class="json-property-name">displayNSFW:</span>
7284 <span class="json-property-type">boolean</span>
7285 <span class="json-property-range" title="Value limits"></span>
7286 </dt>
7287 <dt data-property-name="autoPlayVideo">
7288 <span class="json-property-name">autoPlayVideo:</span>
7289 <span class="json-property-type">boolean</span>
7290 <span class="json-property-range" title="Value limits"></span>
7291 </dt>
7292 <dt data-property-name="role">
7293 <span class="json-property-name">role:</span>
7294 <span class="json-property-type">string</span>
7295 <span class="json-property-enum" title="Possible values">
7296 <span class="json-property-enum-item">User</span>,
7297 <span class="json-property-enum-item">Moderator</span>,
7298 <span class="json-property-enum-item">Administrator</span>
7299 </span>
7300 <span class="json-property-range" title="Value limits"></span>
7301 </dt>
7302 <dt data-property-name="videoQuota">
7303 <span class="json-property-name">videoQuota:</span>
7304 <span class="json-property-type">number</span>
7305 <span class="json-property-range" title="Value limits"></span>
7306 </dt>
7307 <dt data-property-name="createdAt">
7308 <span class="json-property-name">createdAt:</span>
7309 <span class="json-property-type">string</span>
7310 <span class="json-property-range" title="Value limits"></span>
7311 </dt>
7312 <dt data-property-name="account">
7313 <span class="json-property-name">account:</span>
7314 <span class="json-property-type">
7315 <span class="">
7316 <a class="json-schema-ref" href="#/definitions/Account">Account</a>
7317 </span>
7318 </span>
7319 <span class="json-property-range" title="Value limits"></span>
7320 </dt>
7321 <dt data-property-name="videoChannels">
7322 <span class="json-property-name">videoChannels:</span>
7323 <span class="json-property-type">
7324 <span class="json-schema-ref-array">
7325 <a class="json-schema-ref" href="#/definitions/VideoChannel">VideoChannel</a>
7326 </span>
7327 </span>
7328 <span class="json-property-range" title="Value limits"></span>
7329 </dt>
ad9e39fb
C
7330 <dt class="json-inner-schema">
7331 <section class="json-schema-array-items">
7332 <span class="json-property-type">
7333 <span class="">
7334 <a class="json-schema-ref" href="#/definitions/VideoChannel">VideoChannel</a>
7335 </span>
7336 </span>
7337 <span class="json-property-range" title="Value limits"></span>
7338 <div class="json-inner-schema"> </div>
7339 </section>
7340 </dt>
5e1c08eb
C
7341 </dl>
7342 </section>
7343 </div>
7344 <div class="doc-examples">
7345 <section>
7346 <h5>Example</h5>
7347 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
7348 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7349 <span class="hljs-attr">&quot;username&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7350 <span class="hljs-attr">&quot;email&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7351 <span class="hljs-attr">&quot;displayNSFW&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
7352 <span class="hljs-attr">&quot;autoPlayVideo&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
7353 <span class="hljs-attr">&quot;role&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7354 <span class="hljs-attr">&quot;videoQuota&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7355 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7356 <span class="hljs-attr">&quot;account&quot;</span>: {
7357 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7358 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7359 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7360 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7361 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7362 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7363 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7364 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7365 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7366 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7367 <span class="hljs-attr">&quot;avatar&quot;</span>: {
7368 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7369 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7370 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7371 }
7372 },
7373 <span class="hljs-attr">&quot;videoChannels&quot;</span>: [
7374 {
7375 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7376 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7377 <span class="hljs-attr">&quot;isLocal&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>,
cc918ac3
C
7378 <span class="hljs-attr">&quot;ownerAccount&quot;</span>: {
7379 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
5e1c08eb 7380 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
cc918ac3 7381 }
5e1c08eb
C
7382 }
7383 ]
7384}
7385</code></pre>
7386 <!-- </div> -->
7387 </section>
7388 </div>
7389 </div>
7390 </div>
7391 <div id="definition-ServerConfig" class="definition panel" data-traverse-target="definition-ServerConfig">
7392 <h2 class="panel-title">
7393 <a name="/definitions/ServerConfig"></a>ServerConfig:
7394 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
7395 <span class="json-property-range" title="Value limits"></span>
7396
7397
7398 </span> -->
7399 </h2>
7400 <div class="doc-row">
7401 <div class="doc-copy">
7402 <section class="json-schema-properties">
7403 <dl>
7404 <dt data-property-name="signup">
7405 <span class="json-property-name">signup:</span>
7406 <span class="json-property-type">object</span>
7407 <span class="json-property-range" title="Value limits"></span>
7408 </dt>
ad9e39fb
C
7409 <dt class="json-inner-schema">
7410 <section class="json-schema-properties">
7411 <dl>
7412 <dt data-property-name="allowed">
7413 <span class="json-property-name">allowed:</span>
7414 <span class="json-property-type">boolean</span>
7415 <span class="json-property-range" title="Value limits"></span>
7416 </dt>
7417 </dl>
7418 </section>
7419 </dt>
5e1c08eb
C
7420 <dt data-property-name="transcoding">
7421 <span class="json-property-name">transcoding:</span>
7422 <span class="json-property-type">object</span>
7423 <span class="json-property-range" title="Value limits"></span>
7424 </dt>
ad9e39fb
C
7425 <dt class="json-inner-schema">
7426 <section class="json-schema-properties">
7427 <dl>
7428 <dt data-property-name="enabledResolutions">
7429 <span class="json-property-name">enabledResolutions:</span>
7430 <span class="json-property-type">number[]</span>
7431 <span class="json-property-range" title="Value limits"></span>
7432 </dt>
7433 <dt class="json-inner-schema">
7434 <section class="json-schema-array-items">
7435 <span class="json-property-type">number</span>
7436 <span class="json-property-range" title="Value limits"></span>
7437 <div class="json-inner-schema"> </div>
7438 </section>
7439 </dt>
7440 </dl>
7441 </section>
7442 </dt>
5e1c08eb
C
7443 <dt data-property-name="avatar">
7444 <span class="json-property-name">avatar:</span>
7445 <span class="json-property-type">object</span>
7446 <span class="json-property-range" title="Value limits"></span>
7447 </dt>
ad9e39fb
C
7448 <dt class="json-inner-schema">
7449 <section class="json-schema-properties">
7450 <dl>
7451 <dt data-property-name="file">
7452 <span class="json-property-name">file:</span>
7453 <span class="json-property-type">object</span>
7454 <span class="json-property-range" title="Value limits"></span>
7455 </dt>
7456 <dt class="json-inner-schema">
7457 <section class="json-schema-properties">
7458 <dl>
7459 <dt data-property-name="size">
7460 <span class="json-property-name">size:</span>
7461 <span class="json-property-type">object</span>
7462 <span class="json-property-range" title="Value limits"></span>
7463 </dt>
7464 <dt class="json-inner-schema">
7465 <section class="json-schema-properties">
7466 <dl>
7467 <dt data-property-name="max">
7468 <span class="json-property-name">max:</span>
7469 <span class="json-property-type">number</span>
7470 <span class="json-property-range" title="Value limits"></span>
7471 </dt>
7472 </dl>
7473 </section>
7474 </dt>
7475 </dl>
7476 </section>
7477 </dt>
7478 <dt data-property-name="extensions">
7479 <span class="json-property-name">extensions:</span>
7480 <span class="json-property-type">string[]</span>
7481 <span class="json-property-range" title="Value limits"></span>
7482 </dt>
7483 <dt class="json-inner-schema">
7484 <section class="json-schema-array-items">
7485 <span class="json-property-type">string</span>
7486 <span class="json-property-range" title="Value limits"></span>
7487 <div class="json-inner-schema"> </div>
7488 </section>
7489 </dt>
7490 </dl>
7491 </section>
7492 </dt>
5e1c08eb
C
7493 <dt data-property-name="video">
7494 <span class="json-property-name">video:</span>
7495 <span class="json-property-type">object</span>
7496 <span class="json-property-range" title="Value limits"></span>
7497 </dt>
ad9e39fb
C
7498 <dt class="json-inner-schema">
7499 <section class="json-schema-properties">
7500 <dl>
7501 <dt data-property-name="file">
7502 <span class="json-property-name">file:</span>
7503 <span class="json-property-type">object</span>
7504 <span class="json-property-range" title="Value limits"></span>
7505 </dt>
7506 <dt class="json-inner-schema">
7507 <section class="json-schema-properties">
7508 <dl>
7509 <dt data-property-name="extensions">
7510 <span class="json-property-name">extensions:</span>
7511 <span class="json-property-type">string[]</span>
7512 <span class="json-property-range" title="Value limits"></span>
7513 </dt>
7514 <dt class="json-inner-schema">
7515 <section class="json-schema-array-items">
7516 <span class="json-property-type">string</span>
7517 <span class="json-property-range" title="Value limits"></span>
7518 <div class="json-inner-schema"> </div>
7519 </section>
7520 </dt>
7521 </dl>
7522 </section>
7523 </dt>
7524 </dl>
7525 </section>
7526 </dt>
5e1c08eb
C
7527 </dl>
7528 </section>
7529 </div>
7530 <div class="doc-examples">
7531 <section>
7532 <h5>Example</h5>
7533 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
7534 <span class="hljs-attr">&quot;signup&quot;</span>: {
7535 <span class="hljs-attr">&quot;allowed&quot;</span>: <span class="hljs-string">&quot;boolean&quot;</span>
7536 },
7537 <span class="hljs-attr">&quot;transcoding&quot;</span>: {
7538 <span class="hljs-attr">&quot;enabledResolutions&quot;</span>: [
7539 <span class="hljs-string">&quot;number&quot;</span>
7540 ]
7541 },
7542 <span class="hljs-attr">&quot;avatar&quot;</span>: {
7543 <span class="hljs-attr">&quot;file&quot;</span>: {
7544 <span class="hljs-attr">&quot;size&quot;</span>: {
7545 <span class="hljs-attr">&quot;max&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>
7546 }
7547 },
7548 <span class="hljs-attr">&quot;extensions&quot;</span>: [
7549 <span class="hljs-string">&quot;string&quot;</span>
7550 ]
7551 },
7552 <span class="hljs-attr">&quot;video&quot;</span>: {
7553 <span class="hljs-attr">&quot;file&quot;</span>: {
7554 <span class="hljs-attr">&quot;extensions&quot;</span>: [
7555 <span class="hljs-string">&quot;string&quot;</span>
7556 ]
7557 }
7558 }
7559}
7560</code></pre>
7561 <!-- </div> -->
7562 </section>
7563 </div>
7564 </div>
7565 </div>
7566 <div id="definition-Follow" class="definition panel" data-traverse-target="definition-Follow">
7567 <h2 class="panel-title">
7568 <a name="/definitions/Follow"></a>Follow:
7569 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
7570 <span class="json-property-range" title="Value limits"></span>
7571
7572
7573 </span> -->
7574 </h2>
7575 <div class="doc-row">
7576 <div class="doc-copy">
7577 <section class="json-schema-properties">
7578 <dl>
7579 <dt data-property-name="id">
7580 <span class="json-property-name">id:</span>
7581 <span class="json-property-type">number</span>
7582 <span class="json-property-range" title="Value limits"></span>
7583 </dt>
7584 <dt data-property-name="follower">
7585 <span class="json-property-name">follower:</span>
7586 <span class="json-property-type">
7587 <span class="">
7588 <a class="json-schema-ref" href="#/definitions/Actor">Actor</a>
7589 </span>
7590 </span>
7591 <span class="json-property-range" title="Value limits"></span>
7592 </dt>
7593 <dt data-property-name="following">
7594 <span class="json-property-name">following:</span>
7595 <span class="json-property-type">
7596 <span class="">
7597 <a class="json-schema-ref" href="#/definitions/Actor">Actor</a>
7598 </span>
7599 </span>
7600 <span class="json-property-range" title="Value limits"></span>
7601 </dt>
7602 <dt data-property-name="score">
7603 <span class="json-property-name">score:</span>
7604 <span class="json-property-type">number</span>
7605 <span class="json-property-range" title="Value limits"></span>
7606 </dt>
7607 <dt data-property-name="state">
7608 <span class="json-property-name">state:</span>
7609 <span class="json-property-type">string</span>
7610 <span class="json-property-enum" title="Possible values">
7611 <span class="json-property-enum-item">pending</span>,
7612 <span class="json-property-enum-item">accepted</span>
7613 </span>
7614 <span class="json-property-range" title="Value limits"></span>
7615 </dt>
7616 <dt data-property-name="createdAt">
7617 <span class="json-property-name">createdAt:</span>
7618 <span class="json-property-type">string</span>
7619 <span class="json-property-range" title="Value limits"></span>
7620 </dt>
7621 <dt data-property-name="updatedAt">
7622 <span class="json-property-name">updatedAt:</span>
7623 <span class="json-property-type">string</span>
7624 <span class="json-property-range" title="Value limits"></span>
7625 </dt>
7626 </dl>
7627 </section>
7628 </div>
7629 <div class="doc-examples">
7630 <section>
7631 <h5>Example</h5>
7632 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
7633 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7634 <span class="hljs-attr">&quot;follower&quot;</span>: {
7635 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7636 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7637 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7638 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7639 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7640 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7641 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7642 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7643 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7644 <span class="hljs-attr">&quot;avatar&quot;</span>: {
7645 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7646 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7647 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7648 }
7649 },
7650 <span class="hljs-attr">&quot;following&quot;</span>: {
7651 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7652 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7653 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7654 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7655 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7656 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7657 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7658 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7659 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7660 <span class="hljs-attr">&quot;avatar&quot;</span>: {
7661 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7662 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7663 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7664 }
7665 },
7666 <span class="hljs-attr">&quot;score&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7667 <span class="hljs-attr">&quot;state&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7668 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7669 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7670}
7671</code></pre>
7672 <!-- </div> -->
7673 </section>
7674 </div>
7675 </div>
7676 </div>
7677 <div id="definition-Job" class="definition panel" data-traverse-target="definition-Job">
7678 <h2 class="panel-title">
7679 <a name="/definitions/Job"></a>Job:
7680 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
7681 <span class="json-property-range" title="Value limits"></span>
7682
7683
7684 </span> -->
7685 </h2>
7686 <div class="doc-row">
7687 <div class="doc-copy">
7688 <section class="json-schema-properties">
7689 <dl>
7690 <dt data-property-name="id">
7691 <span class="json-property-name">id:</span>
7692 <span class="json-property-type">number</span>
7693 <span class="json-property-range" title="Value limits"></span>
7694 </dt>
7695 <dt data-property-name="state">
7696 <span class="json-property-name">state:</span>
7697 <span class="json-property-type">string</span>
7698 <span class="json-property-enum" title="Possible values">
7699 <span class="json-property-enum-item">pending</span>,
7700 <span class="json-property-enum-item">processing</span>,
7701 <span class="json-property-enum-item">error</span>,
7702 <span class="json-property-enum-item">success</span>
7703 </span>
7704 <span class="json-property-range" title="Value limits"></span>
7705 </dt>
7706 <dt data-property-name="category">
7707 <span class="json-property-name">category:</span>
7708 <span class="json-property-type">string</span>
7709 <span class="json-property-enum" title="Possible values">
7710 <span class="json-property-enum-item">transcoding</span>,
7711 <span class="json-property-enum-item">activitypub-http</span>
7712 </span>
7713 <span class="json-property-range" title="Value limits"></span>
7714 </dt>
7715 <dt data-property-name="handlerName">
7716 <span class="json-property-name">handlerName:</span>
7717 <span class="json-property-type">string</span>
7718 <span class="json-property-range" title="Value limits"></span>
7719 </dt>
7720 <dt data-property-name="handlerInputData">
7721 <span class="json-property-name">handlerInputData:</span>
7722 <span class="json-property-type">string</span>
7723 <span class="json-property-range" title="Value limits"></span>
7724 </dt>
7725 <dt data-property-name="createdAt">
7726 <span class="json-property-name">createdAt:</span>
7727 <span class="json-property-type">string</span>
7728 <span class="json-property-range" title="Value limits"></span>
7729 </dt>
7730 <dt data-property-name="updatedAt">
7731 <span class="json-property-name">updatedAt:</span>
7732 <span class="json-property-type">string</span>
7733 <span class="json-property-range" title="Value limits"></span>
7734 </dt>
7735 </dl>
7736 </section>
7737 </div>
7738 <div class="doc-examples">
7739 <section>
7740 <h5>Example</h5>
7741 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
7742 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7743 <span class="hljs-attr">&quot;state&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7744 <span class="hljs-attr">&quot;category&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7745 <span class="hljs-attr">&quot;handlerName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7746 <span class="hljs-attr">&quot;handlerInputData&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7747 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7748 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7749}
7750</code></pre>
7751 <!-- </div> -->
7752 </section>
7753 </div>
7754 </div>
7755 </div>
7756 <div id="definition-AddUserResponse" class="definition panel" data-traverse-target="definition-AddUserResponse">
7757 <h2 class="panel-title">
7758 <a name="/definitions/AddUserResponse"></a>AddUserResponse:
7759 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
7760 <span class="json-property-range" title="Value limits"></span>
7761
7762
7763 </span> -->
7764 </h2>
7765 <div class="doc-row">
7766 <div class="doc-copy">
7767 <section class="json-schema-properties">
7768 <dl>
7769 <dt data-property-name="id">
7770 <span class="json-property-name">id:</span>
7771 <span class="json-property-type">number</span>
7772 <span class="json-property-range" title="Value limits"></span>
7773 </dt>
7774 <dt data-property-name="uuid">
7775 <span class="json-property-name">uuid:</span>
7776 <span class="json-property-type">string</span>
7777 <span class="json-property-range" title="Value limits"></span>
7778 </dt>
7779 </dl>
7780 </section>
7781 </div>
7782 <div class="doc-examples">
7783 <section>
7784 <h5>Example</h5>
7785 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
7786 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7787 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7788}
7789</code></pre>
7790 <!-- </div> -->
7791 </section>
7792 </div>
7793 </div>
7794 </div>
7795 <div id="definition-VideoUploadResponse" class="definition panel" data-traverse-target="definition-VideoUploadResponse">
7796 <h2 class="panel-title">
7797 <a name="/definitions/VideoUploadResponse"></a>VideoUploadResponse:
7798 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
7799 <span class="json-property-range" title="Value limits"></span>
7800
7801
7802 </span> -->
7803 </h2>
7804 <div class="doc-row">
7805 <div class="doc-copy">
7806 <section class="json-schema-properties">
7807 <dl>
61b66b36
C
7808 <dt data-property-name="video">
7809 <span class="json-property-name">video:</span>
7810 <span class="json-property-type">object</span>
5e1c08eb
C
7811 <span class="json-property-range" title="Value limits"></span>
7812 </dt>
ad9e39fb
C
7813 <dt class="json-inner-schema">
7814 <section class="json-schema-properties">
7815 <dl>
7816 <dt data-property-name="id">
7817 <span class="json-property-name">id:</span>
7818 <span class="json-property-type">number</span>
7819 <span class="json-property-range" title="Value limits"></span>
7820 </dt>
7821 <dt data-property-name="uuid">
7822 <span class="json-property-name">uuid:</span>
7823 <span class="json-property-type">string</span>
7824 <span class="json-property-range" title="Value limits"></span>
7825 </dt>
7826 </dl>
7827 </section>
7828 </dt>
5e1c08eb
C
7829 </dl>
7830 </section>
7831 </div>
7832 <div class="doc-examples">
7833 <section>
7834 <h5>Example</h5>
7835 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
61b66b36
C
7836 <span class="hljs-attr">&quot;video&quot;</span>: {
7837 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7838 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7839 }
5e1c08eb 7840}
ab0ee6a1
C
7841</code></pre>
7842 <!-- </div> -->
7843 </section>
7844 </div>
7845 </div>
7846 </div>
7847 <div id="definition-CommentThreadResponse" class="definition panel" data-traverse-target="definition-CommentThreadResponse">
7848 <h2 class="panel-title">
7849 <a name="/definitions/CommentThreadResponse"></a>CommentThreadResponse:
7850 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
7851 <span class="json-property-range" title="Value limits"></span>
7852
7853
7854 </span> -->
7855 </h2>
7856 <div class="doc-row">
7857 <div class="doc-copy">
7858 <section class="json-schema-properties">
7859 <dl>
7860 <dt data-property-name="total">
7861 <span class="json-property-name">total:</span>
7862 <span class="json-property-type">number</span>
7863 <span class="json-property-range" title="Value limits"></span>
7864 </dt>
7865 <dt data-property-name="data">
7866 <span class="json-property-name">data:</span>
7867 <span class="json-property-type">
7868 <span class="json-schema-ref-array">
7869 <a class="json-schema-ref" href="#/definitions/VideoComment">VideoComment</a>
7870 </span>
7871 </span>
7872 <span class="json-property-range" title="Value limits"></span>
7873 </dt>
ad9e39fb
C
7874 <dt class="json-inner-schema">
7875 <section class="json-schema-array-items">
7876 <span class="json-property-type">
7877 <span class="">
7878 <a class="json-schema-ref" href="#/definitions/VideoComment">VideoComment</a>
7879 </span>
7880 </span>
7881 <span class="json-property-range" title="Value limits"></span>
7882 <div class="json-inner-schema"> </div>
7883 </section>
7884 </dt>
ab0ee6a1
C
7885 </dl>
7886 </section>
7887 </div>
7888 <div class="doc-examples">
7889 <section>
7890 <h5>Example</h5>
7891 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
7892 <span class="hljs-attr">&quot;total&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7893 <span class="hljs-attr">&quot;data&quot;</span>: [
7894 {
7895 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7896 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7897 <span class="hljs-attr">&quot;text&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7898 <span class="hljs-attr">&quot;threadId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7899 <span class="hljs-attr">&quot;inReplyToCommentId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7900 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7901 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7902 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7903 <span class="hljs-attr">&quot;totalReplies&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7904 <span class="hljs-attr">&quot;account&quot;</span>: {
7905 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7906 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7907 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7908 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7909 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7910 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7911 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7912 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7913 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7914 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7915 <span class="hljs-attr">&quot;avatar&quot;</span>: {
7916 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7917 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7918 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7919 }
7920 }
7921 }
7922 ]
7923}
7924</code></pre>
7925 <!-- </div> -->
7926 </section>
7927 </div>
7928 </div>
7929 </div>
7930 <div id="definition-CommentThreadPostResponse" class="definition panel" data-traverse-target="definition-CommentThreadPostResponse">
7931 <h2 class="panel-title">
7932 <a name="/definitions/CommentThreadPostResponse"></a>CommentThreadPostResponse:
7933 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
7934 <span class="json-property-range" title="Value limits"></span>
7935
7936
7937 </span> -->
7938 </h2>
7939 <div class="doc-row">
7940 <div class="doc-copy">
7941 <section class="json-schema-properties">
7942 <dl>
7943 <dt data-property-name="comment">
7944 <span class="json-property-name">comment:</span>
7945 <span class="json-property-type">
7946 <span class="">
7947 <a class="json-schema-ref" href="#/definitions/VideoComment">VideoComment</a>
7948 </span>
7949 </span>
7950 <span class="json-property-range" title="Value limits"></span>
7951 </dt>
7952 </dl>
7953 </section>
7954 </div>
7955 <div class="doc-examples">
7956 <section>
7957 <h5>Example</h5>
7958 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
7959 <span class="hljs-attr">&quot;comment&quot;</span>: {
7960 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7961 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7962 <span class="hljs-attr">&quot;text&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7963 <span class="hljs-attr">&quot;threadId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7964 <span class="hljs-attr">&quot;inReplyToCommentId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7965 <span class="hljs-attr">&quot;videoId&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7966 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7967 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7968 <span class="hljs-attr">&quot;totalReplies&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7969 <span class="hljs-attr">&quot;account&quot;</span>: {
7970 <span class="hljs-attr">&quot;displayName&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7971 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7972 <span class="hljs-attr">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7973 <span class="hljs-attr">&quot;url&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7974 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7975 <span class="hljs-attr">&quot;host&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7976 <span class="hljs-attr">&quot;followingCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7977 <span class="hljs-attr">&quot;followersCount&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>,
7978 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7979 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7980 <span class="hljs-attr">&quot;avatar&quot;</span>: {
7981 <span class="hljs-attr">&quot;path&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7982 <span class="hljs-attr">&quot;createdAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
7983 <span class="hljs-attr">&quot;updatedAt&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
7984 }
7985 }
7986 }
7987}
5e1c08eb
C
7988</code></pre>
7989 <!-- </div> -->
7990 </section>
7991 </div>
7992 </div>
7993 </div>
7994 <div id="definition-AddUser" class="definition panel" data-traverse-target="definition-AddUser">
7995 <h2 class="panel-title">
7996 <a name="/definitions/AddUser"></a>AddUser:
7997 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
7998 <span class="json-property-range" title="Value limits"></span>
7999
8000
8001 </span> -->
8002 </h2>
8003 <div class="doc-row">
8004 <div class="doc-copy">
8005 <section class="json-schema-properties">
8006 <dl>
8007 <dt data-property-name="username" class="has-description">
8008 <span class="json-property-name">username:</span>
8009 <span class="json-property-type">string</span>
8010 <span class="json-property-range" title="Value limits"></span>
8011 <span class="json-property-required"></span>
8012 </dt>
8013 <dd>
8014 <p>The user username </p>
8015 </dd>
8016 <dt data-property-name="password" class="has-description">
8017 <span class="json-property-name">password:</span>
8018 <span class="json-property-type">string</span>
8019 <span class="json-property-range" title="Value limits"></span>
8020 <span class="json-property-required"></span>
8021 </dt>
8022 <dd>
8023 <p>The user password </p>
8024 </dd>
8025 <dt data-property-name="email" class="has-description">
8026 <span class="json-property-name">email:</span>
8027 <span class="json-property-type">string</span>
8028 <span class="json-property-range" title="Value limits"></span>
8029 <span class="json-property-required"></span>
8030 </dt>
8031 <dd>
8032 <p>The user email </p>
8033 </dd>
8034 <dt data-property-name="videoQuota" class="has-description">
8035 <span class="json-property-name">videoQuota:</span>
8036 <span class="json-property-type">string</span>
8037 <span class="json-property-range" title="Value limits"></span>
8038 <span class="json-property-required"></span>
8039 </dt>
8040 <dd>
8041 <p>The user videoQuota </p>
8042 </dd>
8043 <dt data-property-name="role" class="has-description">
8044 <span class="json-property-name">role:</span>
8045 <span class="json-property-type">string</span>
8046 <span class="json-property-range" title="Value limits"></span>
8047 <span class="json-property-required"></span>
8048 </dt>
8049 <dd>
8050 <p>The user role </p>
8051 </dd>
8052 </dl>
8053 </section>
8054 </div>
8055 <div class="doc-examples">
8056 <section>
8057 <h5>Example</h5>
8058 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
8059 <span class="hljs-attr">&quot;username&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8060 <span class="hljs-attr">&quot;password&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8061 <span class="hljs-attr">&quot;email&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8062 <span class="hljs-attr">&quot;videoQuota&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8063 <span class="hljs-attr">&quot;role&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
8064}
8065</code></pre>
8066 <!-- </div> -->
8067 </section>
8068 </div>
8069 </div>
8070 </div>
8071 <div id="definition-UpdateUser" class="definition panel" data-traverse-target="definition-UpdateUser">
8072 <h2 class="panel-title">
8073 <a name="/definitions/UpdateUser"></a>UpdateUser:
8074 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
8075 <span class="json-property-range" title="Value limits"></span>
8076
8077
8078 </span> -->
8079 </h2>
8080 <div class="doc-row">
8081 <div class="doc-copy">
8082 <section class="json-schema-properties">
8083 <dl>
8084 <dt data-property-name="id" class="has-description">
8085 <span class="json-property-name">id:</span>
8086 <span class="json-property-type">string</span>
8087 <span class="json-property-range" title="Value limits"></span>
8088 <span class="json-property-required"></span>
8089 </dt>
8090 <dd>
8091 <p>The user id </p>
8092 </dd>
8093 <dt data-property-name="email" class="has-description">
8094 <span class="json-property-name">email:</span>
8095 <span class="json-property-type">string</span>
8096 <span class="json-property-range" title="Value limits"></span>
8097 <span class="json-property-required"></span>
8098 </dt>
8099 <dd>
8100 <p>The updated email of the user </p>
8101 </dd>
8102 <dt data-property-name="videoQuota" class="has-description">
8103 <span class="json-property-name">videoQuota:</span>
8104 <span class="json-property-type">string</span>
8105 <span class="json-property-range" title="Value limits"></span>
8106 <span class="json-property-required"></span>
8107 </dt>
8108 <dd>
8109 <p>The updated videoQuota of the user </p>
8110 </dd>
8111 <dt data-property-name="role" class="has-description">
8112 <span class="json-property-name">role:</span>
8113 <span class="json-property-type">string</span>
8114 <span class="json-property-range" title="Value limits"></span>
8115 <span class="json-property-required"></span>
8116 </dt>
8117 <dd>
8118 <p>The updated role of the user </p>
8119 </dd>
8120 </dl>
8121 </section>
8122 </div>
8123 <div class="doc-examples">
8124 <section>
8125 <h5>Example</h5>
8126 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
8127 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8128 <span class="hljs-attr">&quot;email&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8129 <span class="hljs-attr">&quot;videoQuota&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8130 <span class="hljs-attr">&quot;role&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
8131}
8132</code></pre>
8133 <!-- </div> -->
8134 </section>
8135 </div>
8136 </div>
8137 </div>
8138 <div id="definition-UpdateMe" class="definition panel" data-traverse-target="definition-UpdateMe">
8139 <h2 class="panel-title">
8140 <a name="/definitions/UpdateMe"></a>UpdateMe:
8141 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
8142 <span class="json-property-range" title="Value limits"></span>
8143
8144
8145 </span> -->
8146 </h2>
8147 <div class="doc-row">
8148 <div class="doc-copy">
8149 <section class="json-schema-properties">
8150 <dl>
8151 <dt data-property-name="password" class="has-description">
8152 <span class="json-property-name">password:</span>
8153 <span class="json-property-type">string</span>
8154 <span class="json-property-range" title="Value limits"></span>
8155 <span class="json-property-required"></span>
8156 </dt>
8157 <dd>
8158 <p>Your new password </p>
8159 </dd>
8160 <dt data-property-name="email" class="has-description">
8161 <span class="json-property-name">email:</span>
8162 <span class="json-property-type">string</span>
8163 <span class="json-property-range" title="Value limits"></span>
8164 <span class="json-property-required"></span>
8165 </dt>
8166 <dd>
8167 <p>Your new email </p>
8168 </dd>
8169 <dt data-property-name="displayNSFW" class="has-description">
8170 <span class="json-property-name">displayNSFW:</span>
8171 <span class="json-property-type">string</span>
8172 <span class="json-property-range" title="Value limits"></span>
8173 <span class="json-property-required"></span>
8174 </dt>
8175 <dd>
8176 <p>Your new displayNSFW </p>
8177 </dd>
8178 <dt data-property-name="autoPlayVideo" class="has-description">
8179 <span class="json-property-name">autoPlayVideo:</span>
8180 <span class="json-property-type">string</span>
8181 <span class="json-property-range" title="Value limits"></span>
8182 <span class="json-property-required"></span>
8183 </dt>
8184 <dd>
8185 <p>Your new autoPlayVideo </p>
8186 </dd>
8187 </dl>
8188 </section>
8189 </div>
8190 <div class="doc-examples">
8191 <section>
8192 <h5>Example</h5>
8193 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
8194 <span class="hljs-attr">&quot;password&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8195 <span class="hljs-attr">&quot;email&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8196 <span class="hljs-attr">&quot;displayNSFW&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8197 <span class="hljs-attr">&quot;autoPlayVideo&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
8198}
8199</code></pre>
8200 <!-- </div> -->
8201 </section>
8202 </div>
8203 </div>
8204 </div>
8205 <div id="definition-GetMeVideoRating" class="definition panel" data-traverse-target="definition-GetMeVideoRating">
8206 <h2 class="panel-title">
8207 <a name="/definitions/GetMeVideoRating"></a>GetMeVideoRating:
8208 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
8209 <span class="json-property-range" title="Value limits"></span>
8210
8211
8212 </span> -->
8213 </h2>
8214 <div class="doc-row">
8215 <div class="doc-copy">
8216 <section class="json-schema-properties">
8217 <dl>
8218 <dt data-property-name="id" class="has-description">
8219 <span class="json-property-name">id:</span>
8220 <span class="json-property-type">string</span>
8221 <span class="json-property-range" title="Value limits"></span>
8222 <span class="json-property-required"></span>
8223 </dt>
8224 <dd>
8225 <p>Id of the video </p>
8226 </dd>
8227 <dt data-property-name="rating" class="has-description">
8228 <span class="json-property-name">rating:</span>
8229 <span class="json-property-type">number</span>
8230 <span class="json-property-range" title="Value limits"></span>
8231 <span class="json-property-required"></span>
8232 </dt>
8233 <dd>
8234 <p>Rating of the video </p>
8235 </dd>
8236 </dl>
8237 </section>
8238 </div>
8239 <div class="doc-examples">
8240 <section>
8241 <h5>Example</h5>
8242 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
8243 <span class="hljs-attr">&quot;id&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8244 <span class="hljs-attr">&quot;rating&quot;</span>: <span class="hljs-string">&quot;number&quot;</span>
8245}
8246</code></pre>
8247 <!-- </div> -->
8248 </section>
8249 </div>
8250 </div>
8251 </div>
8252 <div id="definition-RegisterUser" class="definition panel" data-traverse-target="definition-RegisterUser">
8253 <h2 class="panel-title">
8254 <a name="/definitions/RegisterUser"></a>RegisterUser:
8255 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
8256 <span class="json-property-range" title="Value limits"></span>
8257
8258
8259 </span> -->
8260 </h2>
8261 <div class="doc-row">
8262 <div class="doc-copy">
8263 <section class="json-schema-properties">
8264 <dl>
8265 <dt data-property-name="username" class="has-description">
8266 <span class="json-property-name">username:</span>
8267 <span class="json-property-type">string</span>
8268 <span class="json-property-range" title="Value limits"></span>
8269 <span class="json-property-required"></span>
8270 </dt>
8271 <dd>
8272 <p>The username of the user </p>
8273 </dd>
8274 <dt data-property-name="password" class="has-description">
8275 <span class="json-property-name">password:</span>
8276 <span class="json-property-type">string</span>
8277 <span class="json-property-range" title="Value limits"></span>
8278 <span class="json-property-required"></span>
8279 </dt>
8280 <dd>
8281 <p>The password of the user </p>
8282 </dd>
8283 <dt data-property-name="email" class="has-description">
8284 <span class="json-property-name">email:</span>
8285 <span class="json-property-type">string</span>
8286 <span class="json-property-range" title="Value limits"></span>
8287 <span class="json-property-required"></span>
8288 </dt>
8289 <dd>
8290 <p>The email of the user </p>
8291 </dd>
8292 </dl>
8293 </section>
8294 </div>
8295 <div class="doc-examples">
8296 <section>
8297 <h5>Example</h5>
8298 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
8299 <span class="hljs-attr">&quot;username&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8300 <span class="hljs-attr">&quot;password&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8301 <span class="hljs-attr">&quot;email&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
8302}
8303</code></pre>
8304 <!-- </div> -->
8305 </section>
8306 </div>
8307 </div>
8308 </div>
8309 <div id="definition-VideoChannelInput" class="definition panel" data-traverse-target="definition-VideoChannelInput">
8310 <h2 class="panel-title">
8311 <a name="/definitions/VideoChannelInput"></a>VideoChannelInput:
8312 <!-- <span class="json-property-type"><span class="json-property-type">object</span>
8313 <span class="json-property-range" title="Value limits"></span>
8314
8315
8316 </span> -->
8317 </h2>
8318 <div class="doc-row">
8319 <div class="doc-copy">
8320 <section class="json-schema-properties">
8321 <dl>
8322 <dt data-property-name="name">
8323 <span class="json-property-name">name:</span>
8324 <span class="json-property-type">string</span>
8325 <span class="json-property-range" title="Value limits"></span>
8326 </dt>
8327 <dt data-property-name="description">
8328 <span class="json-property-name">description:</span>
8329 <span class="json-property-type">string</span>
8330 <span class="json-property-range" title="Value limits"></span>
8331 </dt>
8332 </dl>
8333 </section>
8334 </div>
8335 <div class="doc-examples">
8336 <section>
8337 <h5>Example</h5>
8338 <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{
8339 <span class="hljs-attr">&quot;name&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
8340 <span class="hljs-attr">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>
8341}
8342</code></pre>
8343 <!-- </div> -->
8344 </section>
8345 </div>
8346 </div>
8347 </div>
8348 <div class="doc-row no-margin">
8349 <div class="doc-copy doc-separator">
8350 <a class="powered-by" href="https://sourcey.com/spectacle">Documentation by
8351 <span>Spectacle</span>
8352 </a>
8353 </div>
8354 </div>
8355 </article>
8356 </div>
8357 </div>
8358 </body>
8359</html>