]>
Commit | Line | Data |
---|---|---|
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> | |
28 | <a href="#operation--accounts--id--get"> GET /accounts/{id} </a> | |
29 | </li> | |
cc918ac3 C |
30 | <li> |
31 | <a href="#operation--accounts--id--videos-get"> GET /accounts/{id}/videos </a> | |
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> | |
cc918ac3 | 208 | <a href="#operation--accounts--accountId--video-channels-get"> GET /accounts/{accountId}/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 C |
335 | <h1 id="tag-Accounts" class="swagger-summary-tag" data-traverse-target="tag-Accounts">Accounts</h1> |
336 | <div id="operation--accounts--id--get" class="operation panel" data-traverse-target="operation--accounts--id--get"> | |
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> | |
348 | <span class="operation-path">/accounts/{id}</span> | |
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"> | |
356 | <div class="prop-title">id</div> | |
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"> | |
365 | <p>The id of the account</p> | |
366 | </div> | |
367 | </div> | |
ab0ee6a1 C |
368 | <div class="prop-row prop-group"> |
369 | <div class="prop-name"> | |
370 | <div class="prop-title">start</div> | |
228e84aa C |
371 | <div class="prop-subtitle"> in query </div> |
372 | <div class="prop-subtitle"> | |
373 | <span class="json-property-type">number</span> | |
374 | <span class="json-property-range" title="Value limits"></span> | |
375 | </div> | |
ab0ee6a1 C |
376 | </div> |
377 | <div class="prop-value"> | |
378 | <p>starting page</p> | |
379 | </div> | |
380 | </div> | |
ab0ee6a1 C |
381 | <div class="prop-row prop-group"> |
382 | <div class="prop-name"> | |
383 | <div class="prop-title">stop</div> | |
228e84aa C |
384 | <div class="prop-subtitle"> in query </div> |
385 | <div class="prop-subtitle"> | |
386 | <span class="json-property-type">number</span> | |
387 | <span class="json-property-range" title="Value limits"></span> | |
388 | </div> | |
ab0ee6a1 C |
389 | </div> |
390 | <div class="prop-value"> | |
f209b32a | 391 | <p>stopping page</p> |
ab0ee6a1 C |
392 | </div> |
393 | </div> | |
ab0ee6a1 C |
394 | <div class="prop-row prop-group"> |
395 | <div class="prop-name"> | |
396 | <div class="prop-title">sort</div> | |
228e84aa C |
397 | <div class="prop-subtitle"> in query </div> |
398 | <div class="prop-subtitle"> | |
399 | <span class="json-property-type">number</span> | |
400 | <span class="json-property-range" title="Value limits"></span> | |
401 | </div> | |
ab0ee6a1 C |
402 | </div> |
403 | <div class="prop-value"> | |
404 | <p>sorting</p> | |
405 | </div> | |
406 | </div> | |
5e1c08eb C |
407 | </section> |
408 | </div> | |
409 | <div class="doc-examples"></div> | |
410 | </div> | |
411 | <div class="doc-row"> | |
412 | <div class="doc-copy"> | |
413 | <section class="swagger-responses"> | |
414 | <div class="prop-row prop-group"> | |
415 | <div class="prop-name"> | |
416 | <div class="prop-title">200 OK</div> | |
417 | <div class="prop-ref"> | |
418 | <span class=""> | |
419 | <a class="json-schema-ref" href="#/definitions/Account">Account</a> | |
420 | </span> | |
421 | </div> | |
422 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
423 | </div> | |
424 | <div class="prop-value"> | |
425 | <p>successful operation</p> | |
426 | </div> | |
427 | </div> | |
428 | </section> | |
429 | </div> | |
430 | <div class="doc-examples"> | |
431 | <h5>Response Content-Types: | |
432 | <span>application/json</span> | |
433 | </h5> | |
434 | <section> | |
435 | <h5>Response Example | |
436 | <span>(200 OK)</span> | |
437 | </h5> | |
438 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
439 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
440 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
441 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
442 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
443 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
444 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
445 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
446 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
447 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
448 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
449 | <span class="hljs-attr">"avatar"</span>: { | |
450 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
451 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
452 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
453 | } | |
454 | } | |
cc918ac3 C |
455 | </code></pre> |
456 | <!-- </div> --> | |
457 | </section> | |
458 | </div> | |
459 | </div> | |
460 | </div> | |
461 | <div id="operation--accounts--id--videos-get" class="operation panel" data-traverse-target="operation--accounts--id--videos-get"> | |
462 | <!-- <section class="operation-tags row"> --> | |
463 | <!-- <div class="doc-copy"> --> | |
464 | <div class="operation-tags"> | |
465 | <a class="label" href="#tag-Accounts">Accounts</a> | |
466 | <!----> | |
467 | </div> | |
468 | <!-- </div> --> | |
469 | <!-- </section> --> | |
470 | <h2 class="operation-title"> | |
471 | <span class="operation-name"> | |
472 | <span class="operation-name">GET</span> | |
473 | <span class="operation-path">/accounts/{id}/videos</span> | |
474 | </span> | |
475 | </h2> | |
476 | <div class="doc-row"> | |
477 | <div class="doc-copy"> | |
478 | <section class="swagger-request-params"> | |
479 | <div class="prop-row prop-group"> | |
480 | <div class="prop-name"> | |
481 | <div class="prop-title">id</div> | |
482 | <span class="json-property-required"></span> | |
483 | <div class="prop-subtitle"> in path </div> | |
484 | <div class="prop-subtitle"> | |
485 | <span class="json-property-type">string</span> | |
486 | <span class="json-property-range" title="Value limits"></span> | |
487 | </div> | |
488 | </div> | |
489 | <div class="prop-value"> | |
490 | <p>The id of the account</p> | |
491 | </div> | |
492 | </div> | |
493 | </section> | |
494 | </div> | |
495 | <div class="doc-examples"></div> | |
496 | </div> | |
497 | <div class="doc-row"> | |
498 | <div class="doc-copy"> | |
499 | <section class="swagger-responses"> | |
500 | <div class="prop-row prop-group"> | |
501 | <div class="prop-name"> | |
502 | <div class="prop-title">200 OK</div> | |
503 | <div class="prop-ref"> | |
504 | <span class=""> | |
505 | <a class="json-schema-ref" href="#/definitions/Video">Video</a> | |
506 | </span> | |
507 | </div> | |
508 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
509 | </div> | |
510 | <div class="prop-value"> | |
511 | <p>successful operation</p> | |
512 | </div> | |
513 | </div> | |
514 | </section> | |
515 | </div> | |
516 | <div class="doc-examples"> | |
517 | <h5>Response Content-Types: | |
518 | <span>application/json</span> | |
519 | </h5> | |
520 | <section> | |
521 | <h5>Response Example | |
522 | <span>(200 OK)</span> | |
523 | </h5> | |
524 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
525 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
526 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
527 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
528 | <span class="hljs-attr">"publishedAt"</span>: <span class="hljs-string">"string"</span>, | |
529 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
530 | <span class="hljs-attr">"category"</span>: { | |
531 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
532 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
533 | }, | |
534 | <span class="hljs-attr">"licence"</span>: { | |
535 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
536 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
537 | }, | |
538 | <span class="hljs-attr">"language"</span>: { | |
539 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"string"</span>, | |
540 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
541 | }, | |
542 | <span class="hljs-attr">"privacy"</span>: <span class="hljs-string">"string"</span>, | |
543 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
544 | <span class="hljs-attr">"duration"</span>: <span class="hljs-string">"number"</span>, | |
545 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
546 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
547 | <span class="hljs-attr">"thumbnailPath"</span>: <span class="hljs-string">"string"</span>, | |
548 | <span class="hljs-attr">"previewPath"</span>: <span class="hljs-string">"string"</span>, | |
549 | <span class="hljs-attr">"embedPath"</span>: <span class="hljs-string">"string"</span>, | |
550 | <span class="hljs-attr">"views"</span>: <span class="hljs-string">"number"</span>, | |
551 | <span class="hljs-attr">"likes"</span>: <span class="hljs-string">"number"</span>, | |
552 | <span class="hljs-attr">"dislikes"</span>: <span class="hljs-string">"number"</span>, | |
553 | <span class="hljs-attr">"nsfw"</span>: <span class="hljs-string">"boolean"</span>, | |
554 | <span class="hljs-attr">"account"</span>: { | |
555 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
556 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
557 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
558 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
559 | <span class="hljs-attr">"avatar"</span>: { | |
560 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
561 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
562 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
563 | } | |
564 | } | |
565 | } | |
5e1c08eb C |
566 | </code></pre> |
567 | <!-- </div> --> | |
568 | </section> | |
569 | </div> | |
570 | </div> | |
571 | </div> | |
572 | <div id="operation--accounts-get" class="operation panel" data-traverse-target="operation--accounts-get"> | |
573 | <!-- <section class="operation-tags row"> --> | |
574 | <!-- <div class="doc-copy"> --> | |
575 | <div class="operation-tags"> | |
576 | <a class="label" href="#tag-Accounts">Accounts</a> | |
577 | <!----> | |
578 | </div> | |
579 | <!-- </div> --> | |
580 | <!-- </section> --> | |
581 | <h2 class="operation-title"> | |
582 | <span class="operation-name"> | |
583 | <span class="operation-name">GET</span> | |
584 | <span class="operation-path">/accounts</span> | |
585 | </span> | |
586 | </h2> | |
587 | <div class="doc-row"> | |
588 | <div class="doc-copy"> </div> | |
589 | <div class="doc-examples"></div> | |
590 | </div> | |
591 | <div class="doc-row"> | |
592 | <div class="doc-copy"> | |
593 | <section class="swagger-responses"> | |
594 | <div class="prop-row prop-group"> | |
595 | <div class="prop-name"> | |
596 | <div class="prop-title">200 OK</div> | |
597 | <div class="prop-ref"> | |
598 | <span class="json-schema-ref-array"> | |
599 | <a class="json-schema-ref" href="#/definitions/Account">Account</a> | |
600 | </span> | |
601 | </div> | |
602 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
603 | </div> | |
604 | <div class="prop-value"> | |
605 | <p>successful operation</p> | |
606 | </div> | |
607 | </div> | |
228e84aa C |
608 | <div class="prop-row prop-inner"> |
609 | <div class="prop-name">type</div> | |
610 | <div class="prop-value"> | |
611 | <span class="json-property-type"> | |
612 | <span class="json-schema-ref-array"> | |
613 | <a class="json-schema-ref" href="#/definitions/Account">Account</a> | |
614 | </span> | |
615 | </span> | |
616 | <span class="json-property-range" title="Value limits"></span> | |
617 | </div> | |
618 | </div> | |
5e1c08eb C |
619 | </section> |
620 | </div> | |
621 | <div class="doc-examples"> | |
622 | <h5>Response Content-Types: | |
623 | <span>application/json</span> | |
624 | </h5> | |
625 | <section> | |
626 | <h5>Response Example | |
627 | <span>(200 OK)</span> | |
628 | </h5> | |
629 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
630 | { | |
631 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
632 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
633 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
634 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
635 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
636 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
637 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
638 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
639 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
640 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
641 | <span class="hljs-attr">"avatar"</span>: { | |
642 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
643 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
644 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
645 | } | |
646 | } | |
647 | ] | |
648 | </code></pre> | |
649 | <!-- </div> --> | |
650 | </section> | |
651 | </div> | |
652 | </div> | |
653 | </div> | |
654 | <h1 id="tag-Config" class="swagger-summary-tag" data-traverse-target="tag-Config">Config</h1> | |
655 | <div id="operation--config-get" class="operation panel" data-traverse-target="operation--config-get"> | |
656 | <!-- <section class="operation-tags row"> --> | |
657 | <!-- <div class="doc-copy"> --> | |
658 | <div class="operation-tags"> | |
659 | <a class="label" href="#tag-Config">Config</a> | |
660 | <!----> | |
661 | </div> | |
662 | <!-- </div> --> | |
663 | <!-- </section> --> | |
664 | <h2 class="operation-title"> | |
665 | <span class="operation-name"> | |
666 | <span class="operation-name">GET</span> | |
667 | <span class="operation-path">/config</span> | |
668 | </span> | |
669 | </h2> | |
670 | <div class="doc-row"> | |
671 | <div class="doc-copy"> </div> | |
672 | <div class="doc-examples"></div> | |
673 | </div> | |
674 | <div class="doc-row"> | |
675 | <div class="doc-copy"> | |
676 | <section class="swagger-responses"> | |
677 | <div class="prop-row prop-group"> | |
678 | <div class="prop-name"> | |
679 | <div class="prop-title">200 OK</div> | |
680 | <div class="prop-ref"> | |
681 | <span class=""> | |
682 | <a class="json-schema-ref" href="#/definitions/ServerConfig">ServerConfig</a> | |
683 | </span> | |
684 | </div> | |
685 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
686 | </div> | |
687 | <div class="prop-value"> | |
688 | <p>successful operation</p> | |
689 | </div> | |
690 | </div> | |
691 | </section> | |
692 | </div> | |
693 | <div class="doc-examples"> | |
694 | <h5>Response Content-Types: | |
695 | <span>application/json</span> | |
696 | </h5> | |
697 | <section> | |
698 | <h5>Response Example | |
699 | <span>(200 OK)</span> | |
700 | </h5> | |
701 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
702 | <span class="hljs-attr">"signup"</span>: { | |
703 | <span class="hljs-attr">"allowed"</span>: <span class="hljs-string">"boolean"</span> | |
704 | }, | |
705 | <span class="hljs-attr">"transcoding"</span>: { | |
706 | <span class="hljs-attr">"enabledResolutions"</span>: [ | |
707 | <span class="hljs-string">"number"</span> | |
708 | ] | |
709 | }, | |
710 | <span class="hljs-attr">"avatar"</span>: { | |
711 | <span class="hljs-attr">"file"</span>: { | |
712 | <span class="hljs-attr">"size"</span>: { | |
713 | <span class="hljs-attr">"max"</span>: <span class="hljs-string">"number"</span> | |
714 | } | |
715 | }, | |
716 | <span class="hljs-attr">"extensions"</span>: [ | |
717 | <span class="hljs-string">"string"</span> | |
718 | ] | |
719 | }, | |
720 | <span class="hljs-attr">"video"</span>: { | |
721 | <span class="hljs-attr">"file"</span>: { | |
722 | <span class="hljs-attr">"extensions"</span>: [ | |
723 | <span class="hljs-string">"string"</span> | |
724 | ] | |
725 | } | |
726 | } | |
727 | } | |
728 | </code></pre> | |
729 | <!-- </div> --> | |
730 | </section> | |
731 | </div> | |
732 | </div> | |
733 | </div> | |
48dce1c9 C |
734 | <h1 id="tag-Feeds" class="swagger-summary-tag" data-traverse-target="tag-Feeds">Feeds</h1> |
735 | <div id="operation--feeds-videos.-format--get" class="operation panel" data-traverse-target="operation--feeds-videos.-format--get"> | |
736 | <!-- <section class="operation-tags row"> --> | |
737 | <!-- <div class="doc-copy"> --> | |
738 | <div class="operation-tags"> | |
739 | <a class="label" href="#tag-Feeds">Feeds</a> | |
740 | <!----> | |
741 | </div> | |
742 | <!-- </div> --> | |
743 | <!-- </section> --> | |
744 | <h2 class="operation-title"> | |
745 | <span class="operation-name"> | |
746 | <span class="operation-name">GET</span> | |
747 | <span class="operation-path">/feeds/videos.{format}</span> | |
748 | </span> | |
749 | </h2> | |
750 | <div class="doc-row"> | |
751 | <div class="doc-copy"> | |
752 | <section class="swagger-request-params"> | |
753 | <div class="prop-row prop-group"> | |
754 | <div class="prop-name"> | |
755 | <div class="prop-title">format</div> | |
756 | <span class="json-property-required"></span> | |
757 | <div class="prop-subtitle"> in path </div> | |
758 | <div class="prop-subtitle"> | |
759 | <span class="json-property-type">string</span> | |
760 | <span class="json-property-enum" title="Possible values"> | |
761 | <span class="json-property-enum-item json-property-enum-default-value">xml</span>, | |
762 | <span class="json-property-enum-item">atom</span>, | |
763 | <span class="json-property-enum-item">json</span> | |
764 | </span> | |
765 | <span class="json-property-range" title="Value limits"></span> | |
766 | <span class="json-property-default-value" title="Default value">xml</span> | |
767 | </div> | |
768 | </div> | |
769 | <div class="prop-value"> | |
770 | <p>The format expected (xml defaults to RSS 2.0, atom to ATOM 1.0 and json to JSON FEED 1.0</p> | |
771 | </div> | |
772 | </div> | |
773 | <div class="prop-row prop-group"> | |
774 | <div class="prop-name"> | |
775 | <div class="prop-title">accountId</div> | |
776 | <div class="prop-subtitle"> in query </div> | |
777 | <div class="prop-subtitle"> | |
778 | <span class="json-property-type">number</span> | |
779 | <span class="json-property-range" title="Value limits"></span> | |
780 | </div> | |
781 | </div> | |
782 | <div class="prop-value"> | |
783 | <p>The id of the local account to filter to (beware, users IDs and not actors IDs which will return empty feeds</p> | |
784 | </div> | |
785 | </div> | |
786 | <div class="prop-row prop-group"> | |
787 | <div class="prop-name"> | |
788 | <div class="prop-title">accountName</div> | |
789 | <div class="prop-subtitle"> in query </div> | |
790 | <div class="prop-subtitle"> | |
791 | <span class="json-property-type">string</span> | |
792 | <span class="json-property-range" title="Value limits"></span> | |
793 | </div> | |
794 | </div> | |
795 | <div class="prop-value"> | |
796 | <p>The name of the local account to filter to</p> | |
797 | </div> | |
798 | </div> | |
799 | </section> | |
800 | </div> | |
801 | <div class="doc-examples"></div> | |
802 | </div> | |
803 | <div class="doc-row"> | |
804 | <div class="doc-copy"> | |
805 | <section class="swagger-responses"> | |
806 | <div class="prop-row prop-group"> | |
807 | <div class="prop-name"> | |
808 | <div class="prop-title">200 OK</div> | |
809 | </div> | |
810 | <div class="prop-value"> | |
811 | <p>successful operation</p> | |
812 | </div> | |
813 | </div> | |
814 | </section> | |
815 | </div> | |
816 | <div class="doc-examples"> | |
817 | <h5>Response Content-Types: | |
818 | <span>application/atom+xml, application/rss+xml, application/json</span> | |
819 | </h5> | |
820 | </div> | |
821 | </div> | |
822 | </div> | |
5e1c08eb C |
823 | <h1 id="tag-Job" class="swagger-summary-tag" data-traverse-target="tag-Job">Job</h1> |
824 | <div id="operation--jobs-get" class="operation panel" data-traverse-target="operation--jobs-get"> | |
825 | <!-- <section class="operation-tags row"> --> | |
826 | <!-- <div class="doc-copy"> --> | |
827 | <div class="operation-tags"> | |
828 | <a class="label" href="#tag-Job">Job</a> | |
829 | <!----> | |
830 | </div> | |
831 | <!-- </div> --> | |
832 | <!-- </section> --> | |
833 | <h2 class="operation-title"> | |
834 | <span class="operation-name"> | |
835 | <span class="operation-name">GET</span> | |
836 | <span class="operation-path">/jobs</span> | |
837 | </span> | |
838 | </h2> | |
839 | <div class="doc-row"> | |
ab0ee6a1 C |
840 | <div class="doc-copy"> |
841 | <section class="swagger-request-params"> | |
842 | <div class="prop-row prop-group"> | |
843 | <div class="prop-name"> | |
844 | <div class="prop-title">state</div> | |
845 | <span class="json-property-required"></span> | |
228e84aa C |
846 | <div class="prop-subtitle"> in path </div> |
847 | <div class="prop-subtitle"> | |
848 | <span class="json-property-type">string</span> | |
849 | <span class="json-property-range" title="Value limits"></span> | |
850 | </div> | |
ab0ee6a1 C |
851 | </div> |
852 | <div class="prop-value"> | |
853 | <p>The id of the account</p> | |
854 | </div> | |
855 | </div> | |
ab0ee6a1 C |
856 | <div class="prop-row prop-group"> |
857 | <div class="prop-name"> | |
858 | <div class="prop-title">start</div> | |
228e84aa C |
859 | <div class="prop-subtitle"> in query </div> |
860 | <div class="prop-subtitle"> | |
861 | <span class="json-property-type">number</span> | |
862 | <span class="json-property-range" title="Value limits"></span> | |
863 | </div> | |
ab0ee6a1 C |
864 | </div> |
865 | <div class="prop-value"> | |
866 | <p>starting page</p> | |
867 | </div> | |
868 | </div> | |
ab0ee6a1 C |
869 | <div class="prop-row prop-group"> |
870 | <div class="prop-name"> | |
871 | <div class="prop-title">count</div> | |
228e84aa C |
872 | <div class="prop-subtitle"> in query </div> |
873 | <div class="prop-subtitle"> | |
874 | <span class="json-property-type">number</span> | |
875 | <span class="json-property-range" title="Value limits"></span> | |
876 | </div> | |
ab0ee6a1 C |
877 | </div> |
878 | <div class="prop-value"> | |
879 | <p class="no-description">(no description)</p> | |
880 | </div> | |
881 | </div> | |
ab0ee6a1 C |
882 | <div class="prop-row prop-group"> |
883 | <div class="prop-name"> | |
884 | <div class="prop-title">sort</div> | |
228e84aa C |
885 | <div class="prop-subtitle"> in query </div> |
886 | <div class="prop-subtitle"> | |
887 | <span class="json-property-type">number</span> | |
888 | <span class="json-property-range" title="Value limits"></span> | |
889 | </div> | |
ab0ee6a1 C |
890 | </div> |
891 | <div class="prop-value"> | |
892 | <p>sorting</p> | |
893 | </div> | |
894 | </div> | |
ab0ee6a1 C |
895 | </section> |
896 | </div> | |
5e1c08eb C |
897 | <div class="doc-examples"></div> |
898 | </div> | |
899 | <div class="doc-row"> | |
900 | <div class="doc-copy"> | |
901 | <section class="swagger-responses"> | |
902 | <div class="prop-row prop-group"> | |
903 | <div class="prop-name"> | |
904 | <div class="prop-title">200 OK</div> | |
905 | <div class="prop-ref"> | |
906 | <span class="json-schema-ref-array"> | |
907 | <a class="json-schema-ref" href="#/definitions/Job">Job</a> | |
908 | </span> | |
909 | </div> | |
910 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
911 | </div> | |
912 | <div class="prop-value"> | |
913 | <p>successful operation</p> | |
914 | </div> | |
915 | </div> | |
228e84aa C |
916 | <div class="prop-row prop-inner"> |
917 | <div class="prop-name">type</div> | |
918 | <div class="prop-value"> | |
919 | <span class="json-property-type"> | |
920 | <span class="json-schema-ref-array"> | |
921 | <a class="json-schema-ref" href="#/definitions/Job">Job</a> | |
922 | </span> | |
923 | </span> | |
924 | <span class="json-property-range" title="Value limits"></span> | |
925 | </div> | |
926 | </div> | |
5e1c08eb C |
927 | </section> |
928 | </div> | |
929 | <div class="doc-examples"> | |
930 | <h5>Response Content-Types: | |
931 | <span>application/json</span> | |
932 | </h5> | |
933 | <section> | |
934 | <h5>Response Example | |
935 | <span>(200 OK)</span> | |
936 | </h5> | |
937 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
938 | { | |
939 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
940 | <span class="hljs-attr">"state"</span>: <span class="hljs-string">"string"</span>, | |
941 | <span class="hljs-attr">"category"</span>: <span class="hljs-string">"string"</span>, | |
942 | <span class="hljs-attr">"handlerName"</span>: <span class="hljs-string">"string"</span>, | |
943 | <span class="hljs-attr">"handlerInputData"</span>: <span class="hljs-string">"string"</span>, | |
944 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
945 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
946 | } | |
947 | ] | |
948 | </code></pre> | |
949 | <!-- </div> --> | |
950 | </section> | |
951 | </div> | |
952 | </div> | |
94ff4c23 C |
953 | <div class="doc-row"> |
954 | <div class="doc-copy"> | |
955 | <section class="swagger-request-security"> | |
956 | <table class="table"> | |
957 | <thead> | |
958 | <tr> | |
959 | <th class="swagger-request-security-schema"></th> | |
960 | <th class="swagger-request-security-scopes"></th> | |
961 | </tr> | |
962 | </thead> | |
963 | <tbody> | |
964 | <tr> | |
965 | <td> | |
966 | <a href="#security-definition-OAuth2">OAuth2</a> | |
967 | </td> | |
968 | <td> </td> | |
969 | </tr> | |
970 | </tbody> | |
971 | </table> | |
972 | </section> | |
973 | </div> | |
974 | </div> | |
5e1c08eb C |
975 | </div> |
976 | <h1 id="tag-ServerFollowing" class="swagger-summary-tag" data-traverse-target="tag-ServerFollowing">ServerFollowing</h1> | |
977 | <div id="operation--server-following--host--delete" class="operation panel" data-traverse-target="operation--server-following--host--delete"> | |
978 | <!-- <section class="operation-tags row"> --> | |
979 | <!-- <div class="doc-copy"> --> | |
980 | <div class="operation-tags"> | |
981 | <a class="label" href="#tag-ServerFollowing">ServerFollowing</a> | |
982 | <!----> | |
983 | </div> | |
984 | <!-- </div> --> | |
985 | <!-- </section> --> | |
986 | <h2 class="operation-title"> | |
987 | <span class="operation-name"> | |
988 | <span class="operation-name">DELETE</span> | |
989 | <span class="operation-path">/server/following/{host}</span> | |
990 | </span> | |
991 | </h2> | |
992 | <div class="doc-row"> | |
993 | <div class="doc-copy"> | |
994 | <section class="swagger-request-params"> | |
995 | <div class="prop-row prop-group"> | |
996 | <div class="prop-name"> | |
997 | <div class="prop-title">host</div> | |
998 | <span class="json-property-required"></span> | |
228e84aa C |
999 | <div class="prop-subtitle"> in path </div> |
1000 | <div class="prop-subtitle"> | |
1001 | <span class="json-property-type">string</span> | |
1002 | <span class="json-property-range" title="Value limits"></span> | |
1003 | </div> | |
5e1c08eb C |
1004 | </div> |
1005 | <div class="prop-value"> | |
1006 | <p>The host to unfollow </p> | |
1007 | </div> | |
1008 | </div> | |
5e1c08eb C |
1009 | </section> |
1010 | </div> | |
1011 | <div class="doc-examples"></div> | |
1012 | </div> | |
1013 | <div class="doc-row"> | |
1014 | <div class="doc-copy"> | |
1015 | <section class="swagger-responses"> | |
1016 | <div class="prop-row prop-group"> | |
1017 | <div class="prop-name"> | |
1018 | <div class="prop-title">201 Created</div> | |
1019 | </div> | |
1020 | <div class="prop-value"> | |
1021 | <p>successful operation</p> | |
1022 | </div> | |
1023 | </div> | |
1024 | </section> | |
1025 | </div> | |
1026 | <div class="doc-examples"> | |
1027 | <h5>Response Content-Types: | |
1028 | <span>application/json</span> | |
1029 | </h5> | |
1030 | </div> | |
1031 | </div> | |
94ff4c23 C |
1032 | <div class="doc-row"> |
1033 | <div class="doc-copy"> | |
1034 | <section class="swagger-request-security"> | |
1035 | <table class="table"> | |
1036 | <thead> | |
1037 | <tr> | |
1038 | <th class="swagger-request-security-schema"></th> | |
1039 | <th class="swagger-request-security-scopes"></th> | |
1040 | </tr> | |
1041 | </thead> | |
1042 | <tbody> | |
1043 | <tr> | |
1044 | <td> | |
1045 | <a href="#security-definition-OAuth2">OAuth2</a> | |
1046 | </td> | |
1047 | <td> </td> | |
1048 | </tr> | |
1049 | </tbody> | |
1050 | </table> | |
1051 | </section> | |
1052 | </div> | |
1053 | </div> | |
5e1c08eb C |
1054 | </div> |
1055 | <div id="operation--server-followers-get" class="operation panel" data-traverse-target="operation--server-followers-get"> | |
1056 | <!-- <section class="operation-tags row"> --> | |
1057 | <!-- <div class="doc-copy"> --> | |
1058 | <div class="operation-tags"> | |
1059 | <a class="label" href="#tag-ServerFollowing">ServerFollowing</a> | |
1060 | <!----> | |
1061 | </div> | |
1062 | <!-- </div> --> | |
1063 | <!-- </section> --> | |
1064 | <h2 class="operation-title"> | |
1065 | <span class="operation-name"> | |
1066 | <span class="operation-name">GET</span> | |
1067 | <span class="operation-path">/server/followers</span> | |
1068 | </span> | |
1069 | </h2> | |
1070 | <div class="doc-row"> | |
ab0ee6a1 C |
1071 | <div class="doc-copy"> |
1072 | <section class="swagger-request-params"> | |
1073 | <div class="prop-row prop-group"> | |
1074 | <div class="prop-name"> | |
1075 | <div class="prop-title">start</div> | |
228e84aa C |
1076 | <div class="prop-subtitle"> in query </div> |
1077 | <div class="prop-subtitle"> | |
1078 | <span class="json-property-type">number</span> | |
1079 | <span class="json-property-range" title="Value limits"></span> | |
1080 | </div> | |
ab0ee6a1 C |
1081 | </div> |
1082 | <div class="prop-value"> | |
1083 | <p>starting page</p> | |
1084 | </div> | |
1085 | </div> | |
ab0ee6a1 C |
1086 | <div class="prop-row prop-group"> |
1087 | <div class="prop-name"> | |
1088 | <div class="prop-title">stop</div> | |
228e84aa C |
1089 | <div class="prop-subtitle"> in query </div> |
1090 | <div class="prop-subtitle"> | |
1091 | <span class="json-property-type">number</span> | |
1092 | <span class="json-property-range" title="Value limits"></span> | |
1093 | </div> | |
ab0ee6a1 C |
1094 | </div> |
1095 | <div class="prop-value"> | |
f209b32a | 1096 | <p>stopping page</p> |
ab0ee6a1 C |
1097 | </div> |
1098 | </div> | |
ab0ee6a1 C |
1099 | <div class="prop-row prop-group"> |
1100 | <div class="prop-name"> | |
1101 | <div class="prop-title">sort</div> | |
228e84aa C |
1102 | <div class="prop-subtitle"> in query </div> |
1103 | <div class="prop-subtitle"> | |
1104 | <span class="json-property-type">number</span> | |
1105 | <span class="json-property-range" title="Value limits"></span> | |
1106 | </div> | |
ab0ee6a1 C |
1107 | </div> |
1108 | <div class="prop-value"> | |
1109 | <p>sorting</p> | |
1110 | </div> | |
1111 | </div> | |
ab0ee6a1 C |
1112 | </section> |
1113 | </div> | |
5e1c08eb C |
1114 | <div class="doc-examples"></div> |
1115 | </div> | |
1116 | <div class="doc-row"> | |
1117 | <div class="doc-copy"> | |
1118 | <section class="swagger-responses"> | |
1119 | <div class="prop-row prop-group"> | |
1120 | <div class="prop-name"> | |
1121 | <div class="prop-title">200 OK</div> | |
1122 | <div class="prop-ref"> | |
1123 | <span class="json-schema-ref-array"> | |
1124 | <a class="json-schema-ref" href="#/definitions/Follow">Follow</a> | |
1125 | </span> | |
1126 | </div> | |
1127 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
1128 | </div> | |
1129 | <div class="prop-value"> | |
1130 | <p>successful operation</p> | |
1131 | </div> | |
1132 | </div> | |
228e84aa C |
1133 | <div class="prop-row prop-inner"> |
1134 | <div class="prop-name">type</div> | |
1135 | <div class="prop-value"> | |
1136 | <span class="json-property-type"> | |
1137 | <span class="json-schema-ref-array"> | |
1138 | <a class="json-schema-ref" href="#/definitions/Follow">Follow</a> | |
1139 | </span> | |
1140 | </span> | |
1141 | <span class="json-property-range" title="Value limits"></span> | |
1142 | </div> | |
1143 | </div> | |
5e1c08eb C |
1144 | </section> |
1145 | </div> | |
1146 | <div class="doc-examples"> | |
1147 | <h5>Response Content-Types: | |
1148 | <span>application/json</span> | |
1149 | </h5> | |
1150 | <section> | |
1151 | <h5>Response Example | |
1152 | <span>(200 OK)</span> | |
1153 | </h5> | |
1154 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
1155 | { | |
1156 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1157 | <span class="hljs-attr">"follower"</span>: { | |
1158 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1159 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
1160 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
1161 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
1162 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
1163 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
1164 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
1165 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1166 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
1167 | <span class="hljs-attr">"avatar"</span>: { | |
1168 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
1169 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1170 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
1171 | } | |
1172 | }, | |
1173 | <span class="hljs-attr">"following"</span>: { | |
1174 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1175 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
1176 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
1177 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
1178 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
1179 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
1180 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
1181 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1182 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
1183 | <span class="hljs-attr">"avatar"</span>: { | |
1184 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
1185 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1186 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
1187 | } | |
1188 | }, | |
1189 | <span class="hljs-attr">"score"</span>: <span class="hljs-string">"number"</span>, | |
1190 | <span class="hljs-attr">"state"</span>: <span class="hljs-string">"string"</span>, | |
1191 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1192 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
1193 | } | |
1194 | ] | |
1195 | </code></pre> | |
1196 | <!-- </div> --> | |
1197 | </section> | |
1198 | </div> | |
1199 | </div> | |
1200 | </div> | |
1201 | <div id="operation--server-following-get" class="operation panel" data-traverse-target="operation--server-following-get"> | |
1202 | <!-- <section class="operation-tags row"> --> | |
1203 | <!-- <div class="doc-copy"> --> | |
1204 | <div class="operation-tags"> | |
1205 | <a class="label" href="#tag-ServerFollowing">ServerFollowing</a> | |
1206 | <!----> | |
1207 | </div> | |
1208 | <!-- </div> --> | |
1209 | <!-- </section> --> | |
1210 | <h2 class="operation-title"> | |
1211 | <span class="operation-name"> | |
1212 | <span class="operation-name">GET</span> | |
1213 | <span class="operation-path">/server/following</span> | |
1214 | </span> | |
1215 | </h2> | |
1216 | <div class="doc-row"> | |
ab0ee6a1 C |
1217 | <div class="doc-copy"> |
1218 | <section class="swagger-request-params"> | |
1219 | <div class="prop-row prop-group"> | |
1220 | <div class="prop-name"> | |
1221 | <div class="prop-title">start</div> | |
228e84aa C |
1222 | <div class="prop-subtitle"> in query </div> |
1223 | <div class="prop-subtitle"> | |
1224 | <span class="json-property-type">number</span> | |
1225 | <span class="json-property-range" title="Value limits"></span> | |
1226 | </div> | |
ab0ee6a1 C |
1227 | </div> |
1228 | <div class="prop-value"> | |
1229 | <p>starting page</p> | |
1230 | </div> | |
1231 | </div> | |
ab0ee6a1 C |
1232 | <div class="prop-row prop-group"> |
1233 | <div class="prop-name"> | |
1234 | <div class="prop-title">stop</div> | |
228e84aa C |
1235 | <div class="prop-subtitle"> in query </div> |
1236 | <div class="prop-subtitle"> | |
1237 | <span class="json-property-type">number</span> | |
1238 | <span class="json-property-range" title="Value limits"></span> | |
1239 | </div> | |
ab0ee6a1 C |
1240 | </div> |
1241 | <div class="prop-value"> | |
f209b32a | 1242 | <p>stopping page</p> |
ab0ee6a1 C |
1243 | </div> |
1244 | </div> | |
ab0ee6a1 C |
1245 | <div class="prop-row prop-group"> |
1246 | <div class="prop-name"> | |
1247 | <div class="prop-title">sort</div> | |
228e84aa C |
1248 | <div class="prop-subtitle"> in query </div> |
1249 | <div class="prop-subtitle"> | |
1250 | <span class="json-property-type">number</span> | |
1251 | <span class="json-property-range" title="Value limits"></span> | |
1252 | </div> | |
ab0ee6a1 C |
1253 | </div> |
1254 | <div class="prop-value"> | |
1255 | <p>sorting</p> | |
1256 | </div> | |
1257 | </div> | |
ab0ee6a1 C |
1258 | </section> |
1259 | </div> | |
5e1c08eb C |
1260 | <div class="doc-examples"></div> |
1261 | </div> | |
1262 | <div class="doc-row"> | |
1263 | <div class="doc-copy"> | |
1264 | <section class="swagger-responses"> | |
1265 | <div class="prop-row prop-group"> | |
1266 | <div class="prop-name"> | |
1267 | <div class="prop-title">200 OK</div> | |
1268 | <div class="prop-ref"> | |
1269 | <span class="json-schema-ref-array"> | |
1270 | <a class="json-schema-ref" href="#/definitions/Follow">Follow</a> | |
1271 | </span> | |
1272 | </div> | |
1273 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
1274 | </div> | |
1275 | <div class="prop-value"> | |
1276 | <p>successful operation</p> | |
1277 | </div> | |
1278 | </div> | |
228e84aa C |
1279 | <div class="prop-row prop-inner"> |
1280 | <div class="prop-name">type</div> | |
1281 | <div class="prop-value"> | |
1282 | <span class="json-property-type"> | |
1283 | <span class="json-schema-ref-array"> | |
1284 | <a class="json-schema-ref" href="#/definitions/Follow">Follow</a> | |
1285 | </span> | |
1286 | </span> | |
1287 | <span class="json-property-range" title="Value limits"></span> | |
1288 | </div> | |
1289 | </div> | |
5e1c08eb C |
1290 | </section> |
1291 | </div> | |
1292 | <div class="doc-examples"> | |
1293 | <h5>Response Content-Types: | |
1294 | <span>application/json</span> | |
1295 | </h5> | |
1296 | <section> | |
1297 | <h5>Response Example | |
1298 | <span>(200 OK)</span> | |
1299 | </h5> | |
1300 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
1301 | { | |
1302 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1303 | <span class="hljs-attr">"follower"</span>: { | |
1304 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1305 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
1306 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
1307 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
1308 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
1309 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
1310 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
1311 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1312 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
1313 | <span class="hljs-attr">"avatar"</span>: { | |
1314 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
1315 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1316 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
1317 | } | |
1318 | }, | |
1319 | <span class="hljs-attr">"following"</span>: { | |
1320 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1321 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
1322 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
1323 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
1324 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
1325 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
1326 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
1327 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1328 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
1329 | <span class="hljs-attr">"avatar"</span>: { | |
1330 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
1331 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1332 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
1333 | } | |
1334 | }, | |
1335 | <span class="hljs-attr">"score"</span>: <span class="hljs-string">"number"</span>, | |
1336 | <span class="hljs-attr">"state"</span>: <span class="hljs-string">"string"</span>, | |
1337 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1338 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
1339 | } | |
1340 | ] | |
1341 | </code></pre> | |
1342 | <!-- </div> --> | |
1343 | </section> | |
1344 | </div> | |
1345 | </div> | |
1346 | </div> | |
1347 | <div id="operation--server-following-post" class="operation panel" data-traverse-target="operation--server-following-post"> | |
1348 | <!-- <section class="operation-tags row"> --> | |
1349 | <!-- <div class="doc-copy"> --> | |
1350 | <div class="operation-tags"> | |
1351 | <a class="label" href="#tag-ServerFollowing">ServerFollowing</a> | |
1352 | <!----> | |
1353 | </div> | |
1354 | <!-- </div> --> | |
1355 | <!-- </section> --> | |
1356 | <h2 class="operation-title"> | |
1357 | <span class="operation-name"> | |
1358 | <span class="operation-name">POST</span> | |
1359 | <span class="operation-path">/server/following</span> | |
1360 | </span> | |
1361 | </h2> | |
1362 | <div class="doc-row"> | |
1363 | <div class="doc-copy"> | |
1364 | <section class="swagger-request-body"> | |
1365 | <div class="prop-row"> | |
1366 | <div class="prop-name"> | |
1367 | <div class="swagger-request-model"> | |
1368 | <span class=""> | |
1369 | <a class="json-schema-ref" href="#/definitions/Follow">Follow</a> | |
1370 | </span> | |
1371 | </div> | |
1372 | </div> | |
1373 | <div class="prop-value columns small-6"> | |
228e84aa C |
1374 | <!-- <div class="swagger-request-description"> --> |
1375 | <p>undefined</p> | |
5e1c08eb C |
1376 | <!-- </div> --> |
1377 | </div> | |
1378 | </div> | |
1379 | </section> | |
1380 | </div> | |
1381 | <div class="doc-examples"> | |
1382 | <section> | |
1383 | <h5>Request Content-Types: | |
1384 | <span>application/json</span> | |
1385 | </h5> | |
1386 | <h5>Request Example</h5> | |
1387 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
1388 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1389 | <span class="hljs-attr">"follower"</span>: { | |
1390 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1391 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
1392 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
1393 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
1394 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
1395 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
1396 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
1397 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1398 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
1399 | <span class="hljs-attr">"avatar"</span>: { | |
1400 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
1401 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1402 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
1403 | } | |
1404 | }, | |
1405 | <span class="hljs-attr">"following"</span>: { | |
1406 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1407 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
1408 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
1409 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
1410 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
1411 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
1412 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
1413 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1414 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
1415 | <span class="hljs-attr">"avatar"</span>: { | |
1416 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
1417 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1418 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
1419 | } | |
1420 | }, | |
1421 | <span class="hljs-attr">"score"</span>: <span class="hljs-string">"number"</span>, | |
1422 | <span class="hljs-attr">"state"</span>: <span class="hljs-string">"string"</span>, | |
1423 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1424 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
1425 | } | |
1426 | </code></pre> | |
1427 | <!-- </div> --> | |
1428 | </section> | |
1429 | </div> | |
1430 | </div> | |
1431 | <div class="doc-row"> | |
1432 | <div class="doc-copy"> | |
1433 | <section class="swagger-responses"> | |
1434 | <div class="prop-row prop-group"> | |
1435 | <div class="prop-name"> | |
1436 | <div class="prop-title">204 No Content</div> | |
1437 | </div> | |
1438 | <div class="prop-value"> | |
1439 | <p>successful operation</p> | |
1440 | </div> | |
1441 | </div> | |
1442 | </section> | |
1443 | </div> | |
1444 | <div class="doc-examples"> | |
1445 | <h5>Response Content-Types: | |
1446 | <span>application/json</span> | |
1447 | </h5> | |
1448 | </div> | |
1449 | </div> | |
94ff4c23 C |
1450 | <div class="doc-row"> |
1451 | <div class="doc-copy"> | |
1452 | <section class="swagger-request-security"> | |
1453 | <table class="table"> | |
1454 | <thead> | |
1455 | <tr> | |
1456 | <th class="swagger-request-security-schema"></th> | |
1457 | <th class="swagger-request-security-scopes"></th> | |
1458 | </tr> | |
1459 | </thead> | |
1460 | <tbody> | |
1461 | <tr> | |
1462 | <td> | |
1463 | <a href="#security-definition-OAuth2">OAuth2</a> | |
1464 | </td> | |
1465 | <td> </td> | |
1466 | </tr> | |
1467 | </tbody> | |
1468 | </table> | |
1469 | </section> | |
1470 | </div> | |
1471 | </div> | |
5e1c08eb C |
1472 | </div> |
1473 | <h1 id="tag-User" class="swagger-summary-tag" data-traverse-target="tag-User">User</h1> | |
1474 | <div id="operation--users-post" class="operation panel" data-traverse-target="operation--users-post"> | |
1475 | <!-- <section class="operation-tags row"> --> | |
1476 | <!-- <div class="doc-copy"> --> | |
1477 | <div class="operation-tags"> | |
1478 | <a class="label" href="#tag-User">User</a> | |
1479 | <!----> | |
1480 | </div> | |
1481 | <!-- </div> --> | |
1482 | <!-- </section> --> | |
1483 | <h2 class="operation-title"> | |
1484 | <span class="operation-name"> | |
1485 | <span class="operation-name">POST</span> | |
1486 | <span class="operation-path">/users</span> | |
1487 | </span> | |
1488 | </h2> | |
1489 | <div class="doc-row"> | |
1490 | <div class="doc-copy"> | |
1491 | <section class="swagger-request-body"> | |
1492 | <div class="prop-row"> | |
1493 | <div class="prop-name"> | |
1494 | <div class="swagger-request-model"> | |
1495 | <span class=""> | |
1496 | <a class="json-schema-ref" href="#/definitions/AddUser">AddUser</a> | |
1497 | </span> | |
1498 | </div> | |
1499 | </div> | |
1500 | <div class="prop-value columns small-6"> | |
61b66b36 C |
1501 | <!-- <div class="swagger-request-description"> --> |
1502 | <p>User to create</p> | |
5e1c08eb C |
1503 | <!-- </div> --> |
1504 | </div> | |
1505 | </div> | |
1506 | </section> | |
1507 | </div> | |
1508 | <div class="doc-examples"> | |
1509 | <section> | |
1510 | <h5>Request Content-Types: | |
1511 | <span>application/json</span> | |
1512 | </h5> | |
1513 | <h5>Request Example</h5> | |
1514 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
1515 | <span class="hljs-attr">"username"</span>: <span class="hljs-string">"string"</span>, | |
1516 | <span class="hljs-attr">"password"</span>: <span class="hljs-string">"string"</span>, | |
1517 | <span class="hljs-attr">"email"</span>: <span class="hljs-string">"string"</span>, | |
1518 | <span class="hljs-attr">"videoQuota"</span>: <span class="hljs-string">"string"</span>, | |
1519 | <span class="hljs-attr">"role"</span>: <span class="hljs-string">"string"</span> | |
1520 | } | |
1521 | </code></pre> | |
1522 | <!-- </div> --> | |
1523 | </section> | |
1524 | </div> | |
1525 | </div> | |
1526 | <div class="doc-row"> | |
1527 | <div class="doc-copy"> | |
1528 | <section class="swagger-responses"> | |
1529 | <div class="prop-row prop-group"> | |
1530 | <div class="prop-name"> | |
1531 | <div class="prop-title">200 OK</div> | |
1532 | <div class="prop-ref"> | |
1533 | <span class=""> | |
1534 | <a class="json-schema-ref" href="#/definitions/AddUserResponse">AddUserResponse</a> | |
1535 | </span> | |
1536 | </div> | |
1537 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
1538 | </div> | |
1539 | <div class="prop-value"> | |
1540 | <p>successful operation</p> | |
1541 | </div> | |
1542 | </div> | |
1543 | </section> | |
1544 | </div> | |
1545 | <div class="doc-examples"> | |
1546 | <h5>Response Content-Types: | |
1547 | <span>application/json</span> | |
1548 | </h5> | |
1549 | <section> | |
1550 | <h5>Response Example | |
1551 | <span>(200 OK)</span> | |
1552 | </h5> | |
1553 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
1554 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1555 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span> | |
1556 | } | |
1557 | </code></pre> | |
1558 | <!-- </div> --> | |
1559 | </section> | |
1560 | </div> | |
1561 | </div> | |
94ff4c23 C |
1562 | <div class="doc-row"> |
1563 | <div class="doc-copy"> | |
1564 | <section class="swagger-request-security"> | |
1565 | <table class="table"> | |
1566 | <thead> | |
1567 | <tr> | |
1568 | <th class="swagger-request-security-schema"></th> | |
1569 | <th class="swagger-request-security-scopes"></th> | |
1570 | </tr> | |
1571 | </thead> | |
1572 | <tbody> | |
1573 | <tr> | |
1574 | <td> | |
1575 | <a href="#security-definition-OAuth2">OAuth2</a> | |
1576 | </td> | |
1577 | <td> </td> | |
1578 | </tr> | |
1579 | </tbody> | |
1580 | </table> | |
1581 | </section> | |
1582 | </div> | |
1583 | </div> | |
5e1c08eb C |
1584 | </div> |
1585 | <div id="operation--users-get" class="operation panel" data-traverse-target="operation--users-get"> | |
1586 | <!-- <section class="operation-tags row"> --> | |
1587 | <!-- <div class="doc-copy"> --> | |
1588 | <div class="operation-tags"> | |
1589 | <a class="label" href="#tag-User">User</a> | |
1590 | <!----> | |
1591 | </div> | |
1592 | <!-- </div> --> | |
1593 | <!-- </section> --> | |
1594 | <h2 class="operation-title"> | |
1595 | <span class="operation-name"> | |
1596 | <span class="operation-name">GET</span> | |
1597 | <span class="operation-path">/users</span> | |
1598 | </span> | |
1599 | </h2> | |
1600 | <div class="doc-row"> | |
ab0ee6a1 C |
1601 | <div class="doc-copy"> |
1602 | <section class="swagger-request-params"> | |
1603 | <div class="prop-row prop-group"> | |
1604 | <div class="prop-name"> | |
1605 | <div class="prop-title">start</div> | |
228e84aa C |
1606 | <div class="prop-subtitle"> in query </div> |
1607 | <div class="prop-subtitle"> | |
1608 | <span class="json-property-type">number</span> | |
1609 | <span class="json-property-range" title="Value limits"></span> | |
1610 | </div> | |
ab0ee6a1 C |
1611 | </div> |
1612 | <div class="prop-value"> | |
1613 | <p>starting page</p> | |
1614 | </div> | |
1615 | </div> | |
ab0ee6a1 C |
1616 | <div class="prop-row prop-group"> |
1617 | <div class="prop-name"> | |
1618 | <div class="prop-title">stop</div> | |
228e84aa C |
1619 | <div class="prop-subtitle"> in query </div> |
1620 | <div class="prop-subtitle"> | |
1621 | <span class="json-property-type">number</span> | |
1622 | <span class="json-property-range" title="Value limits"></span> | |
1623 | </div> | |
ab0ee6a1 C |
1624 | </div> |
1625 | <div class="prop-value"> | |
f209b32a | 1626 | <p>stopping page</p> |
ab0ee6a1 C |
1627 | </div> |
1628 | </div> | |
ab0ee6a1 C |
1629 | <div class="prop-row prop-group"> |
1630 | <div class="prop-name"> | |
1631 | <div class="prop-title">sort</div> | |
228e84aa C |
1632 | <div class="prop-subtitle"> in query </div> |
1633 | <div class="prop-subtitle"> | |
1634 | <span class="json-property-type">number</span> | |
1635 | <span class="json-property-range" title="Value limits"></span> | |
1636 | </div> | |
ab0ee6a1 C |
1637 | </div> |
1638 | <div class="prop-value"> | |
1639 | <p>sorting</p> | |
1640 | </div> | |
1641 | </div> | |
ab0ee6a1 C |
1642 | </section> |
1643 | </div> | |
5e1c08eb C |
1644 | <div class="doc-examples"></div> |
1645 | </div> | |
1646 | <div class="doc-row"> | |
1647 | <div class="doc-copy"> | |
1648 | <section class="swagger-responses"> | |
1649 | <div class="prop-row prop-group"> | |
1650 | <div class="prop-name"> | |
1651 | <div class="prop-title">200 OK</div> | |
1652 | <div class="prop-ref"> | |
1653 | <span class="json-schema-ref-array"> | |
1654 | <a class="json-schema-ref" href="#/definitions/User">User</a> | |
1655 | </span> | |
1656 | </div> | |
1657 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
1658 | </div> | |
1659 | <div class="prop-value"> | |
1660 | <p>successful operation</p> | |
1661 | </div> | |
1662 | </div> | |
228e84aa C |
1663 | <div class="prop-row prop-inner"> |
1664 | <div class="prop-name">type</div> | |
1665 | <div class="prop-value"> | |
1666 | <span class="json-property-type"> | |
1667 | <span class="json-schema-ref-array"> | |
1668 | <a class="json-schema-ref" href="#/definitions/User">User</a> | |
1669 | </span> | |
1670 | </span> | |
1671 | <span class="json-property-range" title="Value limits"></span> | |
1672 | </div> | |
1673 | </div> | |
5e1c08eb C |
1674 | </section> |
1675 | </div> | |
1676 | <div class="doc-examples"> | |
1677 | <h5>Response Content-Types: | |
1678 | <span>application/json</span> | |
1679 | </h5> | |
1680 | <section> | |
1681 | <h5>Response Example | |
1682 | <span>(200 OK)</span> | |
1683 | </h5> | |
1684 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
1685 | { | |
1686 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1687 | <span class="hljs-attr">"username"</span>: <span class="hljs-string">"string"</span>, | |
1688 | <span class="hljs-attr">"email"</span>: <span class="hljs-string">"string"</span>, | |
1689 | <span class="hljs-attr">"displayNSFW"</span>: <span class="hljs-string">"boolean"</span>, | |
1690 | <span class="hljs-attr">"autoPlayVideo"</span>: <span class="hljs-string">"boolean"</span>, | |
1691 | <span class="hljs-attr">"role"</span>: <span class="hljs-string">"string"</span>, | |
1692 | <span class="hljs-attr">"videoQuota"</span>: <span class="hljs-string">"number"</span>, | |
1693 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1694 | <span class="hljs-attr">"account"</span>: { | |
1695 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
1696 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1697 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
1698 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
1699 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
1700 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
1701 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
1702 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
1703 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1704 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
1705 | <span class="hljs-attr">"avatar"</span>: { | |
1706 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
1707 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1708 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
1709 | } | |
1710 | }, | |
1711 | <span class="hljs-attr">"videoChannels"</span>: [ | |
1712 | { | |
1713 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
1714 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
1715 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
cc918ac3 C |
1716 | <span class="hljs-attr">"ownerAccount"</span>: { |
1717 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5e1c08eb | 1718 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span> |
cc918ac3 | 1719 | } |
5e1c08eb C |
1720 | } |
1721 | ] | |
1722 | } | |
1723 | ] | |
1724 | </code></pre> | |
1725 | <!-- </div> --> | |
1726 | </section> | |
1727 | </div> | |
1728 | </div> | |
94ff4c23 C |
1729 | <div class="doc-row"> |
1730 | <div class="doc-copy"> | |
1731 | <section class="swagger-request-security"> | |
1732 | <table class="table"> | |
1733 | <thead> | |
1734 | <tr> | |
1735 | <th class="swagger-request-security-schema"></th> | |
1736 | <th class="swagger-request-security-scopes"></th> | |
1737 | </tr> | |
1738 | </thead> | |
1739 | <tbody> | |
1740 | <tr> | |
1741 | <td> | |
1742 | <a href="#security-definition-OAuth2">OAuth2</a> | |
1743 | </td> | |
1744 | <td> </td> | |
1745 | </tr> | |
1746 | </tbody> | |
1747 | </table> | |
1748 | </section> | |
1749 | </div> | |
1750 | </div> | |
5e1c08eb C |
1751 | </div> |
1752 | <div id="operation--users--id--delete" class="operation panel" data-traverse-target="operation--users--id--delete"> | |
1753 | <!-- <section class="operation-tags row"> --> | |
1754 | <!-- <div class="doc-copy"> --> | |
1755 | <div class="operation-tags"> | |
1756 | <a class="label" href="#tag-User">User</a> | |
1757 | <!----> | |
1758 | </div> | |
1759 | <!-- </div> --> | |
1760 | <!-- </section> --> | |
1761 | <h2 class="operation-title"> | |
1762 | <span class="operation-name"> | |
1763 | <span class="operation-name">DELETE</span> | |
1764 | <span class="operation-path">/users/{id}</span> | |
1765 | </span> | |
1766 | </h2> | |
1767 | <div class="doc-row"> | |
1768 | <div class="doc-copy"> | |
1769 | <section class="swagger-request-params"> | |
1770 | <div class="prop-row prop-group"> | |
1771 | <div class="prop-name"> | |
1772 | <div class="prop-title">id</div> | |
1773 | <span class="json-property-required"></span> | |
228e84aa C |
1774 | <div class="prop-subtitle"> in path </div> |
1775 | <div class="prop-subtitle"> | |
1776 | <span class="json-property-type">string</span> | |
1777 | <span class="json-property-range" title="Value limits"></span> | |
1778 | </div> | |
5e1c08eb C |
1779 | </div> |
1780 | <div class="prop-value"> | |
1781 | <p>The user id </p> | |
1782 | </div> | |
1783 | </div> | |
5e1c08eb C |
1784 | </section> |
1785 | </div> | |
1786 | <div class="doc-examples"></div> | |
1787 | </div> | |
1788 | <div class="doc-row"> | |
1789 | <div class="doc-copy"> | |
1790 | <section class="swagger-responses"> | |
1791 | <div class="prop-row prop-group"> | |
1792 | <div class="prop-name"> | |
1793 | <div class="prop-title">204 No Content</div> | |
1794 | </div> | |
1795 | <div class="prop-value"> | |
1796 | <p>successful operation</p> | |
1797 | </div> | |
1798 | </div> | |
1799 | </section> | |
1800 | </div> | |
1801 | <div class="doc-examples"> | |
1802 | <h5>Response Content-Types: | |
1803 | <span>application/json</span> | |
1804 | </h5> | |
1805 | </div> | |
1806 | </div> | |
94ff4c23 C |
1807 | <div class="doc-row"> |
1808 | <div class="doc-copy"> | |
1809 | <section class="swagger-request-security"> | |
1810 | <table class="table"> | |
1811 | <thead> | |
1812 | <tr> | |
1813 | <th class="swagger-request-security-schema"></th> | |
1814 | <th class="swagger-request-security-scopes"></th> | |
1815 | </tr> | |
1816 | </thead> | |
1817 | <tbody> | |
1818 | <tr> | |
1819 | <td> | |
1820 | <a href="#security-definition-OAuth2">OAuth2</a> | |
1821 | </td> | |
1822 | <td> </td> | |
1823 | </tr> | |
1824 | </tbody> | |
1825 | </table> | |
1826 | </section> | |
1827 | </div> | |
1828 | </div> | |
5e1c08eb C |
1829 | </div> |
1830 | <div id="operation--users--id--get" class="operation panel" data-traverse-target="operation--users--id--get"> | |
1831 | <!-- <section class="operation-tags row"> --> | |
1832 | <!-- <div class="doc-copy"> --> | |
1833 | <div class="operation-tags"> | |
1834 | <a class="label" href="#tag-User">User</a> | |
1835 | <!----> | |
1836 | </div> | |
1837 | <!-- </div> --> | |
1838 | <!-- </section> --> | |
1839 | <h2 class="operation-title"> | |
1840 | <span class="operation-name"> | |
1841 | <span class="operation-name">GET</span> | |
1842 | <span class="operation-path">/users/{id}</span> | |
1843 | </span> | |
1844 | </h2> | |
1845 | <div class="doc-row"> | |
1846 | <div class="doc-copy"> | |
1847 | <section class="swagger-request-params"> | |
1848 | <div class="prop-row prop-group"> | |
1849 | <div class="prop-name"> | |
1850 | <div class="prop-title">id</div> | |
1851 | <span class="json-property-required"></span> | |
228e84aa C |
1852 | <div class="prop-subtitle"> in path </div> |
1853 | <div class="prop-subtitle"> | |
1854 | <span class="json-property-type">string</span> | |
1855 | <span class="json-property-range" title="Value limits"></span> | |
1856 | </div> | |
5e1c08eb C |
1857 | </div> |
1858 | <div class="prop-value"> | |
1859 | <p>The user id </p> | |
1860 | </div> | |
1861 | </div> | |
5e1c08eb C |
1862 | </section> |
1863 | </div> | |
1864 | <div class="doc-examples"></div> | |
1865 | </div> | |
1866 | <div class="doc-row"> | |
1867 | <div class="doc-copy"> | |
1868 | <section class="swagger-responses"> | |
1869 | <div class="prop-row prop-group"> | |
1870 | <div class="prop-name"> | |
1871 | <div class="prop-title">200 OK</div> | |
1872 | <div class="prop-ref"> | |
1873 | <span class=""> | |
1874 | <a class="json-schema-ref" href="#/definitions/User">User</a> | |
1875 | </span> | |
1876 | </div> | |
1877 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
1878 | </div> | |
1879 | <div class="prop-value"> | |
1880 | <p>successful operation</p> | |
1881 | </div> | |
1882 | </div> | |
1883 | </section> | |
1884 | </div> | |
1885 | <div class="doc-examples"> | |
1886 | <h5>Response Content-Types: | |
1887 | <span>application/json</span> | |
1888 | </h5> | |
1889 | <section> | |
1890 | <h5>Response Example | |
1891 | <span>(200 OK)</span> | |
1892 | </h5> | |
1893 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
1894 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1895 | <span class="hljs-attr">"username"</span>: <span class="hljs-string">"string"</span>, | |
1896 | <span class="hljs-attr">"email"</span>: <span class="hljs-string">"string"</span>, | |
1897 | <span class="hljs-attr">"displayNSFW"</span>: <span class="hljs-string">"boolean"</span>, | |
1898 | <span class="hljs-attr">"autoPlayVideo"</span>: <span class="hljs-string">"boolean"</span>, | |
1899 | <span class="hljs-attr">"role"</span>: <span class="hljs-string">"string"</span>, | |
1900 | <span class="hljs-attr">"videoQuota"</span>: <span class="hljs-string">"number"</span>, | |
1901 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1902 | <span class="hljs-attr">"account"</span>: { | |
1903 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
1904 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
1905 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
1906 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
1907 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
1908 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
1909 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
1910 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
1911 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1912 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
1913 | <span class="hljs-attr">"avatar"</span>: { | |
1914 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
1915 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
1916 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
1917 | } | |
1918 | }, | |
1919 | <span class="hljs-attr">"videoChannels"</span>: [ | |
1920 | { | |
1921 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
1922 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
1923 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
cc918ac3 C |
1924 | <span class="hljs-attr">"ownerAccount"</span>: { |
1925 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5e1c08eb | 1926 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span> |
cc918ac3 | 1927 | } |
5e1c08eb C |
1928 | } |
1929 | ] | |
1930 | } | |
1931 | </code></pre> | |
1932 | <!-- </div> --> | |
1933 | </section> | |
1934 | </div> | |
1935 | </div> | |
94ff4c23 C |
1936 | <div class="doc-row"> |
1937 | <div class="doc-copy"> | |
1938 | <section class="swagger-request-security"> | |
1939 | <table class="table"> | |
1940 | <thead> | |
1941 | <tr> | |
1942 | <th class="swagger-request-security-schema"></th> | |
1943 | <th class="swagger-request-security-scopes"></th> | |
1944 | </tr> | |
1945 | </thead> | |
1946 | <tbody> | |
1947 | <tr> | |
1948 | <td> | |
1949 | <a href="#security-definition-OAuth2">OAuth2</a> | |
1950 | </td> | |
1951 | <td> </td> | |
1952 | </tr> | |
1953 | </tbody> | |
1954 | </table> | |
1955 | </section> | |
1956 | </div> | |
1957 | </div> | |
5e1c08eb C |
1958 | </div> |
1959 | <div id="operation--users--id--put" class="operation panel" data-traverse-target="operation--users--id--put"> | |
1960 | <!-- <section class="operation-tags row"> --> | |
1961 | <!-- <div class="doc-copy"> --> | |
1962 | <div class="operation-tags"> | |
1963 | <a class="label" href="#tag-User">User</a> | |
1964 | <!----> | |
1965 | </div> | |
1966 | <!-- </div> --> | |
1967 | <!-- </section> --> | |
1968 | <h2 class="operation-title"> | |
1969 | <span class="operation-name"> | |
1970 | <span class="operation-name">PUT</span> | |
1971 | <span class="operation-path">/users/{id}</span> | |
1972 | </span> | |
1973 | </h2> | |
1974 | <div class="doc-row"> | |
1975 | <div class="doc-copy"> | |
1976 | <section class="swagger-request-body"> | |
1977 | <div class="prop-row"> | |
1978 | <div class="prop-name"> | |
1979 | <div class="swagger-request-model"> | |
1980 | <span class=""> | |
1981 | <a class="json-schema-ref" href="#/definitions/UpdateUser">UpdateUser</a> | |
1982 | </span> | |
1983 | </div> | |
1984 | </div> | |
1985 | <div class="prop-value columns small-6"> | |
228e84aa C |
1986 | <!-- <div class="swagger-request-description"> --> |
1987 | <p>undefined</p> | |
5e1c08eb C |
1988 | <!-- </div> --> |
1989 | </div> | |
1990 | </div> | |
1991 | </section> | |
1992 | <section class="swagger-request-params"> | |
1993 | <div class="prop-row prop-group"> | |
1994 | <div class="prop-name"> | |
1995 | <div class="prop-title">id</div> | |
1996 | <span class="json-property-required"></span> | |
228e84aa C |
1997 | <div class="prop-subtitle"> in path </div> |
1998 | <div class="prop-subtitle"> | |
1999 | <span class="json-property-type">string</span> | |
2000 | <span class="json-property-range" title="Value limits"></span> | |
2001 | </div> | |
5e1c08eb C |
2002 | </div> |
2003 | <div class="prop-value"> | |
2004 | <p>The user id </p> | |
2005 | </div> | |
2006 | </div> | |
5e1c08eb C |
2007 | </section> |
2008 | </div> | |
2009 | <div class="doc-examples"> | |
2010 | <section> | |
2011 | <h5>Request Content-Types: | |
2012 | <span>application/json</span> | |
2013 | </h5> | |
2014 | <h5>Request Example</h5> | |
2015 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
2016 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"string"</span>, | |
2017 | <span class="hljs-attr">"email"</span>: <span class="hljs-string">"string"</span>, | |
2018 | <span class="hljs-attr">"videoQuota"</span>: <span class="hljs-string">"string"</span>, | |
2019 | <span class="hljs-attr">"role"</span>: <span class="hljs-string">"string"</span> | |
2020 | } | |
2021 | </code></pre> | |
2022 | <!-- </div> --> | |
2023 | </section> | |
2024 | </div> | |
2025 | </div> | |
2026 | <div class="doc-row"> | |
2027 | <div class="doc-copy"> | |
2028 | <section class="swagger-responses"> | |
2029 | <div class="prop-row prop-group"> | |
2030 | <div class="prop-name"> | |
2031 | <div class="prop-title">204 No Content</div> | |
2032 | </div> | |
2033 | <div class="prop-value"> | |
2034 | <p>successful operation</p> | |
2035 | </div> | |
2036 | </div> | |
2037 | </section> | |
2038 | </div> | |
2039 | <div class="doc-examples"> | |
2040 | <h5>Response Content-Types: | |
2041 | <span>application/json</span> | |
2042 | </h5> | |
2043 | </div> | |
2044 | </div> | |
94ff4c23 C |
2045 | <div class="doc-row"> |
2046 | <div class="doc-copy"> | |
2047 | <section class="swagger-request-security"> | |
2048 | <table class="table"> | |
2049 | <thead> | |
2050 | <tr> | |
2051 | <th class="swagger-request-security-schema"></th> | |
2052 | <th class="swagger-request-security-scopes"></th> | |
2053 | </tr> | |
2054 | </thead> | |
2055 | <tbody> | |
2056 | <tr> | |
2057 | <td> | |
2058 | <a href="#security-definition-OAuth2">OAuth2</a> | |
2059 | </td> | |
2060 | <td> </td> | |
2061 | </tr> | |
2062 | </tbody> | |
2063 | </table> | |
2064 | </section> | |
2065 | </div> | |
2066 | </div> | |
5e1c08eb C |
2067 | </div> |
2068 | <div id="operation--users-me-get" class="operation panel" data-traverse-target="operation--users-me-get"> | |
2069 | <!-- <section class="operation-tags row"> --> | |
2070 | <!-- <div class="doc-copy"> --> | |
2071 | <div class="operation-tags"> | |
2072 | <a class="label" href="#tag-User">User</a> | |
2073 | <!----> | |
2074 | </div> | |
2075 | <!-- </div> --> | |
2076 | <!-- </section> --> | |
2077 | <h2 class="operation-title"> | |
2078 | <span class="operation-name"> | |
2079 | <span class="operation-name">GET</span> | |
2080 | <span class="operation-path">/users/me</span> | |
2081 | </span> | |
2082 | </h2> | |
2083 | <div class="doc-row"> | |
2084 | <div class="doc-copy"> </div> | |
2085 | <div class="doc-examples"></div> | |
2086 | </div> | |
2087 | <div class="doc-row"> | |
2088 | <div class="doc-copy"> | |
2089 | <section class="swagger-responses"> | |
2090 | <div class="prop-row prop-group"> | |
2091 | <div class="prop-name"> | |
2092 | <div class="prop-title">200 OK</div> | |
2093 | <div class="prop-ref"> | |
2094 | <span class="json-schema-ref-array"> | |
2095 | <a class="json-schema-ref" href="#/definitions/User">User</a> | |
2096 | </span> | |
2097 | </div> | |
2098 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
2099 | </div> | |
2100 | <div class="prop-value"> | |
2101 | <p>successful operation</p> | |
2102 | </div> | |
2103 | </div> | |
228e84aa C |
2104 | <div class="prop-row prop-inner"> |
2105 | <div class="prop-name">type</div> | |
2106 | <div class="prop-value"> | |
2107 | <span class="json-property-type"> | |
2108 | <span class="json-schema-ref-array"> | |
2109 | <a class="json-schema-ref" href="#/definitions/User">User</a> | |
2110 | </span> | |
2111 | </span> | |
2112 | <span class="json-property-range" title="Value limits"></span> | |
2113 | </div> | |
2114 | </div> | |
5e1c08eb C |
2115 | </section> |
2116 | </div> | |
2117 | <div class="doc-examples"> | |
2118 | <h5>Response Content-Types: | |
2119 | <span>application/json</span> | |
2120 | </h5> | |
2121 | <section> | |
2122 | <h5>Response Example | |
2123 | <span>(200 OK)</span> | |
2124 | </h5> | |
2125 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
2126 | { | |
2127 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
2128 | <span class="hljs-attr">"username"</span>: <span class="hljs-string">"string"</span>, | |
2129 | <span class="hljs-attr">"email"</span>: <span class="hljs-string">"string"</span>, | |
2130 | <span class="hljs-attr">"displayNSFW"</span>: <span class="hljs-string">"boolean"</span>, | |
2131 | <span class="hljs-attr">"autoPlayVideo"</span>: <span class="hljs-string">"boolean"</span>, | |
2132 | <span class="hljs-attr">"role"</span>: <span class="hljs-string">"string"</span>, | |
2133 | <span class="hljs-attr">"videoQuota"</span>: <span class="hljs-string">"number"</span>, | |
2134 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
2135 | <span class="hljs-attr">"account"</span>: { | |
2136 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
2137 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
2138 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
2139 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
2140 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
2141 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
2142 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
2143 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
2144 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
2145 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
2146 | <span class="hljs-attr">"avatar"</span>: { | |
2147 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
2148 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
2149 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
2150 | } | |
2151 | }, | |
2152 | <span class="hljs-attr">"videoChannels"</span>: [ | |
2153 | { | |
2154 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
2155 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
2156 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
cc918ac3 C |
2157 | <span class="hljs-attr">"ownerAccount"</span>: { |
2158 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5e1c08eb | 2159 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span> |
cc918ac3 | 2160 | } |
5e1c08eb C |
2161 | } |
2162 | ] | |
2163 | } | |
2164 | ] | |
2165 | </code></pre> | |
2166 | <!-- </div> --> | |
2167 | </section> | |
2168 | </div> | |
2169 | </div> | |
94ff4c23 C |
2170 | <div class="doc-row"> |
2171 | <div class="doc-copy"> | |
2172 | <section class="swagger-request-security"> | |
2173 | <table class="table"> | |
2174 | <thead> | |
2175 | <tr> | |
2176 | <th class="swagger-request-security-schema"></th> | |
2177 | <th class="swagger-request-security-scopes"></th> | |
2178 | </tr> | |
2179 | </thead> | |
2180 | <tbody> | |
2181 | <tr> | |
2182 | <td> | |
2183 | <a href="#security-definition-OAuth2">OAuth2</a> | |
2184 | </td> | |
2185 | <td> </td> | |
2186 | </tr> | |
2187 | </tbody> | |
2188 | </table> | |
2189 | </section> | |
2190 | </div> | |
2191 | </div> | |
5e1c08eb C |
2192 | </div> |
2193 | <div id="operation--users-me-put" class="operation panel" data-traverse-target="operation--users-me-put"> | |
2194 | <!-- <section class="operation-tags row"> --> | |
2195 | <!-- <div class="doc-copy"> --> | |
2196 | <div class="operation-tags"> | |
2197 | <a class="label" href="#tag-User">User</a> | |
2198 | <!----> | |
2199 | </div> | |
2200 | <!-- </div> --> | |
2201 | <!-- </section> --> | |
2202 | <h2 class="operation-title"> | |
2203 | <span class="operation-name"> | |
2204 | <span class="operation-name">PUT</span> | |
2205 | <span class="operation-path">/users/me</span> | |
2206 | </span> | |
2207 | </h2> | |
2208 | <div class="doc-row"> | |
2209 | <div class="doc-copy"> | |
2210 | <section class="swagger-request-body"> | |
2211 | <div class="prop-row"> | |
2212 | <div class="prop-name"> | |
2213 | <div class="swagger-request-model"> | |
2214 | <span class=""> | |
2215 | <a class="json-schema-ref" href="#/definitions/UpdateMe">UpdateMe</a> | |
2216 | </span> | |
2217 | </div> | |
2218 | </div> | |
2219 | <div class="prop-value columns small-6"> | |
228e84aa C |
2220 | <!-- <div class="swagger-request-description"> --> |
2221 | <p>undefined</p> | |
5e1c08eb C |
2222 | <!-- </div> --> |
2223 | </div> | |
2224 | </div> | |
2225 | </section> | |
2226 | </div> | |
2227 | <div class="doc-examples"> | |
2228 | <section> | |
2229 | <h5>Request Content-Types: | |
2230 | <span>application/json</span> | |
2231 | </h5> | |
2232 | <h5>Request Example</h5> | |
2233 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
2234 | <span class="hljs-attr">"password"</span>: <span class="hljs-string">"string"</span>, | |
2235 | <span class="hljs-attr">"email"</span>: <span class="hljs-string">"string"</span>, | |
2236 | <span class="hljs-attr">"displayNSFW"</span>: <span class="hljs-string">"string"</span>, | |
2237 | <span class="hljs-attr">"autoPlayVideo"</span>: <span class="hljs-string">"string"</span> | |
2238 | } | |
2239 | </code></pre> | |
2240 | <!-- </div> --> | |
2241 | </section> | |
2242 | </div> | |
2243 | </div> | |
2244 | <div class="doc-row"> | |
2245 | <div class="doc-copy"> | |
2246 | <section class="swagger-responses"> | |
2247 | <div class="prop-row prop-group"> | |
2248 | <div class="prop-name"> | |
2249 | <div class="prop-title">204 No Content</div> | |
2250 | </div> | |
2251 | <div class="prop-value"> | |
2252 | <p>successful operation</p> | |
2253 | </div> | |
2254 | </div> | |
2255 | </section> | |
2256 | </div> | |
2257 | <div class="doc-examples"> | |
2258 | <h5>Response Content-Types: | |
2259 | <span>application/json</span> | |
2260 | </h5> | |
2261 | </div> | |
2262 | </div> | |
94ff4c23 C |
2263 | <div class="doc-row"> |
2264 | <div class="doc-copy"> | |
2265 | <section class="swagger-request-security"> | |
2266 | <table class="table"> | |
2267 | <thead> | |
2268 | <tr> | |
2269 | <th class="swagger-request-security-schema"></th> | |
2270 | <th class="swagger-request-security-scopes"></th> | |
2271 | </tr> | |
2272 | </thead> | |
2273 | <tbody> | |
2274 | <tr> | |
2275 | <td> | |
2276 | <a href="#security-definition-OAuth2">OAuth2</a> | |
2277 | </td> | |
2278 | <td> </td> | |
2279 | </tr> | |
2280 | </tbody> | |
2281 | </table> | |
2282 | </section> | |
2283 | </div> | |
2284 | </div> | |
5e1c08eb C |
2285 | </div> |
2286 | <div id="operation--users-me-video-quota-used-get" class="operation panel" data-traverse-target="operation--users-me-video-quota-used-get"> | |
2287 | <!-- <section class="operation-tags row"> --> | |
2288 | <!-- <div class="doc-copy"> --> | |
2289 | <div class="operation-tags"> | |
2290 | <a class="label" href="#tag-User">User</a> | |
2291 | <!----> | |
2292 | </div> | |
2293 | <!-- </div> --> | |
2294 | <!-- </section> --> | |
2295 | <h2 class="operation-title"> | |
2296 | <span class="operation-name"> | |
2297 | <span class="operation-name">GET</span> | |
2298 | <span class="operation-path">/users/me/video-quota-used</span> | |
2299 | </span> | |
2300 | </h2> | |
2301 | <div class="doc-row"> | |
2302 | <div class="doc-copy"> </div> | |
2303 | <div class="doc-examples"></div> | |
2304 | </div> | |
2305 | <div class="doc-row"> | |
2306 | <div class="doc-copy"> | |
2307 | <section class="swagger-responses"> | |
2308 | <div class="prop-row prop-group"> | |
2309 | <div class="prop-name"> | |
2310 | <div class="prop-title">200 OK</div> | |
2311 | <div class="prop-ref"></div> | |
2312 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
2313 | </div> | |
2314 | <div class="prop-value"> | |
2315 | <p>successful operation</p> | |
2316 | </div> | |
2317 | </div> | |
228e84aa C |
2318 | <div class="prop-row prop-inner"> |
2319 | <div class="prop-name">type</div> | |
2320 | <div class="prop-value"> | |
2321 | <span class="json-property-type">number</span> | |
2322 | <span class="json-property-range" title="Value limits"></span> | |
2323 | </div> | |
2324 | </div> | |
5e1c08eb C |
2325 | </section> |
2326 | </div> | |
2327 | <div class="doc-examples"> | |
2328 | <h5>Response Content-Types: | |
2329 | <span>application/json</span> | |
2330 | </h5> | |
2331 | <section> | |
2332 | <h5>Response Example | |
2333 | <span>(200 OK)</span> | |
2334 | </h5> | |
2335 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json"><span class="hljs-string">"number"</span> | |
2336 | </code></pre> | |
2337 | <!-- </div> --> | |
2338 | </section> | |
2339 | </div> | |
2340 | </div> | |
94ff4c23 C |
2341 | <div class="doc-row"> |
2342 | <div class="doc-copy"> | |
2343 | <section class="swagger-request-security"> | |
2344 | <table class="table"> | |
2345 | <thead> | |
2346 | <tr> | |
2347 | <th class="swagger-request-security-schema"></th> | |
2348 | <th class="swagger-request-security-scopes"></th> | |
2349 | </tr> | |
2350 | </thead> | |
2351 | <tbody> | |
2352 | <tr> | |
2353 | <td> | |
2354 | <a href="#security-definition-OAuth2">OAuth2</a> | |
2355 | </td> | |
2356 | <td> </td> | |
2357 | </tr> | |
2358 | </tbody> | |
2359 | </table> | |
2360 | </section> | |
2361 | </div> | |
2362 | </div> | |
5e1c08eb C |
2363 | </div> |
2364 | <div id="operation--users-me-videos--videoId--rating-get" class="operation panel" data-traverse-target="operation--users-me-videos--videoId--rating-get"> | |
2365 | <!-- <section class="operation-tags row"> --> | |
2366 | <!-- <div class="doc-copy"> --> | |
2367 | <div class="operation-tags"> | |
2368 | <a class="label" href="#tag-User">User</a> | |
2369 | <!----> | |
2370 | </div> | |
2371 | <!-- </div> --> | |
2372 | <!-- </section> --> | |
2373 | <h2 class="operation-title"> | |
2374 | <span class="operation-name"> | |
2375 | <span class="operation-name">GET</span> | |
2376 | <span class="operation-path">/users/me/videos/{videoId}/rating</span> | |
2377 | </span> | |
2378 | </h2> | |
2379 | <div class="doc-row"> | |
2380 | <div class="doc-copy"> | |
2381 | <section class="swagger-request-params"> | |
2382 | <div class="prop-row prop-group"> | |
2383 | <div class="prop-name"> | |
2384 | <div class="prop-title">videoId</div> | |
2385 | <span class="json-property-required"></span> | |
228e84aa C |
2386 | <div class="prop-subtitle"> in path </div> |
2387 | <div class="prop-subtitle"> | |
2388 | <span class="json-property-type">string</span> | |
2389 | <span class="json-property-range" title="Value limits"></span> | |
2390 | </div> | |
5e1c08eb C |
2391 | </div> |
2392 | <div class="prop-value"> | |
2393 | <p>The video id </p> | |
2394 | </div> | |
2395 | </div> | |
5e1c08eb C |
2396 | </section> |
2397 | </div> | |
2398 | <div class="doc-examples"></div> | |
2399 | </div> | |
2400 | <div class="doc-row"> | |
2401 | <div class="doc-copy"> | |
2402 | <section class="swagger-responses"> | |
2403 | <div class="prop-row prop-group"> | |
2404 | <div class="prop-name"> | |
2405 | <div class="prop-title">200 OK</div> | |
2406 | <div class="prop-ref"> | |
2407 | <span class=""> | |
2408 | <a class="json-schema-ref" href="#/definitions/GetMeVideoRating">GetMeVideoRating</a> | |
2409 | </span> | |
2410 | </div> | |
2411 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
2412 | </div> | |
2413 | <div class="prop-value"> | |
2414 | <p>successful operation</p> | |
2415 | </div> | |
2416 | </div> | |
2417 | </section> | |
2418 | </div> | |
2419 | <div class="doc-examples"> | |
2420 | <h5>Response Content-Types: | |
2421 | <span>application/json</span> | |
2422 | </h5> | |
2423 | <section> | |
2424 | <h5>Response Example | |
2425 | <span>(200 OK)</span> | |
2426 | </h5> | |
2427 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
2428 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"string"</span>, | |
2429 | <span class="hljs-attr">"rating"</span>: <span class="hljs-string">"number"</span> | |
2430 | } | |
2431 | </code></pre> | |
2432 | <!-- </div> --> | |
2433 | </section> | |
2434 | </div> | |
2435 | </div> | |
94ff4c23 C |
2436 | <div class="doc-row"> |
2437 | <div class="doc-copy"> | |
2438 | <section class="swagger-request-security"> | |
2439 | <table class="table"> | |
2440 | <thead> | |
2441 | <tr> | |
2442 | <th class="swagger-request-security-schema"></th> | |
2443 | <th class="swagger-request-security-scopes"></th> | |
2444 | </tr> | |
2445 | </thead> | |
2446 | <tbody> | |
2447 | <tr> | |
2448 | <td> | |
2449 | <a href="#security-definition-OAuth2">OAuth2</a> | |
2450 | </td> | |
2451 | <td> </td> | |
2452 | </tr> | |
2453 | </tbody> | |
2454 | </table> | |
2455 | </section> | |
2456 | </div> | |
2457 | </div> | |
5e1c08eb C |
2458 | </div> |
2459 | <div id="operation--users-me-videos-get" class="operation panel" data-traverse-target="operation--users-me-videos-get"> | |
2460 | <!-- <section class="operation-tags row"> --> | |
2461 | <!-- <div class="doc-copy"> --> | |
2462 | <div class="operation-tags"> | |
2463 | <a class="label" href="#tag-User">User</a> | |
2464 | <!----> | |
2465 | </div> | |
2466 | <!-- </div> --> | |
2467 | <!-- </section> --> | |
2468 | <h2 class="operation-title"> | |
2469 | <span class="operation-name"> | |
2470 | <span class="operation-name">GET</span> | |
2471 | <span class="operation-path">/users/me/videos</span> | |
2472 | </span> | |
2473 | </h2> | |
2474 | <div class="doc-row"> | |
ab0ee6a1 C |
2475 | <div class="doc-copy"> |
2476 | <section class="swagger-request-params"> | |
2477 | <div class="prop-row prop-group"> | |
2478 | <div class="prop-name"> | |
2479 | <div class="prop-title">start</div> | |
228e84aa C |
2480 | <div class="prop-subtitle"> in query </div> |
2481 | <div class="prop-subtitle"> | |
2482 | <span class="json-property-type">number</span> | |
2483 | <span class="json-property-range" title="Value limits"></span> | |
2484 | </div> | |
ab0ee6a1 C |
2485 | </div> |
2486 | <div class="prop-value"> | |
2487 | <p>starting page</p> | |
2488 | </div> | |
2489 | </div> | |
ab0ee6a1 C |
2490 | <div class="prop-row prop-group"> |
2491 | <div class="prop-name"> | |
2492 | <div class="prop-title">stop</div> | |
228e84aa C |
2493 | <div class="prop-subtitle"> in query </div> |
2494 | <div class="prop-subtitle"> | |
2495 | <span class="json-property-type">number</span> | |
2496 | <span class="json-property-range" title="Value limits"></span> | |
2497 | </div> | |
ab0ee6a1 C |
2498 | </div> |
2499 | <div class="prop-value"> | |
f209b32a | 2500 | <p>stopping page</p> |
ab0ee6a1 C |
2501 | </div> |
2502 | </div> | |
ab0ee6a1 C |
2503 | <div class="prop-row prop-group"> |
2504 | <div class="prop-name"> | |
2505 | <div class="prop-title">sort</div> | |
228e84aa C |
2506 | <div class="prop-subtitle"> in query </div> |
2507 | <div class="prop-subtitle"> | |
2508 | <span class="json-property-type">number</span> | |
2509 | <span class="json-property-range" title="Value limits"></span> | |
2510 | </div> | |
ab0ee6a1 C |
2511 | </div> |
2512 | <div class="prop-value"> | |
2513 | <p>sorting</p> | |
2514 | </div> | |
2515 | </div> | |
ab0ee6a1 C |
2516 | </section> |
2517 | </div> | |
5e1c08eb C |
2518 | <div class="doc-examples"></div> |
2519 | </div> | |
2520 | <div class="doc-row"> | |
2521 | <div class="doc-copy"> | |
2522 | <section class="swagger-responses"> | |
2523 | <div class="prop-row prop-group"> | |
2524 | <div class="prop-name"> | |
2525 | <div class="prop-title">200 OK</div> | |
2526 | <div class="prop-ref"> | |
2527 | <span class="json-schema-ref-array"> | |
2528 | <a class="json-schema-ref" href="#/definitions/Video">Video</a> | |
2529 | </span> | |
2530 | </div> | |
2531 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
2532 | </div> | |
2533 | <div class="prop-value"> | |
2534 | <p>successful operation</p> | |
2535 | </div> | |
2536 | </div> | |
228e84aa C |
2537 | <div class="prop-row prop-inner"> |
2538 | <div class="prop-name">type</div> | |
2539 | <div class="prop-value"> | |
2540 | <span class="json-property-type"> | |
2541 | <span class="json-schema-ref-array"> | |
2542 | <a class="json-schema-ref" href="#/definitions/Video">Video</a> | |
2543 | </span> | |
2544 | </span> | |
2545 | <span class="json-property-range" title="Value limits"></span> | |
2546 | </div> | |
2547 | </div> | |
5e1c08eb C |
2548 | </section> |
2549 | </div> | |
2550 | <div class="doc-examples"> | |
2551 | <h5>Response Content-Types: | |
2552 | <span>application/json</span> | |
2553 | </h5> | |
2554 | <section> | |
2555 | <h5>Response Example | |
2556 | <span>(200 OK)</span> | |
2557 | </h5> | |
2558 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
2559 | { | |
2560 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
2561 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
5e1c08eb | 2562 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, |
61b66b36 | 2563 | <span class="hljs-attr">"publishedAt"</span>: <span class="hljs-string">"string"</span>, |
5e1c08eb | 2564 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, |
5d00a3d7 C |
2565 | <span class="hljs-attr">"category"</span>: { |
2566 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
2567 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
2568 | }, | |
2569 | <span class="hljs-attr">"licence"</span>: { | |
2570 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
2571 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
2572 | }, | |
2573 | <span class="hljs-attr">"language"</span>: { | |
48dce1c9 | 2574 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"string"</span>, |
5d00a3d7 C |
2575 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> |
2576 | }, | |
61b66b36 | 2577 | <span class="hljs-attr">"privacy"</span>: <span class="hljs-string">"string"</span>, |
5e1c08eb C |
2578 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, |
2579 | <span class="hljs-attr">"duration"</span>: <span class="hljs-string">"number"</span>, | |
2580 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
2581 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
5e1c08eb C |
2582 | <span class="hljs-attr">"thumbnailPath"</span>: <span class="hljs-string">"string"</span>, |
2583 | <span class="hljs-attr">"previewPath"</span>: <span class="hljs-string">"string"</span>, | |
2584 | <span class="hljs-attr">"embedPath"</span>: <span class="hljs-string">"string"</span>, | |
2585 | <span class="hljs-attr">"views"</span>: <span class="hljs-string">"number"</span>, | |
2586 | <span class="hljs-attr">"likes"</span>: <span class="hljs-string">"number"</span>, | |
2587 | <span class="hljs-attr">"dislikes"</span>: <span class="hljs-string">"number"</span>, | |
61b66b36 C |
2588 | <span class="hljs-attr">"nsfw"</span>: <span class="hljs-string">"boolean"</span>, |
2589 | <span class="hljs-attr">"account"</span>: { | |
2590 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
2591 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
2592 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
2593 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
2594 | <span class="hljs-attr">"avatar"</span>: { | |
2595 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
2596 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
2597 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
2598 | } | |
2599 | } | |
5e1c08eb C |
2600 | } |
2601 | ] | |
2602 | </code></pre> | |
2603 | <!-- </div> --> | |
2604 | </section> | |
2605 | </div> | |
2606 | </div> | |
94ff4c23 C |
2607 | <div class="doc-row"> |
2608 | <div class="doc-copy"> | |
2609 | <section class="swagger-request-security"> | |
2610 | <table class="table"> | |
2611 | <thead> | |
2612 | <tr> | |
2613 | <th class="swagger-request-security-schema"></th> | |
2614 | <th class="swagger-request-security-scopes"></th> | |
2615 | </tr> | |
2616 | </thead> | |
2617 | <tbody> | |
2618 | <tr> | |
2619 | <td> | |
2620 | <a href="#security-definition-OAuth2">OAuth2</a> | |
2621 | </td> | |
2622 | <td> </td> | |
2623 | </tr> | |
2624 | </tbody> | |
2625 | </table> | |
2626 | </section> | |
2627 | </div> | |
2628 | </div> | |
5e1c08eb C |
2629 | </div> |
2630 | <div id="operation--users-register-post" class="operation panel" data-traverse-target="operation--users-register-post"> | |
2631 | <!-- <section class="operation-tags row"> --> | |
2632 | <!-- <div class="doc-copy"> --> | |
2633 | <div class="operation-tags"> | |
2634 | <a class="label" href="#tag-User">User</a> | |
2635 | <!----> | |
2636 | </div> | |
2637 | <!-- </div> --> | |
2638 | <!-- </section> --> | |
2639 | <h2 class="operation-title"> | |
2640 | <span class="operation-name"> | |
2641 | <span class="operation-name">POST</span> | |
2642 | <span class="operation-path">/users/register</span> | |
2643 | </span> | |
2644 | </h2> | |
2645 | <div class="doc-row"> | |
2646 | <div class="doc-copy"> | |
2647 | <section class="swagger-request-body"> | |
2648 | <div class="prop-row"> | |
2649 | <div class="prop-name"> | |
2650 | <div class="swagger-request-model"> | |
2651 | <span class=""> | |
2652 | <a class="json-schema-ref" href="#/definitions/RegisterUser">RegisterUser</a> | |
2653 | </span> | |
2654 | </div> | |
2655 | </div> | |
2656 | <div class="prop-value columns small-6"> | |
228e84aa C |
2657 | <!-- <div class="swagger-request-description"> --> |
2658 | <p>undefined</p> | |
5e1c08eb C |
2659 | <!-- </div> --> |
2660 | </div> | |
2661 | </div> | |
2662 | </section> | |
2663 | </div> | |
2664 | <div class="doc-examples"> | |
2665 | <section> | |
2666 | <h5>Request Content-Types: | |
2667 | <span>application/json</span> | |
2668 | </h5> | |
2669 | <h5>Request Example</h5> | |
2670 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
2671 | <span class="hljs-attr">"username"</span>: <span class="hljs-string">"string"</span>, | |
2672 | <span class="hljs-attr">"password"</span>: <span class="hljs-string">"string"</span>, | |
2673 | <span class="hljs-attr">"email"</span>: <span class="hljs-string">"string"</span> | |
2674 | } | |
2675 | </code></pre> | |
2676 | <!-- </div> --> | |
2677 | </section> | |
2678 | </div> | |
2679 | </div> | |
2680 | <div class="doc-row"> | |
2681 | <div class="doc-copy"> | |
2682 | <section class="swagger-responses"> | |
2683 | <div class="prop-row prop-group"> | |
2684 | <div class="prop-name"> | |
2685 | <div class="prop-title">204 No Content</div> | |
2686 | </div> | |
2687 | <div class="prop-value"> | |
2688 | <p>successful operation</p> | |
2689 | </div> | |
2690 | </div> | |
2691 | </section> | |
2692 | </div> | |
2693 | <div class="doc-examples"> | |
2694 | <h5>Response Content-Types: | |
2695 | <span>application/json</span> | |
2696 | </h5> | |
2697 | </div> | |
2698 | </div> | |
2699 | </div> | |
2700 | <div id="operation--users-me-avatar-pick-post" class="operation panel" data-traverse-target="operation--users-me-avatar-pick-post"> | |
2701 | <!-- <section class="operation-tags row"> --> | |
2702 | <!-- <div class="doc-copy"> --> | |
2703 | <div class="operation-tags"> | |
2704 | <a class="label" href="#tag-User">User</a> | |
2705 | <!----> | |
2706 | </div> | |
2707 | <!-- </div> --> | |
2708 | <!-- </section> --> | |
2709 | <h2 class="operation-title"> | |
2710 | <span class="operation-name"> | |
2711 | <span class="operation-name">POST</span> | |
2712 | <span class="operation-path">/users/me/avatar/pick</span> | |
2713 | </span> | |
2714 | </h2> | |
2715 | <div class="doc-row"> | |
2716 | <div class="doc-copy"> | |
2717 | <section class="swagger-request-params"> | |
2718 | <div class="prop-row prop-group"> | |
2719 | <div class="prop-name"> | |
2720 | <div class="prop-title">avatarfile</div> | |
228e84aa C |
2721 | <div class="prop-subtitle"> in formData </div> |
2722 | <div class="prop-subtitle"> | |
2723 | <span class="json-property-type">file</span> | |
2724 | <span class="json-property-range" title="Value limits"></span> | |
2725 | </div> | |
5e1c08eb C |
2726 | </div> |
2727 | <div class="prop-value"> | |
2728 | <p>The file to upload.</p> | |
2729 | </div> | |
2730 | </div> | |
5e1c08eb C |
2731 | </section> |
2732 | </div> | |
2733 | <div class="doc-examples"></div> | |
2734 | </div> | |
2735 | <div class="doc-row"> | |
2736 | <div class="doc-copy"> | |
2737 | <section class="swagger-responses"> | |
2738 | <div class="prop-row prop-group"> | |
2739 | <div class="prop-name"> | |
2740 | <div class="prop-title">200 OK</div> | |
2741 | <div class="prop-ref"> | |
2742 | <span class=""> | |
2743 | <a class="json-schema-ref" href="#/definitions/Avatar">Avatar</a> | |
2744 | </span> | |
2745 | </div> | |
2746 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
2747 | </div> | |
2748 | <div class="prop-value"> | |
2749 | <p>successful operation</p> | |
2750 | </div> | |
2751 | </div> | |
2752 | </section> | |
2753 | </div> | |
2754 | <div class="doc-examples"> | |
2755 | <h5>Response Content-Types: | |
2756 | <span>application/json</span> | |
2757 | </h5> | |
2758 | <section> | |
2759 | <h5>Response Example | |
2760 | <span>(200 OK)</span> | |
2761 | </h5> | |
2762 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
2763 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
2764 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
2765 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
2766 | } | |
2767 | </code></pre> | |
2768 | <!-- </div> --> | |
2769 | </section> | |
2770 | </div> | |
ab0ee6a1 | 2771 | </div> |
94ff4c23 C |
2772 | <div class="doc-row"> |
2773 | <div class="doc-copy"> | |
2774 | <section class="swagger-request-security"> | |
2775 | <table class="table"> | |
2776 | <thead> | |
2777 | <tr> | |
2778 | <th class="swagger-request-security-schema"></th> | |
2779 | <th class="swagger-request-security-scopes"></th> | |
2780 | </tr> | |
2781 | </thead> | |
2782 | <tbody> | |
2783 | <tr> | |
2784 | <td> | |
2785 | <a href="#security-definition-OAuth2">OAuth2</a> | |
2786 | </td> | |
2787 | <td> </td> | |
2788 | </tr> | |
2789 | </tbody> | |
2790 | </table> | |
2791 | </section> | |
2792 | </div> | |
2793 | </div> | |
ab0ee6a1 C |
2794 | </div> |
2795 | <h1 id="tag-Video" class="swagger-summary-tag" data-traverse-target="tag-Video">Video</h1> | |
2796 | <div id="operation--videos-get" class="operation panel" data-traverse-target="operation--videos-get"> | |
2797 | <!-- <section class="operation-tags row"> --> | |
2798 | <!-- <div class="doc-copy"> --> | |
2799 | <div class="operation-tags"> | |
2800 | <a class="label" href="#tag-Video">Video</a> | |
2801 | <!----> | |
2802 | </div> | |
2803 | <!-- </div> --> | |
2804 | <!-- </section> --> | |
2805 | <h2 class="operation-title"> | |
2806 | <span class="operation-name"> | |
2807 | <span class="operation-name">GET</span> | |
2808 | <span class="operation-path">/videos</span> | |
2809 | </span> | |
2810 | </h2> | |
2811 | <div class="doc-row"> | |
2812 | <div class="doc-copy"> | |
2813 | <section class="swagger-request-params"> | |
2814 | <div class="prop-row prop-group"> | |
2815 | <div class="prop-name"> | |
2816 | <div class="prop-title">start</div> | |
228e84aa C |
2817 | <div class="prop-subtitle"> in query </div> |
2818 | <div class="prop-subtitle"> | |
2819 | <span class="json-property-type">number</span> | |
2820 | <span class="json-property-range" title="Value limits"></span> | |
2821 | </div> | |
ab0ee6a1 C |
2822 | </div> |
2823 | <div class="prop-value"> | |
2824 | <p>starting page</p> | |
2825 | </div> | |
2826 | </div> | |
ab0ee6a1 C |
2827 | <div class="prop-row prop-group"> |
2828 | <div class="prop-name"> | |
2829 | <div class="prop-title">stop</div> | |
228e84aa C |
2830 | <div class="prop-subtitle"> in query </div> |
2831 | <div class="prop-subtitle"> | |
2832 | <span class="json-property-type">number</span> | |
2833 | <span class="json-property-range" title="Value limits"></span> | |
2834 | </div> | |
ab0ee6a1 C |
2835 | </div> |
2836 | <div class="prop-value"> | |
f209b32a | 2837 | <p>stopping page</p> |
ab0ee6a1 C |
2838 | </div> |
2839 | </div> | |
ab0ee6a1 C |
2840 | <div class="prop-row prop-group"> |
2841 | <div class="prop-name"> | |
2842 | <div class="prop-title">sort</div> | |
228e84aa C |
2843 | <div class="prop-subtitle"> in query </div> |
2844 | <div class="prop-subtitle"> | |
2845 | <span class="json-property-type">number</span> | |
2846 | <span class="json-property-range" title="Value limits"></span> | |
2847 | </div> | |
ab0ee6a1 C |
2848 | </div> |
2849 | <div class="prop-value"> | |
2850 | <p>sorting</p> | |
2851 | </div> | |
2852 | </div> | |
ab0ee6a1 C |
2853 | </section> |
2854 | </div> | |
5e1c08eb C |
2855 | <div class="doc-examples"></div> |
2856 | </div> | |
2857 | <div class="doc-row"> | |
2858 | <div class="doc-copy"> | |
2859 | <section class="swagger-responses"> | |
2860 | <div class="prop-row prop-group"> | |
2861 | <div class="prop-name"> | |
2862 | <div class="prop-title">200 OK</div> | |
2863 | <div class="prop-ref"> | |
2864 | <span class="json-schema-ref-array"> | |
2865 | <a class="json-schema-ref" href="#/definitions/Video">Video</a> | |
2866 | </span> | |
2867 | </div> | |
2868 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
2869 | </div> | |
2870 | <div class="prop-value"> | |
2871 | <p>successful operation</p> | |
2872 | </div> | |
2873 | </div> | |
228e84aa C |
2874 | <div class="prop-row prop-inner"> |
2875 | <div class="prop-name">type</div> | |
2876 | <div class="prop-value"> | |
2877 | <span class="json-property-type"> | |
2878 | <span class="json-schema-ref-array"> | |
2879 | <a class="json-schema-ref" href="#/definitions/Video">Video</a> | |
2880 | </span> | |
2881 | </span> | |
2882 | <span class="json-property-range" title="Value limits"></span> | |
2883 | </div> | |
2884 | </div> | |
5e1c08eb C |
2885 | </section> |
2886 | </div> | |
2887 | <div class="doc-examples"> | |
2888 | <h5>Response Content-Types: | |
2889 | <span>application/json</span> | |
2890 | </h5> | |
2891 | <section> | |
2892 | <h5>Response Example | |
2893 | <span>(200 OK)</span> | |
2894 | </h5> | |
2895 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
2896 | { | |
2897 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
2898 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
5e1c08eb | 2899 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, |
61b66b36 | 2900 | <span class="hljs-attr">"publishedAt"</span>: <span class="hljs-string">"string"</span>, |
5e1c08eb | 2901 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, |
5d00a3d7 C |
2902 | <span class="hljs-attr">"category"</span>: { |
2903 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
2904 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
2905 | }, | |
2906 | <span class="hljs-attr">"licence"</span>: { | |
2907 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
2908 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
2909 | }, | |
2910 | <span class="hljs-attr">"language"</span>: { | |
48dce1c9 | 2911 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"string"</span>, |
5d00a3d7 C |
2912 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> |
2913 | }, | |
61b66b36 | 2914 | <span class="hljs-attr">"privacy"</span>: <span class="hljs-string">"string"</span>, |
5e1c08eb C |
2915 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, |
2916 | <span class="hljs-attr">"duration"</span>: <span class="hljs-string">"number"</span>, | |
2917 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
2918 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
5e1c08eb C |
2919 | <span class="hljs-attr">"thumbnailPath"</span>: <span class="hljs-string">"string"</span>, |
2920 | <span class="hljs-attr">"previewPath"</span>: <span class="hljs-string">"string"</span>, | |
2921 | <span class="hljs-attr">"embedPath"</span>: <span class="hljs-string">"string"</span>, | |
2922 | <span class="hljs-attr">"views"</span>: <span class="hljs-string">"number"</span>, | |
2923 | <span class="hljs-attr">"likes"</span>: <span class="hljs-string">"number"</span>, | |
2924 | <span class="hljs-attr">"dislikes"</span>: <span class="hljs-string">"number"</span>, | |
61b66b36 C |
2925 | <span class="hljs-attr">"nsfw"</span>: <span class="hljs-string">"boolean"</span>, |
2926 | <span class="hljs-attr">"account"</span>: { | |
2927 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
2928 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
2929 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
2930 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
2931 | <span class="hljs-attr">"avatar"</span>: { | |
2932 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
2933 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
2934 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
2935 | } | |
2936 | } | |
5e1c08eb C |
2937 | } |
2938 | ] | |
2939 | </code></pre> | |
2940 | <!-- </div> --> | |
2941 | </section> | |
2942 | </div> | |
2943 | </div> | |
2944 | </div> | |
ab0ee6a1 | 2945 | <div id="operation--videos-categories-get" class="operation panel" data-traverse-target="operation--videos-categories-get"> |
5e1c08eb C |
2946 | <!-- <section class="operation-tags row"> --> |
2947 | <!-- <div class="doc-copy"> --> | |
2948 | <div class="operation-tags"> | |
2949 | <a class="label" href="#tag-Video">Video</a> | |
2950 | <!----> | |
2951 | </div> | |
2952 | <!-- </div> --> | |
2953 | <!-- </section> --> | |
2954 | <h2 class="operation-title"> | |
2955 | <span class="operation-name"> | |
2956 | <span class="operation-name">GET</span> | |
ab0ee6a1 | 2957 | <span class="operation-path">/videos/categories</span> |
5e1c08eb C |
2958 | </span> |
2959 | </h2> | |
2960 | <div class="doc-row"> | |
2961 | <div class="doc-copy"> </div> | |
2962 | <div class="doc-examples"></div> | |
2963 | </div> | |
2964 | <div class="doc-row"> | |
2965 | <div class="doc-copy"> | |
2966 | <section class="swagger-responses"> | |
2967 | <div class="prop-row prop-group"> | |
2968 | <div class="prop-name"> | |
2969 | <div class="prop-title">200 OK</div> | |
2970 | <div class="prop-ref"></div> | |
2971 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
2972 | </div> | |
2973 | <div class="prop-value"> | |
2974 | <p>successful operation</p> | |
2975 | </div> | |
2976 | </div> | |
228e84aa C |
2977 | <div class="prop-row prop-inner"> |
2978 | <div class="prop-name">type</div> | |
2979 | <div class="prop-value"> | |
2980 | <span class="json-property-type">string[]</span> | |
2981 | <span class="json-property-range" title="Value limits"></span> | |
2982 | </div> | |
2983 | </div> | |
5e1c08eb C |
2984 | </section> |
2985 | </div> | |
2986 | <div class="doc-examples"> | |
2987 | <h5>Response Content-Types: | |
2988 | <span>application/json</span> | |
2989 | </h5> | |
2990 | <section> | |
2991 | <h5>Response Example | |
2992 | <span>(200 OK)</span> | |
2993 | </h5> | |
2994 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
2995 | <span class="hljs-string">"string"</span> | |
2996 | ] | |
2997 | </code></pre> | |
2998 | <!-- </div> --> | |
2999 | </section> | |
3000 | </div> | |
3001 | </div> | |
3002 | </div> | |
ab0ee6a1 | 3003 | <div id="operation--videos-licences-get" class="operation panel" data-traverse-target="operation--videos-licences-get"> |
5e1c08eb C |
3004 | <!-- <section class="operation-tags row"> --> |
3005 | <!-- <div class="doc-copy"> --> | |
3006 | <div class="operation-tags"> | |
3007 | <a class="label" href="#tag-Video">Video</a> | |
3008 | <!----> | |
3009 | </div> | |
3010 | <!-- </div> --> | |
3011 | <!-- </section> --> | |
3012 | <h2 class="operation-title"> | |
3013 | <span class="operation-name"> | |
3014 | <span class="operation-name">GET</span> | |
ab0ee6a1 | 3015 | <span class="operation-path">/videos/licences</span> |
5e1c08eb C |
3016 | </span> |
3017 | </h2> | |
3018 | <div class="doc-row"> | |
3019 | <div class="doc-copy"> </div> | |
3020 | <div class="doc-examples"></div> | |
3021 | </div> | |
3022 | <div class="doc-row"> | |
3023 | <div class="doc-copy"> | |
3024 | <section class="swagger-responses"> | |
3025 | <div class="prop-row prop-group"> | |
3026 | <div class="prop-name"> | |
3027 | <div class="prop-title">200 OK</div> | |
3028 | <div class="prop-ref"></div> | |
3029 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
3030 | </div> | |
3031 | <div class="prop-value"> | |
3032 | <p>successful operation</p> | |
3033 | </div> | |
3034 | </div> | |
228e84aa C |
3035 | <div class="prop-row prop-inner"> |
3036 | <div class="prop-name">type</div> | |
3037 | <div class="prop-value"> | |
3038 | <span class="json-property-type">string[]</span> | |
3039 | <span class="json-property-range" title="Value limits"></span> | |
3040 | </div> | |
3041 | </div> | |
5e1c08eb C |
3042 | </section> |
3043 | </div> | |
3044 | <div class="doc-examples"> | |
3045 | <h5>Response Content-Types: | |
3046 | <span>application/json</span> | |
3047 | </h5> | |
3048 | <section> | |
3049 | <h5>Response Example | |
3050 | <span>(200 OK)</span> | |
3051 | </h5> | |
3052 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
3053 | <span class="hljs-string">"string"</span> | |
3054 | ] | |
3055 | </code></pre> | |
3056 | <!-- </div> --> | |
3057 | </section> | |
3058 | </div> | |
3059 | </div> | |
3060 | </div> | |
ab0ee6a1 | 3061 | <div id="operation--videos-languages-get" class="operation panel" data-traverse-target="operation--videos-languages-get"> |
5e1c08eb C |
3062 | <!-- <section class="operation-tags row"> --> |
3063 | <!-- <div class="doc-copy"> --> | |
3064 | <div class="operation-tags"> | |
3065 | <a class="label" href="#tag-Video">Video</a> | |
3066 | <!----> | |
3067 | </div> | |
3068 | <!-- </div> --> | |
3069 | <!-- </section> --> | |
3070 | <h2 class="operation-title"> | |
3071 | <span class="operation-name"> | |
3072 | <span class="operation-name">GET</span> | |
ab0ee6a1 | 3073 | <span class="operation-path">/videos/languages</span> |
5e1c08eb C |
3074 | </span> |
3075 | </h2> | |
3076 | <div class="doc-row"> | |
3077 | <div class="doc-copy"> </div> | |
3078 | <div class="doc-examples"></div> | |
3079 | </div> | |
3080 | <div class="doc-row"> | |
3081 | <div class="doc-copy"> | |
3082 | <section class="swagger-responses"> | |
3083 | <div class="prop-row prop-group"> | |
3084 | <div class="prop-name"> | |
3085 | <div class="prop-title">200 OK</div> | |
3086 | <div class="prop-ref"></div> | |
3087 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
3088 | </div> | |
3089 | <div class="prop-value"> | |
3090 | <p>successful operation</p> | |
3091 | </div> | |
3092 | </div> | |
228e84aa C |
3093 | <div class="prop-row prop-inner"> |
3094 | <div class="prop-name">type</div> | |
3095 | <div class="prop-value"> | |
3096 | <span class="json-property-type">string[]</span> | |
3097 | <span class="json-property-range" title="Value limits"></span> | |
3098 | </div> | |
3099 | </div> | |
5e1c08eb C |
3100 | </section> |
3101 | </div> | |
3102 | <div class="doc-examples"> | |
3103 | <h5>Response Content-Types: | |
3104 | <span>application/json</span> | |
3105 | </h5> | |
3106 | <section> | |
3107 | <h5>Response Example | |
3108 | <span>(200 OK)</span> | |
3109 | </h5> | |
3110 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
3111 | <span class="hljs-string">"string"</span> | |
3112 | ] | |
3113 | </code></pre> | |
3114 | <!-- </div> --> | |
3115 | </section> | |
3116 | </div> | |
3117 | </div> | |
3118 | </div> | |
ab0ee6a1 | 3119 | <div id="operation--videos-privacies-get" class="operation panel" data-traverse-target="operation--videos-privacies-get"> |
5e1c08eb C |
3120 | <!-- <section class="operation-tags row"> --> |
3121 | <!-- <div class="doc-copy"> --> | |
3122 | <div class="operation-tags"> | |
3123 | <a class="label" href="#tag-Video">Video</a> | |
3124 | <!----> | |
3125 | </div> | |
3126 | <!-- </div> --> | |
3127 | <!-- </section> --> | |
3128 | <h2 class="operation-title"> | |
3129 | <span class="operation-name"> | |
3130 | <span class="operation-name">GET</span> | |
ab0ee6a1 | 3131 | <span class="operation-path">/videos/privacies</span> |
5e1c08eb C |
3132 | </span> |
3133 | </h2> | |
3134 | <div class="doc-row"> | |
3135 | <div class="doc-copy"> </div> | |
3136 | <div class="doc-examples"></div> | |
3137 | </div> | |
3138 | <div class="doc-row"> | |
3139 | <div class="doc-copy"> | |
3140 | <section class="swagger-responses"> | |
3141 | <div class="prop-row prop-group"> | |
3142 | <div class="prop-name"> | |
3143 | <div class="prop-title">200 OK</div> | |
3144 | <div class="prop-ref"></div> | |
3145 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
3146 | </div> | |
3147 | <div class="prop-value"> | |
3148 | <p>successful operation</p> | |
3149 | </div> | |
3150 | </div> | |
228e84aa C |
3151 | <div class="prop-row prop-inner"> |
3152 | <div class="prop-name">type</div> | |
3153 | <div class="prop-value"> | |
3154 | <span class="json-property-type">string[]</span> | |
3155 | <span class="json-property-range" title="Value limits"></span> | |
3156 | </div> | |
3157 | </div> | |
5e1c08eb C |
3158 | </section> |
3159 | </div> | |
3160 | <div class="doc-examples"> | |
3161 | <h5>Response Content-Types: | |
3162 | <span>application/json</span> | |
3163 | </h5> | |
3164 | <section> | |
3165 | <h5>Response Example | |
3166 | <span>(200 OK)</span> | |
3167 | </h5> | |
3168 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
3169 | <span class="hljs-string">"string"</span> | |
3170 | ] | |
3171 | </code></pre> | |
3172 | <!-- </div> --> | |
3173 | </section> | |
3174 | </div> | |
3175 | </div> | |
3176 | </div> | |
ab0ee6a1 | 3177 | <div id="operation--videos-search-get" class="operation panel" data-traverse-target="operation--videos-search-get"> |
5e1c08eb C |
3178 | <!-- <section class="operation-tags row"> --> |
3179 | <!-- <div class="doc-copy"> --> | |
3180 | <div class="operation-tags"> | |
3181 | <a class="label" href="#tag-Video">Video</a> | |
3182 | <!----> | |
3183 | </div> | |
3184 | <!-- </div> --> | |
3185 | <!-- </section> --> | |
3186 | <h2 class="operation-title"> | |
3187 | <span class="operation-name"> | |
3188 | <span class="operation-name">GET</span> | |
ab0ee6a1 | 3189 | <span class="operation-path">/videos/search</span> |
5e1c08eb C |
3190 | </span> |
3191 | </h2> | |
3192 | <div class="doc-row"> | |
ab0ee6a1 C |
3193 | <div class="doc-copy"> |
3194 | <section class="swagger-request-params"> | |
3195 | <div class="prop-row prop-group"> | |
3196 | <div class="prop-name"> | |
3197 | <div class="prop-title">start</div> | |
228e84aa C |
3198 | <div class="prop-subtitle"> in query </div> |
3199 | <div class="prop-subtitle"> | |
3200 | <span class="json-property-type">number</span> | |
3201 | <span class="json-property-range" title="Value limits"></span> | |
3202 | </div> | |
ab0ee6a1 C |
3203 | </div> |
3204 | <div class="prop-value"> | |
3205 | <p>starting page</p> | |
3206 | </div> | |
3207 | </div> | |
ab0ee6a1 C |
3208 | <div class="prop-row prop-group"> |
3209 | <div class="prop-name"> | |
3210 | <div class="prop-title">stop</div> | |
228e84aa C |
3211 | <div class="prop-subtitle"> in query </div> |
3212 | <div class="prop-subtitle"> | |
3213 | <span class="json-property-type">number</span> | |
3214 | <span class="json-property-range" title="Value limits"></span> | |
3215 | </div> | |
ab0ee6a1 C |
3216 | </div> |
3217 | <div class="prop-value"> | |
f209b32a | 3218 | <p>stopping page</p> |
ab0ee6a1 C |
3219 | </div> |
3220 | </div> | |
ab0ee6a1 C |
3221 | <div class="prop-row prop-group"> |
3222 | <div class="prop-name"> | |
3223 | <div class="prop-title">sort</div> | |
228e84aa C |
3224 | <div class="prop-subtitle"> in query </div> |
3225 | <div class="prop-subtitle"> | |
3226 | <span class="json-property-type">number</span> | |
3227 | <span class="json-property-range" title="Value limits"></span> | |
3228 | </div> | |
ab0ee6a1 C |
3229 | </div> |
3230 | <div class="prop-value"> | |
3231 | <p>sorting</p> | |
3232 | </div> | |
3233 | </div> | |
ab0ee6a1 C |
3234 | </section> |
3235 | </div> | |
5e1c08eb C |
3236 | <div class="doc-examples"></div> |
3237 | </div> | |
3238 | <div class="doc-row"> | |
3239 | <div class="doc-copy"> | |
3240 | <section class="swagger-responses"> | |
3241 | <div class="prop-row prop-group"> | |
3242 | <div class="prop-name"> | |
3243 | <div class="prop-title">200 OK</div> | |
3244 | <div class="prop-ref"> | |
3245 | <span class="json-schema-ref-array"> | |
3246 | <a class="json-schema-ref" href="#/definitions/Video">Video</a> | |
3247 | </span> | |
3248 | </div> | |
3249 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
3250 | </div> | |
3251 | <div class="prop-value"> | |
3252 | <p>successful operation</p> | |
3253 | </div> | |
3254 | </div> | |
228e84aa C |
3255 | <div class="prop-row prop-inner"> |
3256 | <div class="prop-name">type</div> | |
3257 | <div class="prop-value"> | |
3258 | <span class="json-property-type"> | |
3259 | <span class="json-schema-ref-array"> | |
3260 | <a class="json-schema-ref" href="#/definitions/Video">Video</a> | |
3261 | </span> | |
3262 | </span> | |
3263 | <span class="json-property-range" title="Value limits"></span> | |
3264 | </div> | |
3265 | </div> | |
5e1c08eb C |
3266 | </section> |
3267 | </div> | |
3268 | <div class="doc-examples"> | |
3269 | <h5>Response Content-Types: | |
3270 | <span>application/json</span> | |
3271 | </h5> | |
3272 | <section> | |
3273 | <h5>Response Example | |
3274 | <span>(200 OK)</span> | |
3275 | </h5> | |
3276 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
3277 | { | |
3278 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
3279 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
5e1c08eb | 3280 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, |
61b66b36 | 3281 | <span class="hljs-attr">"publishedAt"</span>: <span class="hljs-string">"string"</span>, |
5e1c08eb | 3282 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, |
5d00a3d7 C |
3283 | <span class="hljs-attr">"category"</span>: { |
3284 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
3285 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
3286 | }, | |
3287 | <span class="hljs-attr">"licence"</span>: { | |
3288 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
3289 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
3290 | }, | |
3291 | <span class="hljs-attr">"language"</span>: { | |
48dce1c9 | 3292 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"string"</span>, |
5d00a3d7 C |
3293 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> |
3294 | }, | |
61b66b36 | 3295 | <span class="hljs-attr">"privacy"</span>: <span class="hljs-string">"string"</span>, |
5e1c08eb C |
3296 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, |
3297 | <span class="hljs-attr">"duration"</span>: <span class="hljs-string">"number"</span>, | |
3298 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
3299 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
5e1c08eb C |
3300 | <span class="hljs-attr">"thumbnailPath"</span>: <span class="hljs-string">"string"</span>, |
3301 | <span class="hljs-attr">"previewPath"</span>: <span class="hljs-string">"string"</span>, | |
3302 | <span class="hljs-attr">"embedPath"</span>: <span class="hljs-string">"string"</span>, | |
3303 | <span class="hljs-attr">"views"</span>: <span class="hljs-string">"number"</span>, | |
3304 | <span class="hljs-attr">"likes"</span>: <span class="hljs-string">"number"</span>, | |
3305 | <span class="hljs-attr">"dislikes"</span>: <span class="hljs-string">"number"</span>, | |
61b66b36 C |
3306 | <span class="hljs-attr">"nsfw"</span>: <span class="hljs-string">"boolean"</span>, |
3307 | <span class="hljs-attr">"account"</span>: { | |
3308 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
3309 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
3310 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
3311 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
3312 | <span class="hljs-attr">"avatar"</span>: { | |
3313 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
3314 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
3315 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
3316 | } | |
3317 | } | |
5e1c08eb C |
3318 | } |
3319 | ] | |
3320 | </code></pre> | |
3321 | <!-- </div> --> | |
3322 | </section> | |
3323 | </div> | |
3324 | </div> | |
3325 | </div> | |
ab0ee6a1 | 3326 | <div id="operation--videos--id--put" class="operation panel" data-traverse-target="operation--videos--id--put"> |
5e1c08eb C |
3327 | <!-- <section class="operation-tags row"> --> |
3328 | <!-- <div class="doc-copy"> --> | |
3329 | <div class="operation-tags"> | |
3330 | <a class="label" href="#tag-Video">Video</a> | |
3331 | <!----> | |
3332 | </div> | |
3333 | <!-- </div> --> | |
3334 | <!-- </section> --> | |
3335 | <h2 class="operation-title"> | |
3336 | <span class="operation-name"> | |
3337 | <span class="operation-name">PUT</span> | |
ab0ee6a1 | 3338 | <span class="operation-path">/videos/{id}</span> |
5e1c08eb C |
3339 | </span> |
3340 | </h2> | |
3341 | <div class="doc-row"> | |
3342 | <div class="doc-copy"> | |
3343 | <section class="swagger-request-params"> | |
3344 | <div class="prop-row prop-group"> | |
3345 | <div class="prop-name"> | |
3346 | <div class="prop-title">id</div> | |
3347 | <span class="json-property-required"></span> | |
228e84aa C |
3348 | <div class="prop-subtitle"> in path </div> |
3349 | <div class="prop-subtitle"> | |
3350 | <span class="json-property-type">string</span> | |
3351 | <span class="json-property-range" title="Value limits"></span> | |
3352 | </div> | |
5e1c08eb C |
3353 | </div> |
3354 | <div class="prop-value"> | |
61b66b36 | 3355 | <p>The video id</p> |
5e1c08eb C |
3356 | </div> |
3357 | </div> | |
5e1c08eb C |
3358 | <div class="prop-row prop-group"> |
3359 | <div class="prop-name"> | |
61b66b36 | 3360 | <div class="prop-title">thumbnailfile</div> |
228e84aa C |
3361 | <div class="prop-subtitle"> in formData </div> |
3362 | <div class="prop-subtitle"> | |
3363 | <span class="json-property-type">file</span> | |
3364 | <span class="json-property-range" title="Value limits"></span> | |
3365 | </div> | |
5e1c08eb C |
3366 | </div> |
3367 | <div class="prop-value"> | |
61b66b36 | 3368 | <p>Video thumbnail file</p> |
5e1c08eb C |
3369 | </div> |
3370 | </div> | |
5e1c08eb C |
3371 | <div class="prop-row prop-group"> |
3372 | <div class="prop-name"> | |
61b66b36 | 3373 | <div class="prop-title">previewfile</div> |
228e84aa C |
3374 | <div class="prop-subtitle"> in formData </div> |
3375 | <div class="prop-subtitle"> | |
3376 | <span class="json-property-type">file</span> | |
3377 | <span class="json-property-range" title="Value limits"></span> | |
3378 | </div> | |
5e1c08eb C |
3379 | </div> |
3380 | <div class="prop-value"> | |
61b66b36 | 3381 | <p>Video preview file</p> |
5e1c08eb C |
3382 | </div> |
3383 | </div> | |
5e1c08eb C |
3384 | <div class="prop-row prop-group"> |
3385 | <div class="prop-name"> | |
61b66b36 | 3386 | <div class="prop-title">category</div> |
228e84aa C |
3387 | <div class="prop-subtitle"> in formData </div> |
3388 | <div class="prop-subtitle"> | |
3389 | <span class="json-property-type">number</span> | |
3390 | <span class="json-property-range" title="Value limits"></span> | |
3391 | </div> | |
5e1c08eb C |
3392 | </div> |
3393 | <div class="prop-value"> | |
61b66b36 | 3394 | <p>Video category</p> |
5e1c08eb C |
3395 | </div> |
3396 | </div> | |
5e1c08eb C |
3397 | <div class="prop-row prop-group"> |
3398 | <div class="prop-name"> | |
61b66b36 | 3399 | <div class="prop-title">licence</div> |
228e84aa C |
3400 | <div class="prop-subtitle"> in formData </div> |
3401 | <div class="prop-subtitle"> | |
3402 | <span class="json-property-type">number</span> | |
3403 | <span class="json-property-range" title="Value limits"></span> | |
3404 | </div> | |
5e1c08eb C |
3405 | </div> |
3406 | <div class="prop-value"> | |
61b66b36 | 3407 | <p>Video licence</p> |
5e1c08eb C |
3408 | </div> |
3409 | </div> | |
61b66b36 C |
3410 | <div class="prop-row prop-group"> |
3411 | <div class="prop-name"> | |
3412 | <div class="prop-title">language</div> | |
228e84aa C |
3413 | <div class="prop-subtitle"> in formData </div> |
3414 | <div class="prop-subtitle"> | |
48dce1c9 | 3415 | <span class="json-property-type">string</span> |
228e84aa C |
3416 | <span class="json-property-range" title="Value limits"></span> |
3417 | </div> | |
61b66b36 C |
3418 | </div> |
3419 | <div class="prop-value"> | |
3420 | <p>Video language</p> | |
3421 | </div> | |
3422 | </div> | |
61b66b36 C |
3423 | <div class="prop-row prop-group"> |
3424 | <div class="prop-name"> | |
3425 | <div class="prop-title">description</div> | |
228e84aa C |
3426 | <div class="prop-subtitle"> in formData </div> |
3427 | <div class="prop-subtitle"> | |
3428 | <span class="json-property-type">string</span> | |
3429 | <span class="json-property-range" title="Value limits"></span> | |
3430 | </div> | |
61b66b36 C |
3431 | </div> |
3432 | <div class="prop-value"> | |
3433 | <p>Video description</p> | |
3434 | </div> | |
3435 | </div> | |
61b66b36 C |
3436 | <div class="prop-row prop-group"> |
3437 | <div class="prop-name"> | |
3438 | <div class="prop-title">support</div> | |
228e84aa C |
3439 | <div class="prop-subtitle"> in formData </div> |
3440 | <div class="prop-subtitle"> | |
3441 | <span class="json-property-type">string</span> | |
3442 | <span class="json-property-range" title="Value limits"></span> | |
3443 | </div> | |
61b66b36 C |
3444 | </div> |
3445 | <div class="prop-value"> | |
3446 | <p>Text describing how to support the video uploader</p> | |
3447 | </div> | |
3448 | </div> | |
61b66b36 C |
3449 | <div class="prop-row prop-group"> |
3450 | <div class="prop-name"> | |
3451 | <div class="prop-title">nsfw</div> | |
228e84aa C |
3452 | <div class="prop-subtitle"> in formData </div> |
3453 | <div class="prop-subtitle"> | |
3454 | <span class="json-property-type">boolean</span> | |
3455 | <span class="json-property-range" title="Value limits"></span> | |
3456 | </div> | |
61b66b36 C |
3457 | </div> |
3458 | <div class="prop-value"> | |
3459 | <p>Whether or not this video contains sensitive content</p> | |
3460 | </div> | |
3461 | </div> | |
61b66b36 C |
3462 | <div class="prop-row prop-group"> |
3463 | <div class="prop-name"> | |
3464 | <div class="prop-title">name</div> | |
228e84aa C |
3465 | <div class="prop-subtitle"> in formData </div> |
3466 | <div class="prop-subtitle"> | |
3467 | <span class="json-property-type">string</span> | |
3468 | <span class="json-property-range" title="Value limits"></span> | |
3469 | </div> | |
61b66b36 C |
3470 | </div> |
3471 | <div class="prop-value"> | |
3472 | <p>Video name</p> | |
3473 | </div> | |
3474 | </div> | |
61b66b36 C |
3475 | <div class="prop-row prop-group"> |
3476 | <div class="prop-name"> | |
3477 | <div class="prop-title">tags</div> | |
228e84aa C |
3478 | <div class="prop-subtitle"> in formData </div> |
3479 | <div class="prop-subtitle"> | |
3480 | <span class="json-property-type">string[]</span> | |
3481 | <span class="json-property-range" title="Value limits"></span> | |
3482 | </div> | |
61b66b36 C |
3483 | </div> |
3484 | <div class="prop-value"> | |
3485 | <p>Video tags</p> | |
3486 | </div> | |
3487 | </div> | |
61b66b36 C |
3488 | <div class="prop-row prop-group"> |
3489 | <div class="prop-name"> | |
3490 | <div class="prop-title">commentsEnabled</div> | |
228e84aa C |
3491 | <div class="prop-subtitle"> in formData </div> |
3492 | <div class="prop-subtitle"> | |
3493 | <span class="json-property-type">boolean</span> | |
3494 | <span class="json-property-range" title="Value limits"></span> | |
3495 | </div> | |
61b66b36 C |
3496 | </div> |
3497 | <div class="prop-value"> | |
3498 | <p>Enable or disable comments for this video</p> | |
3499 | </div> | |
3500 | </div> | |
61b66b36 C |
3501 | <div class="prop-row prop-group"> |
3502 | <div class="prop-name"> | |
3503 | <div class="prop-title">privacy</div> | |
228e84aa C |
3504 | <div class="prop-subtitle"> in formData </div> |
3505 | <div class="prop-subtitle"> | |
3506 | <span class="json-property-type">string</span> | |
3507 | <span class="json-property-enum" title="Possible values"> | |
3508 | <span class="json-property-enum-item">Public</span>, | |
3509 | <span class="json-property-enum-item">Unlisted</span> | |
3510 | </span> | |
3511 | <span class="json-property-range" title="Value limits"></span> | |
3512 | </div> | |
61b66b36 C |
3513 | </div> |
3514 | <div class="prop-value"> | |
3515 | <p>Video privacy</p> | |
3516 | </div> | |
3517 | </div> | |
61b66b36 C |
3518 | </section> |
3519 | </div> | |
3520 | <div class="doc-examples"></div> | |
3521 | </div> | |
3522 | <div class="doc-row"> | |
3523 | <div class="doc-copy"> | |
3524 | <section class="swagger-responses"> | |
3525 | <div class="prop-row prop-group"> | |
3526 | <div class="prop-name"> | |
3527 | <div class="prop-title">200 OK</div> | |
3528 | <div class="prop-ref"> | |
3529 | <span class=""> | |
3530 | <a class="json-schema-ref" href="#/definitions/Video">Video</a> | |
3531 | </span> | |
3532 | </div> | |
3533 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
3534 | </div> | |
3535 | <div class="prop-value"> | |
3536 | <p>successful operation</p> | |
3537 | </div> | |
3538 | </div> | |
3539 | </section> | |
3540 | </div> | |
3541 | <div class="doc-examples"> | |
3542 | <h5>Response Content-Types: | |
3543 | <span>application/json</span> | |
3544 | </h5> | |
3545 | <section> | |
3546 | <h5>Response Example | |
3547 | <span>(200 OK)</span> | |
3548 | </h5> | |
3549 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
3550 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
3551 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
3552 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
3553 | <span class="hljs-attr">"publishedAt"</span>: <span class="hljs-string">"string"</span>, | |
3554 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
3555 | <span class="hljs-attr">"category"</span>: { | |
3556 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
3557 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
3558 | }, | |
3559 | <span class="hljs-attr">"licence"</span>: { | |
3560 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
3561 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
3562 | }, | |
3563 | <span class="hljs-attr">"language"</span>: { | |
48dce1c9 | 3564 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"string"</span>, |
61b66b36 C |
3565 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> |
3566 | }, | |
3567 | <span class="hljs-attr">"privacy"</span>: <span class="hljs-string">"string"</span>, | |
3568 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
3569 | <span class="hljs-attr">"duration"</span>: <span class="hljs-string">"number"</span>, | |
3570 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
3571 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
3572 | <span class="hljs-attr">"thumbnailPath"</span>: <span class="hljs-string">"string"</span>, | |
3573 | <span class="hljs-attr">"previewPath"</span>: <span class="hljs-string">"string"</span>, | |
3574 | <span class="hljs-attr">"embedPath"</span>: <span class="hljs-string">"string"</span>, | |
3575 | <span class="hljs-attr">"views"</span>: <span class="hljs-string">"number"</span>, | |
3576 | <span class="hljs-attr">"likes"</span>: <span class="hljs-string">"number"</span>, | |
3577 | <span class="hljs-attr">"dislikes"</span>: <span class="hljs-string">"number"</span>, | |
3578 | <span class="hljs-attr">"nsfw"</span>: <span class="hljs-string">"boolean"</span>, | |
3579 | <span class="hljs-attr">"account"</span>: { | |
3580 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
3581 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
3582 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
3583 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
3584 | <span class="hljs-attr">"avatar"</span>: { | |
3585 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
3586 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
3587 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
3588 | } | |
3589 | } | |
3590 | } | |
3591 | </code></pre> | |
3592 | <!-- </div> --> | |
3593 | </section> | |
3594 | </div> | |
3595 | </div> | |
94ff4c23 C |
3596 | <div class="doc-row"> |
3597 | <div class="doc-copy"> | |
3598 | <section class="swagger-request-security"> | |
3599 | <table class="table"> | |
3600 | <thead> | |
3601 | <tr> | |
3602 | <th class="swagger-request-security-schema"></th> | |
3603 | <th class="swagger-request-security-scopes"></th> | |
3604 | </tr> | |
3605 | </thead> | |
3606 | <tbody> | |
3607 | <tr> | |
3608 | <td> | |
3609 | <a href="#security-definition-OAuth2">OAuth2</a> | |
3610 | </td> | |
3611 | <td> </td> | |
3612 | </tr> | |
3613 | </tbody> | |
3614 | </table> | |
3615 | </section> | |
3616 | </div> | |
3617 | </div> | |
61b66b36 C |
3618 | </div> |
3619 | <div id="operation--videos--id--get" class="operation panel" data-traverse-target="operation--videos--id--get"> | |
3620 | <!-- <section class="operation-tags row"> --> | |
3621 | <!-- <div class="doc-copy"> --> | |
3622 | <div class="operation-tags"> | |
3623 | <a class="label" href="#tag-Video">Video</a> | |
3624 | <!----> | |
3625 | </div> | |
3626 | <!-- </div> --> | |
3627 | <!-- </section> --> | |
3628 | <h2 class="operation-title"> | |
3629 | <span class="operation-name"> | |
3630 | <span class="operation-name">GET</span> | |
3631 | <span class="operation-path">/videos/{id}</span> | |
3632 | </span> | |
3633 | </h2> | |
3634 | <div class="doc-row"> | |
3635 | <div class="doc-copy"> | |
3636 | <section class="swagger-request-params"> | |
3637 | <div class="prop-row prop-group"> | |
3638 | <div class="prop-name"> | |
3639 | <div class="prop-title">id</div> | |
3640 | <span class="json-property-required"></span> | |
228e84aa C |
3641 | <div class="prop-subtitle"> in path </div> |
3642 | <div class="prop-subtitle"> | |
3643 | <span class="json-property-type">string</span> | |
3644 | <span class="json-property-range" title="Value limits"></span> | |
3645 | </div> | |
61b66b36 C |
3646 | </div> |
3647 | <div class="prop-value"> | |
3648 | <p>The video id </p> | |
3649 | </div> | |
3650 | </div> | |
61b66b36 C |
3651 | </section> |
3652 | </div> | |
3653 | <div class="doc-examples"></div> | |
3654 | </div> | |
3655 | <div class="doc-row"> | |
3656 | <div class="doc-copy"> | |
3657 | <section class="swagger-responses"> | |
3658 | <div class="prop-row prop-group"> | |
3659 | <div class="prop-name"> | |
3660 | <div class="prop-title">200 OK</div> | |
3661 | <div class="prop-ref"> | |
3662 | <span class=""> | |
3663 | <a class="json-schema-ref" href="#/definitions/Video">Video</a> | |
3664 | </span> | |
3665 | </div> | |
3666 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
3667 | </div> | |
3668 | <div class="prop-value"> | |
3669 | <p>successful operation</p> | |
3670 | </div> | |
3671 | </div> | |
3672 | </section> | |
3673 | </div> | |
3674 | <div class="doc-examples"> | |
3675 | <h5>Response Content-Types: | |
3676 | <span>application/json</span> | |
3677 | </h5> | |
3678 | <section> | |
3679 | <h5>Response Example | |
3680 | <span>(200 OK)</span> | |
3681 | </h5> | |
3682 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
3683 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
3684 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
3685 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
3686 | <span class="hljs-attr">"publishedAt"</span>: <span class="hljs-string">"string"</span>, | |
3687 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
3688 | <span class="hljs-attr">"category"</span>: { | |
3689 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
3690 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
3691 | }, | |
3692 | <span class="hljs-attr">"licence"</span>: { | |
3693 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
3694 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
3695 | }, | |
3696 | <span class="hljs-attr">"language"</span>: { | |
48dce1c9 | 3697 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"string"</span>, |
61b66b36 C |
3698 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> |
3699 | }, | |
3700 | <span class="hljs-attr">"privacy"</span>: <span class="hljs-string">"string"</span>, | |
3701 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
3702 | <span class="hljs-attr">"duration"</span>: <span class="hljs-string">"number"</span>, | |
3703 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
3704 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
3705 | <span class="hljs-attr">"thumbnailPath"</span>: <span class="hljs-string">"string"</span>, | |
3706 | <span class="hljs-attr">"previewPath"</span>: <span class="hljs-string">"string"</span>, | |
3707 | <span class="hljs-attr">"embedPath"</span>: <span class="hljs-string">"string"</span>, | |
3708 | <span class="hljs-attr">"views"</span>: <span class="hljs-string">"number"</span>, | |
3709 | <span class="hljs-attr">"likes"</span>: <span class="hljs-string">"number"</span>, | |
3710 | <span class="hljs-attr">"dislikes"</span>: <span class="hljs-string">"number"</span>, | |
3711 | <span class="hljs-attr">"nsfw"</span>: <span class="hljs-string">"boolean"</span>, | |
3712 | <span class="hljs-attr">"account"</span>: { | |
3713 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
3714 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
3715 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
3716 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
3717 | <span class="hljs-attr">"avatar"</span>: { | |
3718 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
3719 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
3720 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
3721 | } | |
3722 | } | |
3723 | } | |
3724 | </code></pre> | |
3725 | <!-- </div> --> | |
3726 | </section> | |
3727 | </div> | |
3728 | </div> | |
3729 | </div> | |
3730 | <div id="operation--videos--id--delete" class="operation panel" data-traverse-target="operation--videos--id--delete"> | |
3731 | <!-- <section class="operation-tags row"> --> | |
3732 | <!-- <div class="doc-copy"> --> | |
3733 | <div class="operation-tags"> | |
3734 | <a class="label" href="#tag-Video">Video</a> | |
3735 | <!----> | |
3736 | </div> | |
3737 | <!-- </div> --> | |
3738 | <!-- </section> --> | |
3739 | <h2 class="operation-title"> | |
3740 | <span class="operation-name"> | |
3741 | <span class="operation-name">DELETE</span> | |
3742 | <span class="operation-path">/videos/{id}</span> | |
3743 | </span> | |
3744 | </h2> | |
3745 | <div class="doc-row"> | |
3746 | <div class="doc-copy"> | |
3747 | <section class="swagger-request-params"> | |
3748 | <div class="prop-row prop-group"> | |
3749 | <div class="prop-name"> | |
3750 | <div class="prop-title">id</div> | |
3751 | <span class="json-property-required"></span> | |
228e84aa C |
3752 | <div class="prop-subtitle"> in path </div> |
3753 | <div class="prop-subtitle"> | |
3754 | <span class="json-property-type">string</span> | |
3755 | <span class="json-property-range" title="Value limits"></span> | |
3756 | </div> | |
61b66b36 C |
3757 | </div> |
3758 | <div class="prop-value"> | |
3759 | <p>The video id </p> | |
3760 | </div> | |
3761 | </div> | |
61b66b36 C |
3762 | </section> |
3763 | </div> | |
3764 | <div class="doc-examples"></div> | |
3765 | </div> | |
3766 | <div class="doc-row"> | |
3767 | <div class="doc-copy"> | |
3768 | <section class="swagger-responses"> | |
3769 | <div class="prop-row prop-group"> | |
3770 | <div class="prop-name"> | |
3771 | <div class="prop-title">204 No Content</div> | |
3772 | </div> | |
3773 | <div class="prop-value"> | |
3774 | <p>successful operation</p> | |
3775 | </div> | |
3776 | </div> | |
3777 | </section> | |
3778 | </div> | |
3779 | <div class="doc-examples"> | |
3780 | <h5>Response Content-Types: | |
3781 | <span>application/json</span> | |
3782 | </h5> | |
3783 | </div> | |
3784 | </div> | |
94ff4c23 C |
3785 | <div class="doc-row"> |
3786 | <div class="doc-copy"> | |
3787 | <section class="swagger-request-security"> | |
3788 | <table class="table"> | |
3789 | <thead> | |
3790 | <tr> | |
3791 | <th class="swagger-request-security-schema"></th> | |
3792 | <th class="swagger-request-security-scopes"></th> | |
3793 | </tr> | |
3794 | </thead> | |
3795 | <tbody> | |
3796 | <tr> | |
3797 | <td> | |
3798 | <a href="#security-definition-OAuth2">OAuth2</a> | |
3799 | </td> | |
3800 | <td> </td> | |
3801 | </tr> | |
3802 | </tbody> | |
3803 | </table> | |
3804 | </section> | |
3805 | </div> | |
3806 | </div> | |
61b66b36 C |
3807 | </div> |
3808 | <div id="operation--videos--id--description-get" class="operation panel" data-traverse-target="operation--videos--id--description-get"> | |
3809 | <!-- <section class="operation-tags row"> --> | |
3810 | <!-- <div class="doc-copy"> --> | |
3811 | <div class="operation-tags"> | |
3812 | <a class="label" href="#tag-Video">Video</a> | |
3813 | <!----> | |
3814 | </div> | |
3815 | <!-- </div> --> | |
3816 | <!-- </section> --> | |
3817 | <h2 class="operation-title"> | |
3818 | <span class="operation-name"> | |
3819 | <span class="operation-name">GET</span> | |
3820 | <span class="operation-path">/videos/{id}/description</span> | |
3821 | </span> | |
3822 | </h2> | |
3823 | <div class="doc-row"> | |
3824 | <div class="doc-copy"> | |
3825 | <section class="swagger-request-params"> | |
3826 | <div class="prop-row prop-group"> | |
3827 | <div class="prop-name"> | |
3828 | <div class="prop-title">id</div> | |
3829 | <span class="json-property-required"></span> | |
228e84aa C |
3830 | <div class="prop-subtitle"> in path </div> |
3831 | <div class="prop-subtitle"> | |
3832 | <span class="json-property-type">string</span> | |
3833 | <span class="json-property-range" title="Value limits"></span> | |
3834 | </div> | |
61b66b36 C |
3835 | </div> |
3836 | <div class="prop-value"> | |
3837 | <p>The video id </p> | |
3838 | </div> | |
3839 | </div> | |
61b66b36 C |
3840 | </section> |
3841 | </div> | |
3842 | <div class="doc-examples"></div> | |
3843 | </div> | |
3844 | <div class="doc-row"> | |
3845 | <div class="doc-copy"> | |
3846 | <section class="swagger-responses"> | |
3847 | <div class="prop-row prop-group"> | |
3848 | <div class="prop-name"> | |
3849 | <div class="prop-title">200 OK</div> | |
3850 | <div class="prop-ref"></div> | |
3851 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
3852 | </div> | |
3853 | <div class="prop-value"> | |
3854 | <p>successful operation</p> | |
3855 | </div> | |
3856 | </div> | |
228e84aa C |
3857 | <div class="prop-row prop-inner"> |
3858 | <div class="prop-name">type</div> | |
3859 | <div class="prop-value"> | |
3860 | <span class="json-property-type">string</span> | |
3861 | <span class="json-property-range" title="Value limits"></span> | |
3862 | </div> | |
3863 | </div> | |
61b66b36 C |
3864 | </section> |
3865 | </div> | |
3866 | <div class="doc-examples"> | |
3867 | <h5>Response Content-Types: | |
3868 | <span>application/json</span> | |
3869 | </h5> | |
3870 | <section> | |
3871 | <h5>Response Example | |
3872 | <span>(200 OK)</span> | |
3873 | </h5> | |
3874 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json"><span class="hljs-string">"string"</span> | |
3875 | </code></pre> | |
3876 | <!-- </div> --> | |
3877 | </section> | |
3878 | </div> | |
3879 | </div> | |
3880 | </div> | |
3881 | <div id="operation--videos--id--views-post" class="operation panel" data-traverse-target="operation--videos--id--views-post"> | |
3882 | <!-- <section class="operation-tags row"> --> | |
3883 | <!-- <div class="doc-copy"> --> | |
3884 | <div class="operation-tags"> | |
3885 | <a class="label" href="#tag-Video">Video</a> | |
3886 | <!----> | |
3887 | </div> | |
3888 | <!-- </div> --> | |
3889 | <!-- </section> --> | |
3890 | <h2 class="operation-title"> | |
3891 | <span class="operation-name"> | |
3892 | <span class="operation-name">POST</span> | |
3893 | <span class="operation-path">/videos/{id}/views</span> | |
3894 | </span> | |
3895 | </h2> | |
3896 | <div class="doc-row"> | |
3897 | <div class="doc-copy"> | |
3898 | <section class="swagger-request-params"> | |
3899 | <div class="prop-row prop-group"> | |
3900 | <div class="prop-name"> | |
3901 | <div class="prop-title">id</div> | |
3902 | <span class="json-property-required"></span> | |
228e84aa C |
3903 | <div class="prop-subtitle"> in path </div> |
3904 | <div class="prop-subtitle"> | |
3905 | <span class="json-property-type">string</span> | |
3906 | <span class="json-property-range" title="Value limits"></span> | |
3907 | </div> | |
61b66b36 C |
3908 | </div> |
3909 | <div class="prop-value"> | |
3910 | <p>The video id </p> | |
3911 | </div> | |
3912 | </div> | |
5e1c08eb C |
3913 | </section> |
3914 | </div> | |
3915 | <div class="doc-examples"></div> | |
3916 | </div> | |
3917 | <div class="doc-row"> | |
3918 | <div class="doc-copy"> | |
3919 | <section class="swagger-responses"> | |
3920 | <div class="prop-row prop-group"> | |
3921 | <div class="prop-name"> | |
3922 | <div class="prop-title">204 No Content</div> | |
3923 | </div> | |
3924 | <div class="prop-value"> | |
3925 | <p>successful operation</p> | |
3926 | </div> | |
3927 | </div> | |
3928 | </section> | |
3929 | </div> | |
3930 | <div class="doc-examples"> | |
3931 | <h5>Response Content-Types: | |
3932 | <span>application/json</span> | |
3933 | </h5> | |
3934 | </div> | |
3935 | </div> | |
3936 | </div> | |
61b66b36 | 3937 | <div id="operation--videos-upload-post" class="operation panel" data-traverse-target="operation--videos-upload-post"> |
5e1c08eb C |
3938 | <!-- <section class="operation-tags row"> --> |
3939 | <!-- <div class="doc-copy"> --> | |
3940 | <div class="operation-tags"> | |
3941 | <a class="label" href="#tag-Video">Video</a> | |
3942 | <!----> | |
3943 | </div> | |
3944 | <!-- </div> --> | |
3945 | <!-- </section> --> | |
3946 | <h2 class="operation-title"> | |
3947 | <span class="operation-name"> | |
61b66b36 C |
3948 | <span class="operation-name">POST</span> |
3949 | <span class="operation-path">/videos/upload</span> | |
5e1c08eb C |
3950 | </span> |
3951 | </h2> | |
3952 | <div class="doc-row"> | |
3953 | <div class="doc-copy"> | |
3954 | <section class="swagger-request-params"> | |
3955 | <div class="prop-row prop-group"> | |
3956 | <div class="prop-name"> | |
61b66b36 C |
3957 | <div class="prop-title">videofile</div> |
3958 | <span class="json-property-required"></span> | |
228e84aa C |
3959 | <div class="prop-subtitle"> in formData </div> |
3960 | <div class="prop-subtitle"> | |
3961 | <span class="json-property-type">file</span> | |
3962 | <span class="json-property-range" title="Value limits"></span> | |
3963 | </div> | |
61b66b36 C |
3964 | </div> |
3965 | <div class="prop-value"> | |
3966 | <p>Video file</p> | |
3967 | </div> | |
3968 | </div> | |
61b66b36 C |
3969 | <div class="prop-row prop-group"> |
3970 | <div class="prop-name"> | |
3971 | <div class="prop-title">thumbnailfile</div> | |
3972 | <span class="json-property-required"></span> | |
228e84aa C |
3973 | <div class="prop-subtitle"> in formData </div> |
3974 | <div class="prop-subtitle"> | |
3975 | <span class="json-property-type">file</span> | |
3976 | <span class="json-property-range" title="Value limits"></span> | |
3977 | </div> | |
61b66b36 C |
3978 | </div> |
3979 | <div class="prop-value"> | |
3980 | <p>Video thumbnail file</p> | |
3981 | </div> | |
3982 | </div> | |
61b66b36 C |
3983 | <div class="prop-row prop-group"> |
3984 | <div class="prop-name"> | |
3985 | <div class="prop-title">previewfile</div> | |
3986 | <span class="json-property-required"></span> | |
228e84aa C |
3987 | <div class="prop-subtitle"> in formData </div> |
3988 | <div class="prop-subtitle"> | |
3989 | <span class="json-property-type">file</span> | |
3990 | <span class="json-property-range" title="Value limits"></span> | |
3991 | </div> | |
61b66b36 C |
3992 | </div> |
3993 | <div class="prop-value"> | |
3994 | <p>Video preview file</p> | |
3995 | </div> | |
3996 | </div> | |
61b66b36 C |
3997 | <div class="prop-row prop-group"> |
3998 | <div class="prop-name"> | |
3999 | <div class="prop-title">category</div> | |
228e84aa C |
4000 | <div class="prop-subtitle"> in formData </div> |
4001 | <div class="prop-subtitle"> | |
4002 | <span class="json-property-type">number</span> | |
4003 | <span class="json-property-range" title="Value limits"></span> | |
4004 | </div> | |
61b66b36 C |
4005 | </div> |
4006 | <div class="prop-value"> | |
4007 | <p>Video category</p> | |
4008 | </div> | |
4009 | </div> | |
61b66b36 C |
4010 | <div class="prop-row prop-group"> |
4011 | <div class="prop-name"> | |
4012 | <div class="prop-title">licence</div> | |
228e84aa C |
4013 | <div class="prop-subtitle"> in formData </div> |
4014 | <div class="prop-subtitle"> | |
4015 | <span class="json-property-type">number</span> | |
4016 | <span class="json-property-range" title="Value limits"></span> | |
4017 | </div> | |
61b66b36 C |
4018 | </div> |
4019 | <div class="prop-value"> | |
4020 | <p>Video licence</p> | |
4021 | </div> | |
4022 | </div> | |
61b66b36 C |
4023 | <div class="prop-row prop-group"> |
4024 | <div class="prop-name"> | |
4025 | <div class="prop-title">language</div> | |
228e84aa C |
4026 | <div class="prop-subtitle"> in formData </div> |
4027 | <div class="prop-subtitle"> | |
48dce1c9 | 4028 | <span class="json-property-type">string</span> |
228e84aa C |
4029 | <span class="json-property-range" title="Value limits"></span> |
4030 | </div> | |
61b66b36 C |
4031 | </div> |
4032 | <div class="prop-value"> | |
4033 | <p>Video language</p> | |
4034 | </div> | |
4035 | </div> | |
61b66b36 C |
4036 | <div class="prop-row prop-group"> |
4037 | <div class="prop-name"> | |
4038 | <div class="prop-title">description</div> | |
228e84aa C |
4039 | <div class="prop-subtitle"> in formData </div> |
4040 | <div class="prop-subtitle"> | |
4041 | <span class="json-property-type">string</span> | |
4042 | <span class="json-property-range" title="Value limits"></span> | |
4043 | </div> | |
61b66b36 C |
4044 | </div> |
4045 | <div class="prop-value"> | |
4046 | <p>Video description</p> | |
4047 | </div> | |
4048 | </div> | |
61b66b36 C |
4049 | <div class="prop-row prop-group"> |
4050 | <div class="prop-name"> | |
4051 | <div class="prop-title">support</div> | |
228e84aa C |
4052 | <div class="prop-subtitle"> in formData </div> |
4053 | <div class="prop-subtitle"> | |
4054 | <span class="json-property-type">string</span> | |
4055 | <span class="json-property-range" title="Value limits"></span> | |
4056 | </div> | |
61b66b36 C |
4057 | </div> |
4058 | <div class="prop-value"> | |
4059 | <p>Text describing how to support the video uploader</p> | |
4060 | </div> | |
4061 | </div> | |
61b66b36 C |
4062 | <div class="prop-row prop-group"> |
4063 | <div class="prop-name"> | |
4064 | <div class="prop-title">channelId</div> | |
5e1c08eb | 4065 | <span class="json-property-required"></span> |
228e84aa C |
4066 | <div class="prop-subtitle"> in formData </div> |
4067 | <div class="prop-subtitle"> | |
4068 | <span class="json-property-type">number</span> | |
4069 | <span class="json-property-range" title="Value limits"></span> | |
4070 | </div> | |
5e1c08eb C |
4071 | </div> |
4072 | <div class="prop-value"> | |
61b66b36 | 4073 | <p>Channel id that will contain this video</p> |
5e1c08eb C |
4074 | </div> |
4075 | </div> | |
5e1c08eb C |
4076 | <div class="prop-row prop-group"> |
4077 | <div class="prop-name"> | |
61b66b36 C |
4078 | <div class="prop-title">nsfw</div> |
4079 | <span class="json-property-required"></span> | |
228e84aa C |
4080 | <div class="prop-subtitle"> in formData </div> |
4081 | <div class="prop-subtitle"> | |
4082 | <span class="json-property-type">boolean</span> | |
4083 | <span class="json-property-range" title="Value limits"></span> | |
4084 | </div> | |
5e1c08eb C |
4085 | </div> |
4086 | <div class="prop-value"> | |
61b66b36 | 4087 | <p>Whether or not this video contains sensitive content</p> |
5e1c08eb C |
4088 | </div> |
4089 | </div> | |
5e1c08eb C |
4090 | <div class="prop-row prop-group"> |
4091 | <div class="prop-name"> | |
61b66b36 | 4092 | <div class="prop-title">name</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">string</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>Video name</p> |
5e1c08eb C |
4102 | </div> |
4103 | </div> | |
5e1c08eb C |
4104 | <div class="prop-row prop-group"> |
4105 | <div class="prop-name"> | |
61b66b36 | 4106 | <div class="prop-title">tags</div> |
228e84aa C |
4107 | <div class="prop-subtitle"> in formData </div> |
4108 | <div class="prop-subtitle"> | |
4109 | <span class="json-property-type">string[]</span> | |
4110 | <span class="json-property-range" title="Value limits"></span> | |
4111 | </div> | |
5e1c08eb C |
4112 | </div> |
4113 | <div class="prop-value"> | |
61b66b36 | 4114 | <p>Video tags</p> |
5e1c08eb C |
4115 | </div> |
4116 | </div> | |
5e1c08eb C |
4117 | <div class="prop-row prop-group"> |
4118 | <div class="prop-name"> | |
61b66b36 | 4119 | <div class="prop-title">commentsEnabled</div> |
228e84aa C |
4120 | <div class="prop-subtitle"> in formData </div> |
4121 | <div class="prop-subtitle"> | |
4122 | <span class="json-property-type">boolean</span> | |
4123 | <span class="json-property-range" title="Value limits"></span> | |
4124 | </div> | |
5e1c08eb C |
4125 | </div> |
4126 | <div class="prop-value"> | |
61b66b36 | 4127 | <p>Enable or disable comments for this video</p> |
5e1c08eb C |
4128 | </div> |
4129 | </div> | |
61b66b36 C |
4130 | <div class="prop-row prop-group"> |
4131 | <div class="prop-name"> | |
4132 | <div class="prop-title">privacy</div> | |
4133 | <span class="json-property-required"></span> | |
228e84aa C |
4134 | <div class="prop-subtitle"> in formData </div> |
4135 | <div class="prop-subtitle"> | |
4136 | <span class="json-property-type">string</span> | |
4137 | <span class="json-property-enum" title="Possible values"> | |
4138 | <span class="json-property-enum-item">Public</span>, | |
4139 | <span class="json-property-enum-item">Unlisted</span>, | |
4140 | <span class="json-property-enum-item">Private</span> | |
4141 | </span> | |
4142 | <span class="json-property-range" title="Value limits"></span> | |
4143 | </div> | |
61b66b36 C |
4144 | </div> |
4145 | <div class="prop-value"> | |
4146 | <p>Video privacy</p> | |
4147 | </div> | |
4148 | </div> | |
5e1c08eb C |
4149 | </section> |
4150 | </div> | |
4151 | <div class="doc-examples"></div> | |
4152 | </div> | |
4153 | <div class="doc-row"> | |
4154 | <div class="doc-copy"> | |
4155 | <section class="swagger-responses"> | |
4156 | <div class="prop-row prop-group"> | |
4157 | <div class="prop-name"> | |
4158 | <div class="prop-title">200 OK</div> | |
4159 | <div class="prop-ref"> | |
4160 | <span class=""> | |
4161 | <a class="json-schema-ref" href="#/definitions/VideoUploadResponse">VideoUploadResponse</a> | |
4162 | </span> | |
4163 | </div> | |
4164 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
4165 | </div> | |
4166 | <div class="prop-value"> | |
4167 | <p>successful operation</p> | |
4168 | </div> | |
4169 | </div> | |
4170 | </section> | |
4171 | </div> | |
4172 | <div class="doc-examples"> | |
4173 | <h5>Response Content-Types: | |
4174 | <span>application/json</span> | |
4175 | </h5> | |
4176 | <section> | |
4177 | <h5>Response Example | |
4178 | <span>(200 OK)</span> | |
4179 | </h5> | |
4180 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
61b66b36 C |
4181 | <span class="hljs-attr">"video"</span>: { |
4182 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
4183 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span> | |
4184 | } | |
5e1c08eb C |
4185 | } |
4186 | </code></pre> | |
4187 | <!-- </div> --> | |
4188 | </section> | |
4189 | </div> | |
4190 | </div> | |
94ff4c23 C |
4191 | <div class="doc-row"> |
4192 | <div class="doc-copy"> | |
4193 | <section class="swagger-request-security"> | |
4194 | <table class="table"> | |
4195 | <thead> | |
4196 | <tr> | |
4197 | <th class="swagger-request-security-schema"></th> | |
4198 | <th class="swagger-request-security-scopes"></th> | |
4199 | </tr> | |
4200 | </thead> | |
4201 | <tbody> | |
4202 | <tr> | |
4203 | <td> | |
4204 | <a href="#security-definition-OAuth2">OAuth2</a> | |
4205 | </td> | |
4206 | <td> </td> | |
4207 | </tr> | |
4208 | </tbody> | |
4209 | </table> | |
4210 | </section> | |
4211 | </div> | |
4212 | </div> | |
5e1c08eb C |
4213 | </div> |
4214 | <h1 id="tag-VideoAbuse" class="swagger-summary-tag" data-traverse-target="tag-VideoAbuse">VideoAbuse</h1> | |
ab0ee6a1 | 4215 | <div id="operation--videos-abuse-get" class="operation panel" data-traverse-target="operation--videos-abuse-get"> |
5e1c08eb C |
4216 | <!-- <section class="operation-tags row"> --> |
4217 | <!-- <div class="doc-copy"> --> | |
4218 | <div class="operation-tags"> | |
4219 | <a class="label" href="#tag-VideoAbuse">VideoAbuse</a> | |
4220 | <!----> | |
4221 | </div> | |
4222 | <!-- </div> --> | |
4223 | <!-- </section> --> | |
4224 | <h2 class="operation-title"> | |
4225 | <span class="operation-name"> | |
4226 | <span class="operation-name">GET</span> | |
ab0ee6a1 | 4227 | <span class="operation-path">/videos/abuse</span> |
5e1c08eb C |
4228 | </span> |
4229 | </h2> | |
4230 | <div class="doc-row"> | |
ab0ee6a1 C |
4231 | <div class="doc-copy"> |
4232 | <section class="swagger-request-params"> | |
4233 | <div class="prop-row prop-group"> | |
4234 | <div class="prop-name"> | |
4235 | <div class="prop-title">start</div> | |
228e84aa C |
4236 | <div class="prop-subtitle"> in query </div> |
4237 | <div class="prop-subtitle"> | |
4238 | <span class="json-property-type">number</span> | |
4239 | <span class="json-property-range" title="Value limits"></span> | |
4240 | </div> | |
ab0ee6a1 C |
4241 | </div> |
4242 | <div class="prop-value"> | |
4243 | <p>starting page</p> | |
4244 | </div> | |
4245 | </div> | |
ab0ee6a1 C |
4246 | <div class="prop-row prop-group"> |
4247 | <div class="prop-name"> | |
4248 | <div class="prop-title">stop</div> | |
228e84aa C |
4249 | <div class="prop-subtitle"> in query </div> |
4250 | <div class="prop-subtitle"> | |
4251 | <span class="json-property-type">number</span> | |
4252 | <span class="json-property-range" title="Value limits"></span> | |
4253 | </div> | |
ab0ee6a1 C |
4254 | </div> |
4255 | <div class="prop-value"> | |
f209b32a | 4256 | <p>stopping page</p> |
ab0ee6a1 C |
4257 | </div> |
4258 | </div> | |
ab0ee6a1 C |
4259 | <div class="prop-row prop-group"> |
4260 | <div class="prop-name"> | |
4261 | <div class="prop-title">sort</div> | |
228e84aa C |
4262 | <div class="prop-subtitle"> in query </div> |
4263 | <div class="prop-subtitle"> | |
4264 | <span class="json-property-type">number</span> | |
4265 | <span class="json-property-range" title="Value limits"></span> | |
4266 | </div> | |
ab0ee6a1 C |
4267 | </div> |
4268 | <div class="prop-value"> | |
4269 | <p>sorting</p> | |
4270 | </div> | |
4271 | </div> | |
ab0ee6a1 C |
4272 | </section> |
4273 | </div> | |
5e1c08eb C |
4274 | <div class="doc-examples"></div> |
4275 | </div> | |
4276 | <div class="doc-row"> | |
4277 | <div class="doc-copy"> | |
4278 | <section class="swagger-responses"> | |
4279 | <div class="prop-row prop-group"> | |
4280 | <div class="prop-name"> | |
4281 | <div class="prop-title">200 OK</div> | |
4282 | <div class="prop-ref"> | |
4283 | <span class="json-schema-ref-array"> | |
4284 | <a class="json-schema-ref" href="#/definitions/VideoAbuse">VideoAbuse</a> | |
4285 | </span> | |
4286 | </div> | |
4287 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
4288 | </div> | |
4289 | <div class="prop-value"> | |
4290 | <p>successful operation</p> | |
4291 | </div> | |
4292 | </div> | |
228e84aa C |
4293 | <div class="prop-row prop-inner"> |
4294 | <div class="prop-name">type</div> | |
4295 | <div class="prop-value"> | |
4296 | <span class="json-property-type"> | |
4297 | <span class="json-schema-ref-array"> | |
4298 | <a class="json-schema-ref" href="#/definitions/VideoAbuse">VideoAbuse</a> | |
4299 | </span> | |
4300 | </span> | |
4301 | <span class="json-property-range" title="Value limits"></span> | |
4302 | </div> | |
4303 | </div> | |
5e1c08eb C |
4304 | </section> |
4305 | </div> | |
4306 | <div class="doc-examples"> | |
4307 | <h5>Response Content-Types: | |
4308 | <span>application/json</span> | |
4309 | </h5> | |
4310 | <section> | |
4311 | <h5>Response Example | |
4312 | <span>(200 OK)</span> | |
4313 | </h5> | |
4314 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
4315 | { | |
4316 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
4317 | <span class="hljs-attr">"reason"</span>: <span class="hljs-string">"string"</span>, | |
5d00a3d7 C |
4318 | <span class="hljs-attr">"reporterAccount"</span>: { |
4319 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
4320 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
4321 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
4322 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
4323 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
4324 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
4325 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
4326 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
4327 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
4328 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
4329 | <span class="hljs-attr">"avatar"</span>: { | |
4330 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
4331 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
4332 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
4333 | } | |
4334 | }, | |
61b66b36 C |
4335 | <span class="hljs-attr">"video"</span>: { |
4336 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
4337 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
4338 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
4339 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span> | |
4340 | }, | |
5e1c08eb C |
4341 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span> |
4342 | } | |
4343 | ] | |
4344 | </code></pre> | |
4345 | <!-- </div> --> | |
4346 | </section> | |
4347 | </div> | |
4348 | </div> | |
94ff4c23 C |
4349 | <div class="doc-row"> |
4350 | <div class="doc-copy"> | |
4351 | <section class="swagger-request-security"> | |
4352 | <table class="table"> | |
4353 | <thead> | |
4354 | <tr> | |
4355 | <th class="swagger-request-security-schema"></th> | |
4356 | <th class="swagger-request-security-scopes"></th> | |
4357 | </tr> | |
4358 | </thead> | |
4359 | <tbody> | |
4360 | <tr> | |
4361 | <td> | |
4362 | <a href="#security-definition-OAuth2">OAuth2</a> | |
4363 | </td> | |
4364 | <td> </td> | |
4365 | </tr> | |
4366 | </tbody> | |
4367 | </table> | |
4368 | </section> | |
4369 | </div> | |
4370 | </div> | |
5e1c08eb | 4371 | </div> |
ab0ee6a1 | 4372 | <div id="operation--videos--id--abuse-post" class="operation panel" data-traverse-target="operation--videos--id--abuse-post"> |
5e1c08eb C |
4373 | <!-- <section class="operation-tags row"> --> |
4374 | <!-- <div class="doc-copy"> --> | |
4375 | <div class="operation-tags"> | |
4376 | <a class="label" href="#tag-VideoAbuse">VideoAbuse</a> | |
4377 | <!----> | |
4378 | </div> | |
4379 | <!-- </div> --> | |
4380 | <!-- </section> --> | |
4381 | <h2 class="operation-title"> | |
4382 | <span class="operation-name"> | |
4383 | <span class="operation-name">POST</span> | |
ab0ee6a1 | 4384 | <span class="operation-path">/videos/{id}/abuse</span> |
5e1c08eb C |
4385 | </span> |
4386 | </h2> | |
4387 | <div class="doc-row"> | |
4388 | <div class="doc-copy"> | |
4389 | <section class="swagger-request-params"> | |
4390 | <div class="prop-row prop-group"> | |
4391 | <div class="prop-name"> | |
4392 | <div class="prop-title">id</div> | |
4393 | <span class="json-property-required"></span> | |
228e84aa C |
4394 | <div class="prop-subtitle"> in path </div> |
4395 | <div class="prop-subtitle"> | |
4396 | <span class="json-property-type">string</span> | |
4397 | <span class="json-property-range" title="Value limits"></span> | |
4398 | </div> | |
5e1c08eb C |
4399 | </div> |
4400 | <div class="prop-value"> | |
4401 | <p>The video id </p> | |
4402 | </div> | |
4403 | </div> | |
5e1c08eb C |
4404 | </section> |
4405 | </div> | |
4406 | <div class="doc-examples"></div> | |
4407 | </div> | |
4408 | <div class="doc-row"> | |
4409 | <div class="doc-copy"> | |
4410 | <section class="swagger-responses"> | |
4411 | <div class="prop-row prop-group"> | |
4412 | <div class="prop-name"> | |
4413 | <div class="prop-title">204 No Content</div> | |
4414 | </div> | |
4415 | <div class="prop-value"> | |
4416 | <p>successful operation</p> | |
4417 | </div> | |
4418 | </div> | |
4419 | </section> | |
4420 | </div> | |
4421 | <div class="doc-examples"> | |
4422 | <h5>Response Content-Types: | |
4423 | <span>application/json</span> | |
4424 | </h5> | |
4425 | </div> | |
4426 | </div> | |
94ff4c23 C |
4427 | <div class="doc-row"> |
4428 | <div class="doc-copy"> | |
4429 | <section class="swagger-request-security"> | |
4430 | <table class="table"> | |
4431 | <thead> | |
4432 | <tr> | |
4433 | <th class="swagger-request-security-schema"></th> | |
4434 | <th class="swagger-request-security-scopes"></th> | |
4435 | </tr> | |
4436 | </thead> | |
4437 | <tbody> | |
4438 | <tr> | |
4439 | <td> | |
4440 | <a href="#security-definition-OAuth2">OAuth2</a> | |
4441 | </td> | |
4442 | <td> </td> | |
4443 | </tr> | |
4444 | </tbody> | |
4445 | </table> | |
4446 | </section> | |
4447 | </div> | |
4448 | </div> | |
5e1c08eb C |
4449 | </div> |
4450 | <h1 id="tag-VideoBlacklist" class="swagger-summary-tag" data-traverse-target="tag-VideoBlacklist">VideoBlacklist</h1> | |
ab0ee6a1 | 4451 | <div id="operation--videos--videoId--blacklist-post" class="operation panel" data-traverse-target="operation--videos--videoId--blacklist-post"> |
5e1c08eb C |
4452 | <!-- <section class="operation-tags row"> --> |
4453 | <!-- <div class="doc-copy"> --> | |
4454 | <div class="operation-tags"> | |
4455 | <a class="label" href="#tag-VideoBlacklist">VideoBlacklist</a> | |
4456 | <!----> | |
4457 | </div> | |
4458 | <!-- </div> --> | |
4459 | <!-- </section> --> | |
4460 | <h2 class="operation-title"> | |
4461 | <span class="operation-name"> | |
4462 | <span class="operation-name">POST</span> | |
ab0ee6a1 | 4463 | <span class="operation-path">/videos/{videoId}/blacklist</span> |
5e1c08eb C |
4464 | </span> |
4465 | </h2> | |
4466 | <div class="doc-row"> | |
4467 | <div class="doc-copy"> | |
4468 | <section class="swagger-request-params"> | |
4469 | <div class="prop-row prop-group"> | |
4470 | <div class="prop-name"> | |
4471 | <div class="prop-title">videoId</div> | |
4472 | <span class="json-property-required"></span> | |
228e84aa C |
4473 | <div class="prop-subtitle"> in path </div> |
4474 | <div class="prop-subtitle"> | |
4475 | <span class="json-property-type">string</span> | |
4476 | <span class="json-property-range" title="Value limits"></span> | |
4477 | </div> | |
5e1c08eb C |
4478 | </div> |
4479 | <div class="prop-value"> | |
4480 | <p>The video id </p> | |
4481 | </div> | |
4482 | </div> | |
5e1c08eb C |
4483 | </section> |
4484 | </div> | |
4485 | <div class="doc-examples"></div> | |
4486 | </div> | |
4487 | <div class="doc-row"> | |
4488 | <div class="doc-copy"> | |
4489 | <section class="swagger-responses"> | |
4490 | <div class="prop-row prop-group"> | |
4491 | <div class="prop-name"> | |
4492 | <div class="prop-title">204 No Content</div> | |
4493 | </div> | |
4494 | <div class="prop-value"> | |
4495 | <p>successful operation</p> | |
4496 | </div> | |
4497 | </div> | |
4498 | </section> | |
4499 | </div> | |
4500 | <div class="doc-examples"> | |
4501 | <h5>Response Content-Types: | |
4502 | <span>application/json</span> | |
4503 | </h5> | |
4504 | </div> | |
4505 | </div> | |
94ff4c23 C |
4506 | <div class="doc-row"> |
4507 | <div class="doc-copy"> | |
4508 | <section class="swagger-request-security"> | |
4509 | <table class="table"> | |
4510 | <thead> | |
4511 | <tr> | |
4512 | <th class="swagger-request-security-schema"></th> | |
4513 | <th class="swagger-request-security-scopes"></th> | |
4514 | </tr> | |
4515 | </thead> | |
4516 | <tbody> | |
4517 | <tr> | |
4518 | <td> | |
4519 | <a href="#security-definition-OAuth2">OAuth2</a> | |
4520 | </td> | |
4521 | <td> </td> | |
4522 | </tr> | |
4523 | </tbody> | |
4524 | </table> | |
4525 | </section> | |
4526 | </div> | |
4527 | </div> | |
5e1c08eb | 4528 | </div> |
ab0ee6a1 | 4529 | <div id="operation--videos--videoId--blacklist-delete" class="operation panel" data-traverse-target="operation--videos--videoId--blacklist-delete"> |
5e1c08eb C |
4530 | <!-- <section class="operation-tags row"> --> |
4531 | <!-- <div class="doc-copy"> --> | |
4532 | <div class="operation-tags"> | |
4533 | <a class="label" href="#tag-VideoBlacklist">VideoBlacklist</a> | |
4534 | <!----> | |
4535 | </div> | |
4536 | <!-- </div> --> | |
4537 | <!-- </section> --> | |
4538 | <h2 class="operation-title"> | |
4539 | <span class="operation-name"> | |
4540 | <span class="operation-name">DELETE</span> | |
ab0ee6a1 | 4541 | <span class="operation-path">/videos/{videoId}/blacklist</span> |
5e1c08eb C |
4542 | </span> |
4543 | </h2> | |
4544 | <div class="doc-row"> | |
4545 | <div class="doc-copy"> | |
4546 | <section class="swagger-request-params"> | |
4547 | <div class="prop-row prop-group"> | |
4548 | <div class="prop-name"> | |
4549 | <div class="prop-title">videoId</div> | |
4550 | <span class="json-property-required"></span> | |
228e84aa C |
4551 | <div class="prop-subtitle"> in path </div> |
4552 | <div class="prop-subtitle"> | |
4553 | <span class="json-property-type">string</span> | |
4554 | <span class="json-property-range" title="Value limits"></span> | |
4555 | </div> | |
5e1c08eb C |
4556 | </div> |
4557 | <div class="prop-value"> | |
4558 | <p>The video id </p> | |
4559 | </div> | |
4560 | </div> | |
5e1c08eb C |
4561 | </section> |
4562 | </div> | |
4563 | <div class="doc-examples"></div> | |
4564 | </div> | |
4565 | <div class="doc-row"> | |
4566 | <div class="doc-copy"> | |
4567 | <section class="swagger-responses"> | |
4568 | <div class="prop-row prop-group"> | |
4569 | <div class="prop-name"> | |
4570 | <div class="prop-title">204 No Content</div> | |
4571 | </div> | |
4572 | <div class="prop-value"> | |
4573 | <p>successful operation</p> | |
4574 | </div> | |
4575 | </div> | |
4576 | </section> | |
4577 | </div> | |
4578 | <div class="doc-examples"> | |
4579 | <h5>Response Content-Types: | |
4580 | <span>application/json</span> | |
4581 | </h5> | |
4582 | </div> | |
4583 | </div> | |
94ff4c23 C |
4584 | <div class="doc-row"> |
4585 | <div class="doc-copy"> | |
4586 | <section class="swagger-request-security"> | |
4587 | <table class="table"> | |
4588 | <thead> | |
4589 | <tr> | |
4590 | <th class="swagger-request-security-schema"></th> | |
4591 | <th class="swagger-request-security-scopes"></th> | |
4592 | </tr> | |
4593 | </thead> | |
4594 | <tbody> | |
4595 | <tr> | |
4596 | <td> | |
4597 | <a href="#security-definition-OAuth2">OAuth2</a> | |
4598 | </td> | |
4599 | <td> </td> | |
4600 | </tr> | |
4601 | </tbody> | |
4602 | </table> | |
4603 | </section> | |
4604 | </div> | |
4605 | </div> | |
5e1c08eb | 4606 | </div> |
ab0ee6a1 | 4607 | <div id="operation--videos-blacklist-get" class="operation panel" data-traverse-target="operation--videos-blacklist-get"> |
5e1c08eb C |
4608 | <!-- <section class="operation-tags row"> --> |
4609 | <!-- <div class="doc-copy"> --> | |
4610 | <div class="operation-tags"> | |
4611 | <a class="label" href="#tag-VideoBlacklist">VideoBlacklist</a> | |
4612 | <!----> | |
4613 | </div> | |
4614 | <!-- </div> --> | |
4615 | <!-- </section> --> | |
4616 | <h2 class="operation-title"> | |
4617 | <span class="operation-name"> | |
4618 | <span class="operation-name">GET</span> | |
ab0ee6a1 | 4619 | <span class="operation-path">/videos/blacklist</span> |
5e1c08eb C |
4620 | </span> |
4621 | </h2> | |
4622 | <div class="doc-row"> | |
ab0ee6a1 C |
4623 | <div class="doc-copy"> |
4624 | <section class="swagger-request-params"> | |
4625 | <div class="prop-row prop-group"> | |
4626 | <div class="prop-name"> | |
4627 | <div class="prop-title">start</div> | |
228e84aa C |
4628 | <div class="prop-subtitle"> in query </div> |
4629 | <div class="prop-subtitle"> | |
4630 | <span class="json-property-type">number</span> | |
4631 | <span class="json-property-range" title="Value limits"></span> | |
4632 | </div> | |
ab0ee6a1 C |
4633 | </div> |
4634 | <div class="prop-value"> | |
4635 | <p>starting page</p> | |
4636 | </div> | |
4637 | </div> | |
ab0ee6a1 C |
4638 | <div class="prop-row prop-group"> |
4639 | <div class="prop-name"> | |
4640 | <div class="prop-title">stop</div> | |
228e84aa C |
4641 | <div class="prop-subtitle"> in query </div> |
4642 | <div class="prop-subtitle"> | |
4643 | <span class="json-property-type">number</span> | |
4644 | <span class="json-property-range" title="Value limits"></span> | |
4645 | </div> | |
ab0ee6a1 C |
4646 | </div> |
4647 | <div class="prop-value"> | |
f209b32a | 4648 | <p>stopping page</p> |
ab0ee6a1 C |
4649 | </div> |
4650 | </div> | |
ab0ee6a1 C |
4651 | <div class="prop-row prop-group"> |
4652 | <div class="prop-name"> | |
4653 | <div class="prop-title">sort</div> | |
228e84aa C |
4654 | <div class="prop-subtitle"> in query </div> |
4655 | <div class="prop-subtitle"> | |
4656 | <span class="json-property-type">number</span> | |
4657 | <span class="json-property-range" title="Value limits"></span> | |
4658 | </div> | |
ab0ee6a1 C |
4659 | </div> |
4660 | <div class="prop-value"> | |
4661 | <p>sorting</p> | |
4662 | </div> | |
4663 | </div> | |
ab0ee6a1 C |
4664 | </section> |
4665 | </div> | |
5e1c08eb C |
4666 | <div class="doc-examples"></div> |
4667 | </div> | |
4668 | <div class="doc-row"> | |
4669 | <div class="doc-copy"> | |
4670 | <section class="swagger-responses"> | |
4671 | <div class="prop-row prop-group"> | |
4672 | <div class="prop-name"> | |
4673 | <div class="prop-title">200 OK</div> | |
4674 | <div class="prop-ref"> | |
4675 | <span class="json-schema-ref-array"> | |
4676 | <a class="json-schema-ref" href="#/definitions/VideoBlacklist">VideoBlacklist</a> | |
4677 | </span> | |
4678 | </div> | |
4679 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
4680 | </div> | |
4681 | <div class="prop-value"> | |
4682 | <p>successful operation</p> | |
4683 | </div> | |
4684 | </div> | |
228e84aa C |
4685 | <div class="prop-row prop-inner"> |
4686 | <div class="prop-name">type</div> | |
4687 | <div class="prop-value"> | |
4688 | <span class="json-property-type"> | |
4689 | <span class="json-schema-ref-array"> | |
4690 | <a class="json-schema-ref" href="#/definitions/VideoBlacklist">VideoBlacklist</a> | |
4691 | </span> | |
4692 | </span> | |
4693 | <span class="json-property-range" title="Value limits"></span> | |
4694 | </div> | |
4695 | </div> | |
5e1c08eb C |
4696 | </section> |
4697 | </div> | |
4698 | <div class="doc-examples"> | |
4699 | <h5>Response Content-Types: | |
4700 | <span>application/json</span> | |
4701 | </h5> | |
4702 | <section> | |
4703 | <h5>Response Example | |
4704 | <span>(200 OK)</span> | |
4705 | </h5> | |
4706 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
4707 | { | |
4708 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
4709 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
4710 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
4711 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
4712 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
4713 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
4714 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
4715 | <span class="hljs-attr">"duration"</span>: <span class="hljs-string">"number"</span>, | |
4716 | <span class="hljs-attr">"views"</span>: <span class="hljs-string">"number"</span>, | |
4717 | <span class="hljs-attr">"likes"</span>: <span class="hljs-string">"number"</span>, | |
4718 | <span class="hljs-attr">"dislikes"</span>: <span class="hljs-string">"number"</span>, | |
4719 | <span class="hljs-attr">"nsfw"</span>: <span class="hljs-string">"boolean"</span> | |
4720 | } | |
4721 | ] | |
4722 | </code></pre> | |
4723 | <!-- </div> --> | |
4724 | </section> | |
4725 | </div> | |
4726 | </div> | |
94ff4c23 C |
4727 | <div class="doc-row"> |
4728 | <div class="doc-copy"> | |
4729 | <section class="swagger-request-security"> | |
4730 | <table class="table"> | |
4731 | <thead> | |
4732 | <tr> | |
4733 | <th class="swagger-request-security-schema"></th> | |
4734 | <th class="swagger-request-security-scopes"></th> | |
4735 | </tr> | |
4736 | </thead> | |
4737 | <tbody> | |
4738 | <tr> | |
4739 | <td> | |
4740 | <a href="#security-definition-OAuth2">OAuth2</a> | |
4741 | </td> | |
4742 | <td> </td> | |
4743 | </tr> | |
4744 | </tbody> | |
4745 | </table> | |
4746 | </section> | |
4747 | </div> | |
4748 | </div> | |
5e1c08eb C |
4749 | </div> |
4750 | <h1 id="tag-VideoChannel" class="swagger-summary-tag" data-traverse-target="tag-VideoChannel">VideoChannel</h1> | |
48dce1c9 | 4751 | <div id="operation--video-channels-get" class="operation panel" data-traverse-target="operation--video-channels-get"> |
5e1c08eb C |
4752 | <!-- <section class="operation-tags row"> --> |
4753 | <!-- <div class="doc-copy"> --> | |
4754 | <div class="operation-tags"> | |
4755 | <a class="label" href="#tag-VideoChannel">VideoChannel</a> | |
4756 | <!----> | |
4757 | </div> | |
4758 | <!-- </div> --> | |
4759 | <!-- </section> --> | |
4760 | <h2 class="operation-title"> | |
4761 | <span class="operation-name"> | |
4762 | <span class="operation-name">GET</span> | |
48dce1c9 | 4763 | <span class="operation-path">/video-channels</span> |
5e1c08eb C |
4764 | </span> |
4765 | </h2> | |
4766 | <div class="doc-row"> | |
ab0ee6a1 C |
4767 | <div class="doc-copy"> |
4768 | <section class="swagger-request-params"> | |
4769 | <div class="prop-row prop-group"> | |
4770 | <div class="prop-name"> | |
4771 | <div class="prop-title">start</div> | |
228e84aa C |
4772 | <div class="prop-subtitle"> in query </div> |
4773 | <div class="prop-subtitle"> | |
4774 | <span class="json-property-type">number</span> | |
4775 | <span class="json-property-range" title="Value limits"></span> | |
4776 | </div> | |
ab0ee6a1 C |
4777 | </div> |
4778 | <div class="prop-value"> | |
4779 | <p>starting page</p> | |
4780 | </div> | |
4781 | </div> | |
ab0ee6a1 C |
4782 | <div class="prop-row prop-group"> |
4783 | <div class="prop-name"> | |
4784 | <div class="prop-title">stop</div> | |
228e84aa C |
4785 | <div class="prop-subtitle"> in query </div> |
4786 | <div class="prop-subtitle"> | |
4787 | <span class="json-property-type">number</span> | |
4788 | <span class="json-property-range" title="Value limits"></span> | |
4789 | </div> | |
ab0ee6a1 C |
4790 | </div> |
4791 | <div class="prop-value"> | |
f209b32a | 4792 | <p>stopping page</p> |
ab0ee6a1 C |
4793 | </div> |
4794 | </div> | |
ab0ee6a1 C |
4795 | <div class="prop-row prop-group"> |
4796 | <div class="prop-name"> | |
4797 | <div class="prop-title">sort</div> | |
228e84aa C |
4798 | <div class="prop-subtitle"> in query </div> |
4799 | <div class="prop-subtitle"> | |
4800 | <span class="json-property-type">number</span> | |
4801 | <span class="json-property-range" title="Value limits"></span> | |
4802 | </div> | |
ab0ee6a1 C |
4803 | </div> |
4804 | <div class="prop-value"> | |
4805 | <p>sorting</p> | |
4806 | </div> | |
4807 | </div> | |
ab0ee6a1 C |
4808 | </section> |
4809 | </div> | |
5e1c08eb C |
4810 | <div class="doc-examples"></div> |
4811 | </div> | |
4812 | <div class="doc-row"> | |
4813 | <div class="doc-copy"> | |
4814 | <section class="swagger-responses"> | |
4815 | <div class="prop-row prop-group"> | |
4816 | <div class="prop-name"> | |
4817 | <div class="prop-title">200 OK</div> | |
4818 | <div class="prop-ref"> | |
4819 | <span class="json-schema-ref-array"> | |
4820 | <a class="json-schema-ref" href="#/definitions/VideoChannel">VideoChannel</a> | |
4821 | </span> | |
4822 | </div> | |
4823 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
4824 | </div> | |
4825 | <div class="prop-value"> | |
4826 | <p>successful operation</p> | |
4827 | </div> | |
4828 | </div> | |
228e84aa C |
4829 | <div class="prop-row prop-inner"> |
4830 | <div class="prop-name">type</div> | |
4831 | <div class="prop-value"> | |
4832 | <span class="json-property-type"> | |
4833 | <span class="json-schema-ref-array"> | |
4834 | <a class="json-schema-ref" href="#/definitions/VideoChannel">VideoChannel</a> | |
4835 | </span> | |
4836 | </span> | |
4837 | <span class="json-property-range" title="Value limits"></span> | |
4838 | </div> | |
4839 | </div> | |
5e1c08eb C |
4840 | </section> |
4841 | </div> | |
4842 | <div class="doc-examples"> | |
4843 | <h5>Response Content-Types: | |
4844 | <span>application/json</span> | |
4845 | </h5> | |
4846 | <section> | |
4847 | <h5>Response Example | |
4848 | <span>(200 OK)</span> | |
4849 | </h5> | |
4850 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
4851 | { | |
4852 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
4853 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
4854 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
cc918ac3 C |
4855 | <span class="hljs-attr">"ownerAccount"</span>: { |
4856 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5e1c08eb | 4857 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span> |
cc918ac3 | 4858 | } |
48dce1c9 C |
4859 | } |
4860 | ] | |
4861 | </code></pre> | |
4862 | <!-- </div> --> | |
4863 | </section> | |
4864 | </div> | |
4865 | </div> | |
4866 | </div> | |
cc918ac3 | 4867 | <div id="operation--video-channels-post" class="operation panel" data-traverse-target="operation--video-channels-post"> |
48dce1c9 C |
4868 | <!-- <section class="operation-tags row"> --> |
4869 | <!-- <div class="doc-copy"> --> | |
4870 | <div class="operation-tags"> | |
4871 | <a class="label" href="#tag-VideoChannel">VideoChannel</a> | |
4872 | <!----> | |
4873 | </div> | |
4874 | <!-- </div> --> | |
4875 | <!-- </section> --> | |
4876 | <h2 class="operation-title"> | |
4877 | <span class="operation-name"> | |
cc918ac3 C |
4878 | <span class="operation-name">POST</span> |
4879 | <span class="operation-path">/video-channels</span> | |
48dce1c9 C |
4880 | </span> |
4881 | </h2> | |
4882 | <div class="doc-row"> | |
4883 | <div class="doc-copy"> | |
cc918ac3 C |
4884 | <section class="swagger-request-body"> |
4885 | <div class="prop-row"> | |
48dce1c9 | 4886 | <div class="prop-name"> |
cc918ac3 C |
4887 | <div class="swagger-request-model"> |
4888 | <span class=""> | |
4889 | <a class="json-schema-ref" href="#/definitions/VideoChannelInput">VideoChannelInput</a> | |
4890 | </span> | |
48dce1c9 C |
4891 | </div> |
4892 | </div> | |
cc918ac3 C |
4893 | <div class="prop-value columns small-6"> |
4894 | <!-- <div class="swagger-request-description"> --> | |
4895 | <p>undefined</p> | |
4896 | <!-- </div> --> | |
48dce1c9 C |
4897 | </div> |
4898 | </div> | |
4899 | </section> | |
4900 | </div> | |
cc918ac3 C |
4901 | <div class="doc-examples"> |
4902 | <section> | |
4903 | <h5>Request Content-Types: | |
4904 | <span>application/json</span> | |
4905 | </h5> | |
4906 | <h5>Request Example</h5> | |
4907 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
4908 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
4909 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span> | |
4910 | } | |
4911 | </code></pre> | |
4912 | <!-- </div> --> | |
4913 | </section> | |
4914 | </div> | |
48dce1c9 C |
4915 | </div> |
4916 | <div class="doc-row"> | |
4917 | <div class="doc-copy"> | |
4918 | <section class="swagger-responses"> | |
4919 | <div class="prop-row prop-group"> | |
4920 | <div class="prop-name"> | |
cc918ac3 | 4921 | <div class="prop-title">204 No Content</div> |
5e1c08eb C |
4922 | </div> |
4923 | <div class="prop-value"> | |
4924 | <p>successful operation</p> | |
4925 | </div> | |
4926 | </div> | |
4927 | </section> | |
4928 | </div> | |
4929 | <div class="doc-examples"> | |
4930 | <h5>Response Content-Types: | |
4931 | <span>application/json</span> | |
4932 | </h5> | |
4933 | </div> | |
4934 | </div> | |
94ff4c23 C |
4935 | <div class="doc-row"> |
4936 | <div class="doc-copy"> | |
4937 | <section class="swagger-request-security"> | |
4938 | <table class="table"> | |
4939 | <thead> | |
4940 | <tr> | |
4941 | <th class="swagger-request-security-schema"></th> | |
4942 | <th class="swagger-request-security-scopes"></th> | |
4943 | </tr> | |
4944 | </thead> | |
4945 | <tbody> | |
4946 | <tr> | |
4947 | <td> | |
4948 | <a href="#security-definition-OAuth2">OAuth2</a> | |
4949 | </td> | |
4950 | <td> </td> | |
4951 | </tr> | |
4952 | </tbody> | |
4953 | </table> | |
4954 | </section> | |
4955 | </div> | |
4956 | </div> | |
5e1c08eb | 4957 | </div> |
cc918ac3 | 4958 | <div id="operation--video-channels--id--get" class="operation panel" data-traverse-target="operation--video-channels--id--get"> |
5e1c08eb C |
4959 | <!-- <section class="operation-tags row"> --> |
4960 | <!-- <div class="doc-copy"> --> | |
4961 | <div class="operation-tags"> | |
4962 | <a class="label" href="#tag-VideoChannel">VideoChannel</a> | |
4963 | <!----> | |
4964 | </div> | |
4965 | <!-- </div> --> | |
4966 | <!-- </section> --> | |
4967 | <h2 class="operation-title"> | |
4968 | <span class="operation-name"> | |
4969 | <span class="operation-name">GET</span> | |
cc918ac3 | 4970 | <span class="operation-path">/video-channels/{id}</span> |
5e1c08eb C |
4971 | </span> |
4972 | </h2> | |
4973 | <div class="doc-row"> | |
4974 | <div class="doc-copy"> | |
4975 | <section class="swagger-request-params"> | |
4976 | <div class="prop-row prop-group"> | |
4977 | <div class="prop-name"> | |
4978 | <div class="prop-title">id</div> | |
4979 | <span class="json-property-required"></span> | |
228e84aa C |
4980 | <div class="prop-subtitle"> in path </div> |
4981 | <div class="prop-subtitle"> | |
4982 | <span class="json-property-type">string</span> | |
4983 | <span class="json-property-range" title="Value limits"></span> | |
4984 | </div> | |
5e1c08eb C |
4985 | </div> |
4986 | <div class="prop-value"> | |
48dce1c9 | 4987 | <p>The video channel id </p> |
5e1c08eb C |
4988 | </div> |
4989 | </div> | |
5e1c08eb C |
4990 | </section> |
4991 | </div> | |
4992 | <div class="doc-examples"></div> | |
4993 | </div> | |
4994 | <div class="doc-row"> | |
4995 | <div class="doc-copy"> | |
4996 | <section class="swagger-responses"> | |
4997 | <div class="prop-row prop-group"> | |
4998 | <div class="prop-name"> | |
4999 | <div class="prop-title">200 OK</div> | |
5000 | <div class="prop-ref"> | |
5001 | <span class=""> | |
5002 | <a class="json-schema-ref" href="#/definitions/VideoChannel">VideoChannel</a> | |
5003 | </span> | |
5004 | </div> | |
5005 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
5006 | </div> | |
5007 | <div class="prop-value"> | |
5008 | <p>successful operation</p> | |
5009 | </div> | |
5010 | </div> | |
5011 | </section> | |
5012 | </div> | |
5013 | <div class="doc-examples"> | |
5014 | <h5>Response Content-Types: | |
5015 | <span>application/json</span> | |
5016 | </h5> | |
5017 | <section> | |
5018 | <h5>Response Example | |
5019 | <span>(200 OK)</span> | |
5020 | </h5> | |
5021 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
5022 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
5023 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
5024 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
cc918ac3 C |
5025 | <span class="hljs-attr">"ownerAccount"</span>: { |
5026 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5e1c08eb | 5027 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span> |
cc918ac3 | 5028 | } |
5e1c08eb C |
5029 | } |
5030 | </code></pre> | |
5031 | <!-- </div> --> | |
5032 | </section> | |
5033 | </div> | |
5034 | </div> | |
5035 | </div> | |
cc918ac3 | 5036 | <div id="operation--video-channels--id--put" class="operation panel" data-traverse-target="operation--video-channels--id--put"> |
5e1c08eb C |
5037 | <!-- <section class="operation-tags row"> --> |
5038 | <!-- <div class="doc-copy"> --> | |
5039 | <div class="operation-tags"> | |
5040 | <a class="label" href="#tag-VideoChannel">VideoChannel</a> | |
5041 | <!----> | |
5042 | </div> | |
5043 | <!-- </div> --> | |
5044 | <!-- </section> --> | |
5045 | <h2 class="operation-title"> | |
5046 | <span class="operation-name"> | |
5047 | <span class="operation-name">PUT</span> | |
cc918ac3 | 5048 | <span class="operation-path">/video-channels/{id}</span> |
5e1c08eb C |
5049 | </span> |
5050 | </h2> | |
5051 | <div class="doc-row"> | |
5052 | <div class="doc-copy"> | |
5053 | <section class="swagger-request-body"> | |
5054 | <div class="prop-row"> | |
5055 | <div class="prop-name"> | |
5056 | <div class="swagger-request-model"> | |
5057 | <span class=""> | |
5058 | <a class="json-schema-ref" href="#/definitions/VideoChannelInput">VideoChannelInput</a> | |
5059 | </span> | |
5060 | </div> | |
5061 | </div> | |
5062 | <div class="prop-value columns small-6"> | |
228e84aa C |
5063 | <!-- <div class="swagger-request-description"> --> |
5064 | <p>undefined</p> | |
5e1c08eb C |
5065 | <!-- </div> --> |
5066 | </div> | |
5067 | </div> | |
5068 | </section> | |
5069 | <section class="swagger-request-params"> | |
5070 | <div class="prop-row prop-group"> | |
5071 | <div class="prop-name"> | |
5072 | <div class="prop-title">id</div> | |
5073 | <span class="json-property-required"></span> | |
228e84aa C |
5074 | <div class="prop-subtitle"> in path </div> |
5075 | <div class="prop-subtitle"> | |
5076 | <span class="json-property-type">string</span> | |
5077 | <span class="json-property-range" title="Value limits"></span> | |
5078 | </div> | |
5e1c08eb C |
5079 | </div> |
5080 | <div class="prop-value"> | |
48dce1c9 | 5081 | <p>The video channel id </p> |
5e1c08eb C |
5082 | </div> |
5083 | </div> | |
5e1c08eb C |
5084 | </section> |
5085 | </div> | |
5086 | <div class="doc-examples"> | |
5087 | <section> | |
5088 | <h5>Request Content-Types: | |
5089 | <span>application/json</span> | |
5090 | </h5> | |
5091 | <h5>Request Example</h5> | |
5092 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
5093 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
5094 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span> | |
5095 | } | |
5096 | </code></pre> | |
5097 | <!-- </div> --> | |
5098 | </section> | |
5099 | </div> | |
5100 | </div> | |
5101 | <div class="doc-row"> | |
5102 | <div class="doc-copy"> | |
5103 | <section class="swagger-responses"> | |
5104 | <div class="prop-row prop-group"> | |
5105 | <div class="prop-name"> | |
5106 | <div class="prop-title">204 No Content</div> | |
5107 | </div> | |
5108 | <div class="prop-value"> | |
5109 | <p>successful operation</p> | |
5110 | </div> | |
5111 | </div> | |
5112 | </section> | |
5113 | </div> | |
5114 | <div class="doc-examples"> | |
5115 | <h5>Response Content-Types: | |
5116 | <span>application/json</span> | |
5117 | </h5> | |
5118 | </div> | |
5119 | </div> | |
94ff4c23 C |
5120 | <div class="doc-row"> |
5121 | <div class="doc-copy"> | |
5122 | <section class="swagger-request-security"> | |
5123 | <table class="table"> | |
5124 | <thead> | |
5125 | <tr> | |
5126 | <th class="swagger-request-security-schema"></th> | |
5127 | <th class="swagger-request-security-scopes"></th> | |
5128 | </tr> | |
5129 | </thead> | |
5130 | <tbody> | |
5131 | <tr> | |
5132 | <td> | |
5133 | <a href="#security-definition-OAuth2">OAuth2</a> | |
5134 | </td> | |
5135 | <td> </td> | |
5136 | </tr> | |
5137 | </tbody> | |
5138 | </table> | |
5139 | </section> | |
5140 | </div> | |
5141 | </div> | |
5e1c08eb | 5142 | </div> |
cc918ac3 | 5143 | <div id="operation--video-channels--id--delete" class="operation panel" data-traverse-target="operation--video-channels--id--delete"> |
5e1c08eb C |
5144 | <!-- <section class="operation-tags row"> --> |
5145 | <!-- <div class="doc-copy"> --> | |
5146 | <div class="operation-tags"> | |
5147 | <a class="label" href="#tag-VideoChannel">VideoChannel</a> | |
5148 | <!----> | |
5149 | </div> | |
5150 | <!-- </div> --> | |
5151 | <!-- </section> --> | |
5152 | <h2 class="operation-title"> | |
5153 | <span class="operation-name"> | |
5154 | <span class="operation-name">DELETE</span> | |
cc918ac3 | 5155 | <span class="operation-path">/video-channels/{id}</span> |
5e1c08eb C |
5156 | </span> |
5157 | </h2> | |
5158 | <div class="doc-row"> | |
5159 | <div class="doc-copy"> | |
5160 | <section class="swagger-request-params"> | |
5161 | <div class="prop-row prop-group"> | |
5162 | <div class="prop-name"> | |
5163 | <div class="prop-title">id</div> | |
5164 | <span class="json-property-required"></span> | |
228e84aa C |
5165 | <div class="prop-subtitle"> in path </div> |
5166 | <div class="prop-subtitle"> | |
5167 | <span class="json-property-type">string</span> | |
5168 | <span class="json-property-range" title="Value limits"></span> | |
5169 | </div> | |
5e1c08eb C |
5170 | </div> |
5171 | <div class="prop-value"> | |
48dce1c9 | 5172 | <p>The video channel id </p> |
5e1c08eb C |
5173 | </div> |
5174 | </div> | |
5e1c08eb C |
5175 | </section> |
5176 | </div> | |
5177 | <div class="doc-examples"></div> | |
5178 | </div> | |
5179 | <div class="doc-row"> | |
5180 | <div class="doc-copy"> | |
5181 | <section class="swagger-responses"> | |
5182 | <div class="prop-row prop-group"> | |
5183 | <div class="prop-name"> | |
5184 | <div class="prop-title">204 No Content</div> | |
5185 | </div> | |
5186 | <div class="prop-value"> | |
5187 | <p>successful operation</p> | |
5188 | </div> | |
5189 | </div> | |
5190 | </section> | |
5191 | </div> | |
5192 | <div class="doc-examples"> | |
5193 | <h5>Response Content-Types: | |
5194 | <span>application/json</span> | |
5195 | </h5> | |
5196 | </div> | |
5197 | </div> | |
94ff4c23 C |
5198 | <div class="doc-row"> |
5199 | <div class="doc-copy"> | |
5200 | <section class="swagger-request-security"> | |
5201 | <table class="table"> | |
5202 | <thead> | |
5203 | <tr> | |
5204 | <th class="swagger-request-security-schema"></th> | |
5205 | <th class="swagger-request-security-scopes"></th> | |
5206 | </tr> | |
5207 | </thead> | |
5208 | <tbody> | |
5209 | <tr> | |
5210 | <td> | |
5211 | <a href="#security-definition-OAuth2">OAuth2</a> | |
5212 | </td> | |
5213 | <td> </td> | |
5214 | </tr> | |
5215 | </tbody> | |
5216 | </table> | |
5217 | </section> | |
5218 | </div> | |
5219 | </div> | |
5e1c08eb | 5220 | </div> |
cc918ac3 C |
5221 | <div id="operation--video-channels--id--videos-get" class="operation panel" data-traverse-target="operation--video-channels--id--videos-get"> |
5222 | <!-- <section class="operation-tags row"> --> | |
5223 | <!-- <div class="doc-copy"> --> | |
5224 | <div class="operation-tags"> | |
5225 | <a class="label" href="#tag-VideoChannel">VideoChannel</a> | |
5226 | <!----> | |
5227 | </div> | |
5228 | <!-- </div> --> | |
5229 | <!-- </section> --> | |
5230 | <h2 class="operation-title"> | |
5231 | <span class="operation-name"> | |
5232 | <span class="operation-name">GET</span> | |
5233 | <span class="operation-path">/video-channels/{id}/videos</span> | |
5234 | </span> | |
5235 | </h2> | |
5236 | <div class="doc-row"> | |
5237 | <div class="doc-copy"> | |
5238 | <section class="swagger-request-params"> | |
5239 | <div class="prop-row prop-group"> | |
5240 | <div class="prop-name"> | |
5241 | <div class="prop-title">id</div> | |
5242 | <span class="json-property-required"></span> | |
5243 | <div class="prop-subtitle"> in path </div> | |
5244 | <div class="prop-subtitle"> | |
5245 | <span class="json-property-type">string</span> | |
5246 | <span class="json-property-range" title="Value limits"></span> | |
5247 | </div> | |
5248 | </div> | |
5249 | <div class="prop-value"> | |
5250 | <p>The video channel id </p> | |
5251 | </div> | |
5252 | </div> | |
5253 | </section> | |
5254 | </div> | |
5255 | <div class="doc-examples"></div> | |
5256 | </div> | |
5257 | <div class="doc-row"> | |
5258 | <div class="doc-copy"> | |
5259 | <section class="swagger-responses"> | |
5260 | <div class="prop-row prop-group"> | |
5261 | <div class="prop-name"> | |
5262 | <div class="prop-title">200 OK</div> | |
5263 | <div class="prop-ref"> | |
5264 | <span class=""> | |
5265 | <a class="json-schema-ref" href="#/definitions/Video">Video</a> | |
5266 | </span> | |
5267 | </div> | |
5268 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
5269 | </div> | |
5270 | <div class="prop-value"> | |
5271 | <p>successful operation</p> | |
5272 | </div> | |
5273 | </div> | |
5274 | </section> | |
5275 | </div> | |
5276 | <div class="doc-examples"> | |
5277 | <h5>Response Content-Types: | |
5278 | <span>application/json</span> | |
5279 | </h5> | |
5280 | <section> | |
5281 | <h5>Response Example | |
5282 | <span>(200 OK)</span> | |
5283 | </h5> | |
5284 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
5285 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5286 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
5287 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5288 | <span class="hljs-attr">"publishedAt"</span>: <span class="hljs-string">"string"</span>, | |
5289 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
5290 | <span class="hljs-attr">"category"</span>: { | |
5291 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5292 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
5293 | }, | |
5294 | <span class="hljs-attr">"licence"</span>: { | |
5295 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5296 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
5297 | }, | |
5298 | <span class="hljs-attr">"language"</span>: { | |
5299 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"string"</span>, | |
5300 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
5301 | }, | |
5302 | <span class="hljs-attr">"privacy"</span>: <span class="hljs-string">"string"</span>, | |
5303 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
5304 | <span class="hljs-attr">"duration"</span>: <span class="hljs-string">"number"</span>, | |
5305 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
5306 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
5307 | <span class="hljs-attr">"thumbnailPath"</span>: <span class="hljs-string">"string"</span>, | |
5308 | <span class="hljs-attr">"previewPath"</span>: <span class="hljs-string">"string"</span>, | |
5309 | <span class="hljs-attr">"embedPath"</span>: <span class="hljs-string">"string"</span>, | |
5310 | <span class="hljs-attr">"views"</span>: <span class="hljs-string">"number"</span>, | |
5311 | <span class="hljs-attr">"likes"</span>: <span class="hljs-string">"number"</span>, | |
5312 | <span class="hljs-attr">"dislikes"</span>: <span class="hljs-string">"number"</span>, | |
5313 | <span class="hljs-attr">"nsfw"</span>: <span class="hljs-string">"boolean"</span>, | |
5314 | <span class="hljs-attr">"account"</span>: { | |
5315 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
5316 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
5317 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
5318 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
5319 | <span class="hljs-attr">"avatar"</span>: { | |
5320 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
5321 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5322 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
5323 | } | |
5324 | } | |
5325 | } | |
5326 | </code></pre> | |
5327 | <!-- </div> --> | |
5328 | </section> | |
5329 | </div> | |
5330 | </div> | |
5331 | </div> | |
5332 | <div id="operation--accounts--accountId--video-channels-get" class="operation panel" data-traverse-target="operation--accounts--accountId--video-channels-get"> | |
5333 | <!-- <section class="operation-tags row"> --> | |
5334 | <!-- <div class="doc-copy"> --> | |
5335 | <div class="operation-tags"> | |
5336 | <a class="label" href="#tag-VideoChannel">VideoChannel</a> | |
5337 | <!----> | |
5338 | </div> | |
5339 | <!-- </div> --> | |
5340 | <!-- </section> --> | |
5341 | <h2 class="operation-title"> | |
5342 | <span class="operation-name"> | |
5343 | <span class="operation-name">GET</span> | |
5344 | <span class="operation-path">/accounts/{accountId}/video-channels</span> | |
5345 | </span> | |
5346 | </h2> | |
5347 | <div class="doc-row"> | |
5348 | <div class="doc-copy"> | |
5349 | <section class="swagger-request-params"> | |
5350 | <div class="prop-row prop-group"> | |
5351 | <div class="prop-name"> | |
5352 | <div class="prop-title">accountId</div> | |
5353 | <span class="json-property-required"></span> | |
5354 | <div class="prop-subtitle"> in path </div> | |
5355 | <div class="prop-subtitle"> | |
5356 | <span class="json-property-type">string</span> | |
5357 | <span class="json-property-range" title="Value limits"></span> | |
5358 | </div> | |
5359 | </div> | |
5360 | <div class="prop-value"> | |
5361 | <p>The account id </p> | |
5362 | </div> | |
5363 | </div> | |
5364 | </section> | |
5365 | </div> | |
5366 | <div class="doc-examples"></div> | |
5367 | </div> | |
5368 | <div class="doc-row"> | |
5369 | <div class="doc-copy"> | |
5370 | <section class="swagger-responses"> | |
5371 | <div class="prop-row prop-group"> | |
5372 | <div class="prop-name"> | |
5373 | <div class="prop-title">200 OK</div> | |
5374 | <div class="prop-ref"> | |
5375 | <span class="json-schema-ref-array"> | |
5376 | <a class="json-schema-ref" href="#/definitions/VideoChannel">VideoChannel</a> | |
5377 | </span> | |
5378 | </div> | |
5379 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
5380 | </div> | |
5381 | <div class="prop-value"> | |
5382 | <p>successful operation</p> | |
5383 | </div> | |
5384 | </div> | |
5385 | <div class="prop-row prop-inner"> | |
5386 | <div class="prop-name">type</div> | |
5387 | <div class="prop-value"> | |
5388 | <span class="json-property-type"> | |
5389 | <span class="json-schema-ref-array"> | |
5390 | <a class="json-schema-ref" href="#/definitions/VideoChannel">VideoChannel</a> | |
5391 | </span> | |
5392 | </span> | |
5393 | <span class="json-property-range" title="Value limits"></span> | |
5394 | </div> | |
5395 | </div> | |
5396 | </section> | |
5397 | </div> | |
5398 | <div class="doc-examples"> | |
5399 | <h5>Response Content-Types: | |
5400 | <span>application/json</span> | |
5401 | </h5> | |
5402 | <section> | |
5403 | <h5>Response Example | |
5404 | <span>(200 OK)</span> | |
5405 | </h5> | |
5406 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">[ | |
5407 | { | |
5408 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
5409 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
5410 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
5411 | <span class="hljs-attr">"ownerAccount"</span>: { | |
5412 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5413 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span> | |
5414 | } | |
5415 | } | |
5416 | ] | |
5417 | </code></pre> | |
5418 | <!-- </div> --> | |
5419 | </section> | |
5420 | </div> | |
5421 | </div> | |
5422 | </div> | |
5e1c08eb | 5423 | <h1 id="tag-VideoComment" class="swagger-summary-tag" data-traverse-target="tag-VideoComment">VideoComment</h1> |
ab0ee6a1 | 5424 | <div id="operation--videos--videoId--comment-threads-get" class="operation panel" data-traverse-target="operation--videos--videoId--comment-threads-get"> |
5e1c08eb C |
5425 | <!-- <section class="operation-tags row"> --> |
5426 | <!-- <div class="doc-copy"> --> | |
5427 | <div class="operation-tags"> | |
5428 | <a class="label" href="#tag-VideoComment">VideoComment</a> | |
5429 | <!----> | |
5430 | </div> | |
5431 | <!-- </div> --> | |
5432 | <!-- </section> --> | |
5433 | <h2 class="operation-title"> | |
5434 | <span class="operation-name"> | |
5435 | <span class="operation-name">GET</span> | |
ab0ee6a1 | 5436 | <span class="operation-path">/videos/{videoId}/comment-threads</span> |
5e1c08eb C |
5437 | </span> |
5438 | </h2> | |
5439 | <div class="doc-row"> | |
5440 | <div class="doc-copy"> | |
5441 | <section class="swagger-request-params"> | |
5442 | <div class="prop-row prop-group"> | |
5443 | <div class="prop-name"> | |
ab0ee6a1 C |
5444 | <div class="prop-title">videoId</div> |
5445 | <span class="json-property-required"></span> | |
228e84aa C |
5446 | <div class="prop-subtitle"> in path </div> |
5447 | <div class="prop-subtitle"> | |
5448 | <span class="json-property-type">string</span> | |
5449 | <span class="json-property-range" title="Value limits"></span> | |
5450 | </div> | |
ab0ee6a1 C |
5451 | </div> |
5452 | <div class="prop-value"> | |
5453 | <p>The video id </p> | |
5454 | </div> | |
5455 | </div> | |
ab0ee6a1 C |
5456 | <div class="prop-row prop-group"> |
5457 | <div class="prop-name"> | |
5458 | <div class="prop-title">start</div> | |
228e84aa C |
5459 | <div class="prop-subtitle"> in query </div> |
5460 | <div class="prop-subtitle"> | |
5461 | <span class="json-property-type">number</span> | |
5462 | <span class="json-property-range" title="Value limits"></span> | |
5463 | </div> | |
ab0ee6a1 C |
5464 | </div> |
5465 | <div class="prop-value"> | |
5466 | <p>starting page</p> | |
5467 | </div> | |
5468 | </div> | |
ab0ee6a1 C |
5469 | <div class="prop-row prop-group"> |
5470 | <div class="prop-name"> | |
5471 | <div class="prop-title">stop</div> | |
228e84aa C |
5472 | <div class="prop-subtitle"> in query </div> |
5473 | <div class="prop-subtitle"> | |
5474 | <span class="json-property-type">number</span> | |
5475 | <span class="json-property-range" title="Value limits"></span> | |
5476 | </div> | |
5e1c08eb C |
5477 | </div> |
5478 | <div class="prop-value"> | |
f209b32a | 5479 | <p>stopping page</p> |
5e1c08eb C |
5480 | </div> |
5481 | </div> | |
ab0ee6a1 C |
5482 | <div class="prop-row prop-group"> |
5483 | <div class="prop-name"> | |
5484 | <div class="prop-title">sort</div> | |
228e84aa C |
5485 | <div class="prop-subtitle"> in query </div> |
5486 | <div class="prop-subtitle"> | |
5487 | <span class="json-property-type">number</span> | |
5488 | <span class="json-property-range" title="Value limits"></span> | |
5489 | </div> | |
ab0ee6a1 C |
5490 | </div> |
5491 | <div class="prop-value"> | |
5492 | <p>sorting</p> | |
5493 | </div> | |
5494 | </div> | |
5e1c08eb C |
5495 | </section> |
5496 | </div> | |
5497 | <div class="doc-examples"></div> | |
5498 | </div> | |
5499 | <div class="doc-row"> | |
5500 | <div class="doc-copy"> | |
5501 | <section class="swagger-responses"> | |
5502 | <div class="prop-row prop-group"> | |
5503 | <div class="prop-name"> | |
5504 | <div class="prop-title">200 OK</div> | |
5505 | <div class="prop-ref"> | |
5506 | <span class=""> | |
ab0ee6a1 | 5507 | <a class="json-schema-ref" href="#/definitions/CommentThreadResponse">CommentThreadResponse</a> |
5e1c08eb C |
5508 | </span> |
5509 | </div> | |
5510 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
5511 | </div> | |
5512 | <div class="prop-value"> | |
5513 | <p>successful operation</p> | |
5514 | </div> | |
5515 | </div> | |
5516 | </section> | |
5517 | </div> | |
5518 | <div class="doc-examples"> | |
5519 | <h5>Response Content-Types: | |
5520 | <span>application/json</span> | |
5521 | </h5> | |
5522 | <section> | |
5523 | <h5>Response Example | |
5524 | <span>(200 OK)</span> | |
5525 | </h5> | |
ab0ee6a1 C |
5526 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ |
5527 | <span class="hljs-attr">"total"</span>: <span class="hljs-string">"number"</span>, | |
5528 | <span class="hljs-attr">"data"</span>: [ | |
5529 | { | |
5530 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5531 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
5532 | <span class="hljs-attr">"text"</span>: <span class="hljs-string">"string"</span>, | |
5533 | <span class="hljs-attr">"threadId"</span>: <span class="hljs-string">"number"</span>, | |
5534 | <span class="hljs-attr">"inReplyToCommentId"</span>: <span class="hljs-string">"number"</span>, | |
5535 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
5536 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5537 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
5538 | <span class="hljs-attr">"totalReplies"</span>: <span class="hljs-string">"number"</span>, | |
5539 | <span class="hljs-attr">"account"</span>: { | |
5540 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
5541 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5542 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
5543 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
5544 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
5545 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
5546 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
5547 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
5548 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5549 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
5550 | <span class="hljs-attr">"avatar"</span>: { | |
5551 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
5552 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5553 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
5554 | } | |
5555 | } | |
5556 | } | |
5557 | ] | |
5558 | } | |
5559 | </code></pre> | |
5e1c08eb C |
5560 | <!-- </div> --> |
5561 | </section> | |
5562 | </div> | |
5563 | </div> | |
5564 | </div> | |
ab0ee6a1 | 5565 | <div id="operation--videos--videoId--comment-threads-post" class="operation panel" data-traverse-target="operation--videos--videoId--comment-threads-post"> |
5e1c08eb C |
5566 | <!-- <section class="operation-tags row"> --> |
5567 | <!-- <div class="doc-copy"> --> | |
5568 | <div class="operation-tags"> | |
5569 | <a class="label" href="#tag-VideoComment">VideoComment</a> | |
5570 | <!----> | |
5571 | </div> | |
5572 | <!-- </div> --> | |
5573 | <!-- </section> --> | |
5574 | <h2 class="operation-title"> | |
5575 | <span class="operation-name"> | |
5576 | <span class="operation-name">POST</span> | |
ab0ee6a1 | 5577 | <span class="operation-path">/videos/{videoId}/comment-threads</span> |
5e1c08eb C |
5578 | </span> |
5579 | </h2> | |
5580 | <div class="doc-row"> | |
5581 | <div class="doc-copy"> | |
5582 | <section class="swagger-request-params"> | |
5583 | <div class="prop-row prop-group"> | |
5584 | <div class="prop-name"> | |
5585 | <div class="prop-title">videoId</div> | |
5586 | <span class="json-property-required"></span> | |
228e84aa C |
5587 | <div class="prop-subtitle"> in path </div> |
5588 | <div class="prop-subtitle"> | |
5589 | <span class="json-property-type">string</span> | |
5590 | <span class="json-property-range" title="Value limits"></span> | |
5591 | </div> | |
5e1c08eb C |
5592 | </div> |
5593 | <div class="prop-value"> | |
5594 | <p>The video id </p> | |
5595 | </div> | |
5596 | </div> | |
5e1c08eb C |
5597 | </section> |
5598 | </div> | |
5599 | <div class="doc-examples"></div> | |
5600 | </div> | |
5601 | <div class="doc-row"> | |
5602 | <div class="doc-copy"> | |
5603 | <section class="swagger-responses"> | |
5604 | <div class="prop-row prop-group"> | |
5605 | <div class="prop-name"> | |
5606 | <div class="prop-title">200 OK</div> | |
ab0ee6a1 C |
5607 | <div class="prop-ref"> |
5608 | <span class=""> | |
5609 | <a class="json-schema-ref" href="#/definitions/CommentThreadPostResponse">CommentThreadPostResponse</a> | |
5610 | </span> | |
5611 | </div> | |
5612 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
5e1c08eb C |
5613 | </div> |
5614 | <div class="prop-value"> | |
5615 | <p>successful operation</p> | |
5616 | </div> | |
5617 | </div> | |
5618 | </section> | |
5619 | </div> | |
5620 | <div class="doc-examples"> | |
5621 | <h5>Response Content-Types: | |
5622 | <span>application/json</span> | |
5623 | </h5> | |
ab0ee6a1 C |
5624 | <section> |
5625 | <h5>Response Example | |
5626 | <span>(200 OK)</span> | |
5627 | </h5> | |
5628 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
5629 | <span class="hljs-attr">"comment"</span>: { | |
5630 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5631 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
5632 | <span class="hljs-attr">"text"</span>: <span class="hljs-string">"string"</span>, | |
5633 | <span class="hljs-attr">"threadId"</span>: <span class="hljs-string">"number"</span>, | |
5634 | <span class="hljs-attr">"inReplyToCommentId"</span>: <span class="hljs-string">"number"</span>, | |
5635 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
5636 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5637 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
5638 | <span class="hljs-attr">"totalReplies"</span>: <span class="hljs-string">"number"</span>, | |
5639 | <span class="hljs-attr">"account"</span>: { | |
5640 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
5641 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5642 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
5643 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
5644 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
5645 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
5646 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
5647 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
5648 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5649 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
5650 | <span class="hljs-attr">"avatar"</span>: { | |
5651 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
5652 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5653 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
5654 | } | |
5655 | } | |
5656 | } | |
5657 | } | |
5658 | </code></pre> | |
5659 | <!-- </div> --> | |
5660 | </section> | |
5e1c08eb C |
5661 | </div> |
5662 | </div> | |
94ff4c23 C |
5663 | <div class="doc-row"> |
5664 | <div class="doc-copy"> | |
5665 | <section class="swagger-request-security"> | |
5666 | <table class="table"> | |
5667 | <thead> | |
5668 | <tr> | |
5669 | <th class="swagger-request-security-schema"></th> | |
5670 | <th class="swagger-request-security-scopes"></th> | |
5671 | </tr> | |
5672 | </thead> | |
5673 | <tbody> | |
5674 | <tr> | |
5675 | <td> | |
5676 | <a href="#security-definition-OAuth2">OAuth2</a> | |
5677 | </td> | |
5678 | <td> </td> | |
5679 | </tr> | |
5680 | </tbody> | |
5681 | </table> | |
5682 | </section> | |
5683 | </div> | |
5684 | </div> | |
5e1c08eb | 5685 | </div> |
ab0ee6a1 | 5686 | <div id="operation--videos--videoId--comment-threads--threadId--get" class="operation panel" data-traverse-target="operation--videos--videoId--comment-threads--threadId--get"> |
5e1c08eb C |
5687 | <!-- <section class="operation-tags row"> --> |
5688 | <!-- <div class="doc-copy"> --> | |
5689 | <div class="operation-tags"> | |
5690 | <a class="label" href="#tag-VideoComment">VideoComment</a> | |
5691 | <!----> | |
5692 | </div> | |
5693 | <!-- </div> --> | |
5694 | <!-- </section> --> | |
5695 | <h2 class="operation-title"> | |
5696 | <span class="operation-name"> | |
5697 | <span class="operation-name">GET</span> | |
ab0ee6a1 | 5698 | <span class="operation-path">/videos/{videoId}/comment-threads/{threadId}</span> |
5e1c08eb C |
5699 | </span> |
5700 | </h2> | |
5701 | <div class="doc-row"> | |
5702 | <div class="doc-copy"> | |
5703 | <section class="swagger-request-params"> | |
5704 | <div class="prop-row prop-group"> | |
5705 | <div class="prop-name"> | |
5706 | <div class="prop-title">videoId</div> | |
5707 | <span class="json-property-required"></span> | |
228e84aa C |
5708 | <div class="prop-subtitle"> in path </div> |
5709 | <div class="prop-subtitle"> | |
5710 | <span class="json-property-type">string</span> | |
5711 | <span class="json-property-range" title="Value limits"></span> | |
5712 | </div> | |
5e1c08eb C |
5713 | </div> |
5714 | <div class="prop-value"> | |
5715 | <p>The video id </p> | |
5716 | </div> | |
5717 | </div> | |
5e1c08eb C |
5718 | <div class="prop-row prop-group"> |
5719 | <div class="prop-name"> | |
5720 | <div class="prop-title">threadId</div> | |
5721 | <span class="json-property-required"></span> | |
228e84aa C |
5722 | <div class="prop-subtitle"> in path </div> |
5723 | <div class="prop-subtitle"> | |
5724 | <span class="json-property-type">string</span> | |
5725 | <span class="json-property-range" title="Value limits"></span> | |
5726 | </div> | |
5e1c08eb C |
5727 | </div> |
5728 | <div class="prop-value"> | |
5729 | <p>The thread id </p> | |
5730 | </div> | |
5731 | </div> | |
5e1c08eb C |
5732 | </section> |
5733 | </div> | |
5734 | <div class="doc-examples"></div> | |
5735 | </div> | |
5736 | <div class="doc-row"> | |
5737 | <div class="doc-copy"> | |
5738 | <section class="swagger-responses"> | |
5739 | <div class="prop-row prop-group"> | |
5740 | <div class="prop-name"> | |
5741 | <div class="prop-title">200 OK</div> | |
5742 | <div class="prop-ref"> | |
5743 | <span class=""> | |
5744 | <a class="json-schema-ref" href="#/definitions/VideoCommentThreadTree">VideoCommentThreadTree</a> | |
5745 | </span> | |
5746 | </div> | |
5747 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
5748 | </div> | |
5749 | <div class="prop-value"> | |
5750 | <p>successful operation</p> | |
5751 | </div> | |
5752 | </div> | |
5753 | </section> | |
5754 | </div> | |
5755 | <div class="doc-examples"> | |
5756 | <h5>Response Content-Types: | |
5757 | <span>application/json</span> | |
5758 | </h5> | |
5759 | <section> | |
5760 | <h5>Response Example | |
5761 | <span>(200 OK)</span> | |
5762 | </h5> | |
5763 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
5764 | <span class="hljs-attr">"comment"</span>: { | |
5765 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5766 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
5767 | <span class="hljs-attr">"text"</span>: <span class="hljs-string">"string"</span>, | |
5768 | <span class="hljs-attr">"threadId"</span>: <span class="hljs-string">"number"</span>, | |
5769 | <span class="hljs-attr">"inReplyToCommentId"</span>: <span class="hljs-string">"number"</span>, | |
5770 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
5771 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5772 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
5773 | <span class="hljs-attr">"totalReplies"</span>: <span class="hljs-string">"number"</span>, | |
5774 | <span class="hljs-attr">"account"</span>: { | |
5775 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
5776 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5777 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
5778 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
5779 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
5780 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
5781 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
5782 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
5783 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5784 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
5785 | <span class="hljs-attr">"avatar"</span>: { | |
5786 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
5787 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5788 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
5789 | } | |
5790 | } | |
5791 | }, | |
5792 | <span class="hljs-attr">"children"</span>: [ | |
5793 | { | |
5794 | <span class="hljs-attr">"comment"</span>: { | |
5795 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5796 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
5797 | <span class="hljs-attr">"text"</span>: <span class="hljs-string">"string"</span>, | |
5798 | <span class="hljs-attr">"threadId"</span>: <span class="hljs-string">"number"</span>, | |
5799 | <span class="hljs-attr">"inReplyToCommentId"</span>: <span class="hljs-string">"number"</span>, | |
5800 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
5801 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5802 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
5803 | <span class="hljs-attr">"totalReplies"</span>: <span class="hljs-string">"number"</span>, | |
5804 | <span class="hljs-attr">"account"</span>: { | |
5805 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
5806 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5807 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
5808 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
5809 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
5810 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
5811 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
5812 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
5813 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5814 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
5815 | <span class="hljs-attr">"avatar"</span>: { | |
5816 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
5817 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5818 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
5819 | } | |
5820 | } | |
5821 | }, | |
5822 | <span class="hljs-attr">"children"</span>: [ | |
5823 | { | |
5824 | <span class="hljs-attr">"comment"</span>: { | |
5825 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5826 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
5827 | <span class="hljs-attr">"text"</span>: <span class="hljs-string">"string"</span>, | |
5828 | <span class="hljs-attr">"threadId"</span>: <span class="hljs-string">"number"</span>, | |
5829 | <span class="hljs-attr">"inReplyToCommentId"</span>: <span class="hljs-string">"number"</span>, | |
5830 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
5831 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5832 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
5833 | <span class="hljs-attr">"totalReplies"</span>: <span class="hljs-string">"number"</span>, | |
5834 | <span class="hljs-attr">"account"</span>: { | |
5835 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5836 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
5837 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
5838 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
5839 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
5840 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
5841 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
5842 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5843 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
5844 | <span class="hljs-attr">"avatar"</span>: { | |
5845 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
5846 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5847 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
5848 | } | |
5849 | } | |
5850 | } | |
5851 | } | |
5852 | ] | |
5853 | } | |
5854 | ] | |
5855 | } | |
5856 | </code></pre> | |
5857 | <!-- </div> --> | |
5858 | </section> | |
5859 | </div> | |
5860 | </div> | |
5861 | </div> | |
ab0ee6a1 | 5862 | <div id="operation--videos--videoId--comments--commentId--post" class="operation panel" data-traverse-target="operation--videos--videoId--comments--commentId--post"> |
5e1c08eb C |
5863 | <!-- <section class="operation-tags row"> --> |
5864 | <!-- <div class="doc-copy"> --> | |
5865 | <div class="operation-tags"> | |
5866 | <a class="label" href="#tag-VideoComment">VideoComment</a> | |
5867 | <!----> | |
5868 | </div> | |
5869 | <!-- </div> --> | |
5870 | <!-- </section> --> | |
5871 | <h2 class="operation-title"> | |
5872 | <span class="operation-name"> | |
5873 | <span class="operation-name">POST</span> | |
ab0ee6a1 | 5874 | <span class="operation-path">/videos/{videoId}/comments/{commentId}</span> |
5e1c08eb C |
5875 | </span> |
5876 | </h2> | |
5877 | <div class="doc-row"> | |
5878 | <div class="doc-copy"> | |
5879 | <section class="swagger-request-params"> | |
5880 | <div class="prop-row prop-group"> | |
5881 | <div class="prop-name"> | |
5882 | <div class="prop-title">videoId</div> | |
5883 | <span class="json-property-required"></span> | |
228e84aa C |
5884 | <div class="prop-subtitle"> in path </div> |
5885 | <div class="prop-subtitle"> | |
5886 | <span class="json-property-type">string</span> | |
5887 | <span class="json-property-range" title="Value limits"></span> | |
5888 | </div> | |
5e1c08eb C |
5889 | </div> |
5890 | <div class="prop-value"> | |
5891 | <p>The video id </p> | |
5892 | </div> | |
5893 | </div> | |
5e1c08eb C |
5894 | <div class="prop-row prop-group"> |
5895 | <div class="prop-name"> | |
5896 | <div class="prop-title">commentId</div> | |
5897 | <span class="json-property-required"></span> | |
228e84aa C |
5898 | <div class="prop-subtitle"> in path </div> |
5899 | <div class="prop-subtitle"> | |
5900 | <span class="json-property-type">string</span> | |
5901 | <span class="json-property-range" title="Value limits"></span> | |
5902 | </div> | |
5e1c08eb C |
5903 | </div> |
5904 | <div class="prop-value"> | |
5905 | <p>The comment id </p> | |
5906 | </div> | |
5907 | </div> | |
5e1c08eb C |
5908 | </section> |
5909 | </div> | |
5910 | <div class="doc-examples"></div> | |
5911 | </div> | |
5912 | <div class="doc-row"> | |
5913 | <div class="doc-copy"> | |
5914 | <section class="swagger-responses"> | |
5915 | <div class="prop-row prop-group"> | |
5916 | <div class="prop-name"> | |
5917 | <div class="prop-title">200 OK</div> | |
ab0ee6a1 C |
5918 | <div class="prop-ref"> |
5919 | <span class=""> | |
5920 | <a class="json-schema-ref" href="#/definitions/CommentThreadPostResponse">CommentThreadPostResponse</a> | |
5921 | </span> | |
5922 | </div> | |
5923 | <!-- <span class="swagger-global"></span> <span class="json-schema-reference"><a href=""></a></span> --> | |
5e1c08eb C |
5924 | </div> |
5925 | <div class="prop-value"> | |
5926 | <p>successful operation</p> | |
5927 | </div> | |
5928 | </div> | |
5929 | </section> | |
5930 | </div> | |
5931 | <div class="doc-examples"> | |
5932 | <h5>Response Content-Types: | |
5933 | <span>application/json</span> | |
5934 | </h5> | |
ab0ee6a1 C |
5935 | <section> |
5936 | <h5>Response Example | |
5937 | <span>(200 OK)</span> | |
5938 | </h5> | |
5939 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
5940 | <span class="hljs-attr">"comment"</span>: { | |
5941 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5942 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
5943 | <span class="hljs-attr">"text"</span>: <span class="hljs-string">"string"</span>, | |
5944 | <span class="hljs-attr">"threadId"</span>: <span class="hljs-string">"number"</span>, | |
5945 | <span class="hljs-attr">"inReplyToCommentId"</span>: <span class="hljs-string">"number"</span>, | |
5946 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
5947 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5948 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
5949 | <span class="hljs-attr">"totalReplies"</span>: <span class="hljs-string">"number"</span>, | |
5950 | <span class="hljs-attr">"account"</span>: { | |
5951 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
5952 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5953 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
5954 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
5955 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
5956 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
5957 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
5958 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
5959 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5960 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
5961 | <span class="hljs-attr">"avatar"</span>: { | |
5962 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
5963 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
5964 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
5965 | } | |
5966 | } | |
5967 | } | |
5968 | } | |
5969 | </code></pre> | |
5970 | <!-- </div> --> | |
5971 | </section> | |
5e1c08eb C |
5972 | </div> |
5973 | </div> | |
94ff4c23 C |
5974 | <div class="doc-row"> |
5975 | <div class="doc-copy"> | |
5976 | <section class="swagger-request-security"> | |
5977 | <table class="table"> | |
5978 | <thead> | |
5979 | <tr> | |
5980 | <th class="swagger-request-security-schema"></th> | |
5981 | <th class="swagger-request-security-scopes"></th> | |
5982 | </tr> | |
5983 | </thead> | |
5984 | <tbody> | |
5985 | <tr> | |
5986 | <td> | |
5987 | <a href="#security-definition-OAuth2">OAuth2</a> | |
5988 | </td> | |
5989 | <td> </td> | |
5990 | </tr> | |
5991 | </tbody> | |
5992 | </table> | |
5993 | </section> | |
5994 | </div> | |
5995 | </div> | |
5e1c08eb | 5996 | </div> |
ab0ee6a1 | 5997 | <div id="operation--videos--videoId--comments--commentId--delete" class="operation panel" data-traverse-target="operation--videos--videoId--comments--commentId--delete"> |
5e1c08eb C |
5998 | <!-- <section class="operation-tags row"> --> |
5999 | <!-- <div class="doc-copy"> --> | |
6000 | <div class="operation-tags"> | |
6001 | <a class="label" href="#tag-VideoComment">VideoComment</a> | |
6002 | <!----> | |
6003 | </div> | |
6004 | <!-- </div> --> | |
6005 | <!-- </section> --> | |
6006 | <h2 class="operation-title"> | |
6007 | <span class="operation-name"> | |
6008 | <span class="operation-name">DELETE</span> | |
ab0ee6a1 | 6009 | <span class="operation-path">/videos/{videoId}/comments/{commentId}</span> |
5e1c08eb C |
6010 | </span> |
6011 | </h2> | |
6012 | <div class="doc-row"> | |
6013 | <div class="doc-copy"> | |
6014 | <section class="swagger-request-params"> | |
6015 | <div class="prop-row prop-group"> | |
6016 | <div class="prop-name"> | |
6017 | <div class="prop-title">videoId</div> | |
6018 | <span class="json-property-required"></span> | |
228e84aa C |
6019 | <div class="prop-subtitle"> in path </div> |
6020 | <div class="prop-subtitle"> | |
6021 | <span class="json-property-type">string</span> | |
6022 | <span class="json-property-range" title="Value limits"></span> | |
6023 | </div> | |
5e1c08eb C |
6024 | </div> |
6025 | <div class="prop-value"> | |
6026 | <p>The video id </p> | |
6027 | </div> | |
6028 | </div> | |
5e1c08eb C |
6029 | <div class="prop-row prop-group"> |
6030 | <div class="prop-name"> | |
6031 | <div class="prop-title">commentId</div> | |
6032 | <span class="json-property-required"></span> | |
228e84aa C |
6033 | <div class="prop-subtitle"> in path </div> |
6034 | <div class="prop-subtitle"> | |
6035 | <span class="json-property-type">string</span> | |
6036 | <span class="json-property-range" title="Value limits"></span> | |
6037 | </div> | |
5e1c08eb C |
6038 | </div> |
6039 | <div class="prop-value"> | |
6040 | <p>The comment id </p> | |
6041 | </div> | |
6042 | </div> | |
5e1c08eb C |
6043 | </section> |
6044 | </div> | |
6045 | <div class="doc-examples"></div> | |
6046 | </div> | |
6047 | <div class="doc-row"> | |
6048 | <div class="doc-copy"> | |
6049 | <section class="swagger-responses"> | |
6050 | <div class="prop-row prop-group"> | |
6051 | <div class="prop-name"> | |
6052 | <div class="prop-title">204 No Content</div> | |
6053 | </div> | |
6054 | <div class="prop-value"> | |
6055 | <p>successful operation</p> | |
6056 | </div> | |
6057 | </div> | |
6058 | </section> | |
6059 | </div> | |
6060 | <div class="doc-examples"> | |
6061 | <h5>Response Content-Types: | |
6062 | <span>application/json</span> | |
6063 | </h5> | |
6064 | </div> | |
6065 | </div> | |
94ff4c23 C |
6066 | <div class="doc-row"> |
6067 | <div class="doc-copy"> | |
6068 | <section class="swagger-request-security"> | |
6069 | <table class="table"> | |
6070 | <thead> | |
6071 | <tr> | |
6072 | <th class="swagger-request-security-schema"></th> | |
6073 | <th class="swagger-request-security-scopes"></th> | |
6074 | </tr> | |
6075 | </thead> | |
6076 | <tbody> | |
6077 | <tr> | |
6078 | <td> | |
6079 | <a href="#security-definition-OAuth2">OAuth2</a> | |
6080 | </td> | |
6081 | <td> </td> | |
6082 | </tr> | |
6083 | </tbody> | |
6084 | </table> | |
6085 | </section> | |
6086 | </div> | |
6087 | </div> | |
5e1c08eb C |
6088 | </div> |
6089 | <h1 id="tag-VideoRate" class="swagger-summary-tag" data-traverse-target="tag-VideoRate">VideoRate</h1> | |
ab0ee6a1 | 6090 | <div id="operation--videos--id--rate-put" class="operation panel" data-traverse-target="operation--videos--id--rate-put"> |
5e1c08eb C |
6091 | <!-- <section class="operation-tags row"> --> |
6092 | <!-- <div class="doc-copy"> --> | |
6093 | <div class="operation-tags"> | |
6094 | <a class="label" href="#tag-VideoRate">VideoRate</a> | |
6095 | <!----> | |
6096 | </div> | |
6097 | <!-- </div> --> | |
6098 | <!-- </section> --> | |
6099 | <h2 class="operation-title"> | |
6100 | <span class="operation-name"> | |
6101 | <span class="operation-name">PUT</span> | |
ab0ee6a1 | 6102 | <span class="operation-path">/videos/{id}/rate</span> |
5e1c08eb C |
6103 | </span> |
6104 | </h2> | |
6105 | <div class="doc-row"> | |
6106 | <div class="doc-copy"> | |
6107 | <section class="swagger-request-params"> | |
6108 | <div class="prop-row prop-group"> | |
6109 | <div class="prop-name"> | |
6110 | <div class="prop-title">id</div> | |
6111 | <span class="json-property-required"></span> | |
228e84aa C |
6112 | <div class="prop-subtitle"> in path </div> |
6113 | <div class="prop-subtitle"> | |
6114 | <span class="json-property-type">string</span> | |
6115 | <span class="json-property-range" title="Value limits"></span> | |
6116 | </div> | |
5e1c08eb C |
6117 | </div> |
6118 | <div class="prop-value"> | |
6119 | <p>The video id </p> | |
6120 | </div> | |
6121 | </div> | |
5e1c08eb C |
6122 | </section> |
6123 | </div> | |
6124 | <div class="doc-examples"></div> | |
6125 | </div> | |
6126 | <div class="doc-row"> | |
6127 | <div class="doc-copy"> | |
6128 | <section class="swagger-responses"> | |
6129 | <div class="prop-row prop-group"> | |
6130 | <div class="prop-name"> | |
6131 | <div class="prop-title">204 No Content</div> | |
6132 | </div> | |
6133 | <div class="prop-value"> | |
6134 | <p>successful operation</p> | |
6135 | </div> | |
6136 | </div> | |
6137 | </section> | |
6138 | </div> | |
6139 | <div class="doc-examples"> | |
6140 | <h5>Response Content-Types: | |
6141 | <span>application/json</span> | |
6142 | </h5> | |
6143 | </div> | |
6144 | </div> | |
94ff4c23 C |
6145 | <div class="doc-row"> |
6146 | <div class="doc-copy"> | |
6147 | <section class="swagger-request-security"> | |
6148 | <table class="table"> | |
6149 | <thead> | |
6150 | <tr> | |
6151 | <th class="swagger-request-security-schema"></th> | |
6152 | <th class="swagger-request-security-scopes"></th> | |
6153 | </tr> | |
6154 | </thead> | |
6155 | <tbody> | |
6156 | <tr> | |
6157 | <td> | |
6158 | <a href="#security-definition-OAuth2">OAuth2</a> | |
6159 | </td> | |
6160 | <td> </td> | |
6161 | </tr> | |
6162 | </tbody> | |
6163 | </table> | |
6164 | </section> | |
6165 | </div> | |
6166 | </div> | |
5e1c08eb C |
6167 | </div> |
6168 | <h1>Schema Definitions</h1> | |
48dce1c9 | 6169 | <div id="definition-VideoConstantNumber" class="definition panel" data-traverse-target="definition-VideoConstantNumber"> |
5d00a3d7 | 6170 | <h2 class="panel-title"> |
48dce1c9 | 6171 | <a name="/definitions/VideoConstantNumber"></a>VideoConstantNumber: |
5d00a3d7 C |
6172 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> |
6173 | <span class="json-property-range" title="Value limits"></span> | |
6174 | ||
6175 | ||
6176 | </span> --> | |
6177 | </h2> | |
6178 | <div class="doc-row"> | |
6179 | <div class="doc-copy"> | |
6180 | <section class="json-schema-properties"> | |
6181 | <dl> | |
6182 | <dt data-property-name="id"> | |
6183 | <span class="json-property-name">id:</span> | |
6184 | <span class="json-property-type">number</span> | |
6185 | <span class="json-property-range" title="Value limits"></span> | |
6186 | </dt> | |
6187 | <dt data-property-name="label"> | |
6188 | <span class="json-property-name">label:</span> | |
6189 | <span class="json-property-type">string</span> | |
6190 | <span class="json-property-range" title="Value limits"></span> | |
6191 | </dt> | |
6192 | </dl> | |
6193 | </section> | |
6194 | </div> | |
6195 | <div class="doc-examples"> | |
6196 | <section> | |
6197 | <h5>Example</h5> | |
6198 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
6199 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6200 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
6201 | } | |
48dce1c9 C |
6202 | </code></pre> |
6203 | <!-- </div> --> | |
6204 | </section> | |
6205 | </div> | |
6206 | </div> | |
6207 | </div> | |
6208 | <div id="definition-VideoConstantString" class="definition panel" data-traverse-target="definition-VideoConstantString"> | |
6209 | <h2 class="panel-title"> | |
6210 | <a name="/definitions/VideoConstantString"></a>VideoConstantString: | |
6211 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
6212 | <span class="json-property-range" title="Value limits"></span> | |
6213 | ||
6214 | ||
6215 | </span> --> | |
6216 | </h2> | |
6217 | <div class="doc-row"> | |
6218 | <div class="doc-copy"> | |
6219 | <section class="json-schema-properties"> | |
6220 | <dl> | |
6221 | <dt data-property-name="id"> | |
6222 | <span class="json-property-name">id:</span> | |
6223 | <span class="json-property-type">string</span> | |
6224 | <span class="json-property-range" title="Value limits"></span> | |
6225 | </dt> | |
6226 | <dt data-property-name="label"> | |
6227 | <span class="json-property-name">label:</span> | |
6228 | <span class="json-property-type">string</span> | |
6229 | <span class="json-property-range" title="Value limits"></span> | |
6230 | </dt> | |
6231 | </dl> | |
6232 | </section> | |
6233 | </div> | |
6234 | <div class="doc-examples"> | |
6235 | <section> | |
6236 | <h5>Example</h5> | |
6237 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
6238 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"string"</span>, | |
6239 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
6240 | } | |
5d00a3d7 C |
6241 | </code></pre> |
6242 | <!-- </div> --> | |
6243 | </section> | |
6244 | </div> | |
6245 | </div> | |
6246 | </div> | |
61b66b36 C |
6247 | <div id="definition-VideoPrivacy" class="definition panel" data-traverse-target="definition-VideoPrivacy"> |
6248 | <h2 class="panel-title"> | |
6249 | <a name="/definitions/VideoPrivacy"></a>VideoPrivacy: string | |
6250 | <!-- <span class="json-property-type"><span class="json-property-type">string</span> <span class="json-property-enum" title="Possible values"> | |
6251 | <span class="json-property-enum-item">Public</span>, | |
6252 | <span class="json-property-enum-item">Unlisted</span>, | |
6253 | <span class="json-property-enum-item">Private</span> | |
6254 | </span> | |
6255 | <span class="json-property-range" title="Value limits"></span> | |
6256 | ||
6257 | ||
6258 | </span> --> | |
6259 | </h2> | |
6260 | <div class="doc-row"> | |
6261 | <div class="doc-copy"> | |
6262 | <span class="json-property-type">string</span> | |
6263 | <span class="json-property-enum" title="Possible values"> | |
6264 | <span class="json-property-enum-item">Public</span>, | |
6265 | <span class="json-property-enum-item">Unlisted</span>, | |
6266 | <span class="json-property-enum-item">Private</span> | |
6267 | </span> | |
6268 | <span class="json-property-range" title="Value limits"></span> | |
6269 | </div> | |
6270 | </div> | |
6271 | </div> | |
5e1c08eb C |
6272 | <div id="definition-Video" class="definition panel" data-traverse-target="definition-Video"> |
6273 | <h2 class="panel-title"> | |
6274 | <a name="/definitions/Video"></a>Video: | |
6275 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
6276 | <span class="json-property-range" title="Value limits"></span> | |
6277 | ||
6278 | ||
6279 | </span> --> | |
6280 | </h2> | |
6281 | <div class="doc-row"> | |
6282 | <div class="doc-copy"> | |
6283 | <section class="json-schema-properties"> | |
6284 | <dl> | |
6285 | <dt data-property-name="id"> | |
6286 | <span class="json-property-name">id:</span> | |
6287 | <span class="json-property-type">number</span> | |
6288 | <span class="json-property-range" title="Value limits"></span> | |
6289 | </dt> | |
6290 | <dt data-property-name="uuid"> | |
6291 | <span class="json-property-name">uuid:</span> | |
6292 | <span class="json-property-type">string</span> | |
6293 | <span class="json-property-range" title="Value limits"></span> | |
6294 | </dt> | |
5e1c08eb C |
6295 | <dt data-property-name="createdAt"> |
6296 | <span class="json-property-name">createdAt:</span> | |
6297 | <span class="json-property-type">string</span> | |
6298 | <span class="json-property-range" title="Value limits"></span> | |
6299 | </dt> | |
61b66b36 C |
6300 | <dt data-property-name="publishedAt"> |
6301 | <span class="json-property-name">publishedAt:</span> | |
6302 | <span class="json-property-type">string</span> | |
6303 | <span class="json-property-range" title="Value limits"></span> | |
6304 | </dt> | |
5e1c08eb C |
6305 | <dt data-property-name="updatedAt"> |
6306 | <span class="json-property-name">updatedAt:</span> | |
6307 | <span class="json-property-type">string</span> | |
6308 | <span class="json-property-range" title="Value limits"></span> | |
6309 | </dt> | |
5e1c08eb C |
6310 | <dt data-property-name="category"> |
6311 | <span class="json-property-name">category:</span> | |
5d00a3d7 C |
6312 | <span class="json-property-type"> |
6313 | <span class=""> | |
48dce1c9 | 6314 | <a class="json-schema-ref" href="#/definitions/VideoConstantNumber">VideoConstantNumber</a> |
5d00a3d7 C |
6315 | </span> |
6316 | </span> | |
5e1c08eb C |
6317 | <span class="json-property-range" title="Value limits"></span> |
6318 | </dt> | |
6319 | <dt data-property-name="licence"> | |
6320 | <span class="json-property-name">licence:</span> | |
5d00a3d7 C |
6321 | <span class="json-property-type"> |
6322 | <span class=""> | |
48dce1c9 | 6323 | <a class="json-schema-ref" href="#/definitions/VideoConstantNumber">VideoConstantNumber</a> |
5d00a3d7 C |
6324 | </span> |
6325 | </span> | |
5e1c08eb C |
6326 | <span class="json-property-range" title="Value limits"></span> |
6327 | </dt> | |
6328 | <dt data-property-name="language"> | |
6329 | <span class="json-property-name">language:</span> | |
5d00a3d7 C |
6330 | <span class="json-property-type"> |
6331 | <span class=""> | |
48dce1c9 | 6332 | <a class="json-schema-ref" href="#/definitions/VideoConstantString">VideoConstantString</a> |
5d00a3d7 C |
6333 | </span> |
6334 | </span> | |
5e1c08eb C |
6335 | <span class="json-property-range" title="Value limits"></span> |
6336 | </dt> | |
61b66b36 C |
6337 | <dt data-property-name="privacy"> |
6338 | <span class="json-property-name">privacy:</span> | |
6339 | <span class="json-property-type"> | |
6340 | <span class=""> | |
6341 | <a class="json-schema-ref" href="#/definitions/VideoPrivacy">VideoPrivacy</a> | |
6342 | </span> | |
6343 | </span> | |
6344 | <span class="json-property-range" title="Value limits"></span> | |
6345 | </dt> | |
5e1c08eb C |
6346 | <dt data-property-name="description"> |
6347 | <span class="json-property-name">description:</span> | |
6348 | <span class="json-property-type">string</span> | |
6349 | <span class="json-property-range" title="Value limits"></span> | |
6350 | </dt> | |
6351 | <dt data-property-name="duration"> | |
6352 | <span class="json-property-name">duration:</span> | |
6353 | <span class="json-property-type">number</span> | |
6354 | <span class="json-property-range" title="Value limits"></span> | |
6355 | </dt> | |
6356 | <dt data-property-name="isLocal"> | |
6357 | <span class="json-property-name">isLocal:</span> | |
6358 | <span class="json-property-type">boolean</span> | |
6359 | <span class="json-property-range" title="Value limits"></span> | |
6360 | </dt> | |
6361 | <dt data-property-name="name"> | |
6362 | <span class="json-property-name">name:</span> | |
6363 | <span class="json-property-type">string</span> | |
6364 | <span class="json-property-range" title="Value limits"></span> | |
6365 | </dt> | |
5e1c08eb C |
6366 | <dt data-property-name="thumbnailPath"> |
6367 | <span class="json-property-name">thumbnailPath:</span> | |
6368 | <span class="json-property-type">string</span> | |
6369 | <span class="json-property-range" title="Value limits"></span> | |
6370 | </dt> | |
6371 | <dt data-property-name="previewPath"> | |
6372 | <span class="json-property-name">previewPath:</span> | |
6373 | <span class="json-property-type">string</span> | |
6374 | <span class="json-property-range" title="Value limits"></span> | |
6375 | </dt> | |
6376 | <dt data-property-name="embedPath"> | |
6377 | <span class="json-property-name">embedPath:</span> | |
6378 | <span class="json-property-type">string</span> | |
6379 | <span class="json-property-range" title="Value limits"></span> | |
6380 | </dt> | |
6381 | <dt data-property-name="views"> | |
6382 | <span class="json-property-name">views:</span> | |
6383 | <span class="json-property-type">number</span> | |
6384 | <span class="json-property-range" title="Value limits"></span> | |
6385 | </dt> | |
6386 | <dt data-property-name="likes"> | |
6387 | <span class="json-property-name">likes:</span> | |
6388 | <span class="json-property-type">number</span> | |
6389 | <span class="json-property-range" title="Value limits"></span> | |
6390 | </dt> | |
6391 | <dt data-property-name="dislikes"> | |
6392 | <span class="json-property-name">dislikes:</span> | |
6393 | <span class="json-property-type">number</span> | |
6394 | <span class="json-property-range" title="Value limits"></span> | |
6395 | </dt> | |
6396 | <dt data-property-name="nsfw"> | |
6397 | <span class="json-property-name">nsfw:</span> | |
6398 | <span class="json-property-type">boolean</span> | |
6399 | <span class="json-property-range" title="Value limits"></span> | |
6400 | </dt> | |
5d00a3d7 C |
6401 | <dt data-property-name="account"> |
6402 | <span class="json-property-name">account:</span> | |
6403 | <span class="json-property-type">object</span> | |
6404 | <span class="json-property-range" title="Value limits"></span> | |
6405 | </dt> | |
5e1c08eb C |
6406 | </dl> |
6407 | </section> | |
6408 | </div> | |
6409 | <div class="doc-examples"> | |
6410 | <section> | |
6411 | <h5>Example</h5> | |
6412 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
6413 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6414 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
5e1c08eb | 6415 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, |
61b66b36 | 6416 | <span class="hljs-attr">"publishedAt"</span>: <span class="hljs-string">"string"</span>, |
5e1c08eb | 6417 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, |
5d00a3d7 C |
6418 | <span class="hljs-attr">"category"</span>: { |
6419 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6420 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
6421 | }, | |
6422 | <span class="hljs-attr">"licence"</span>: { | |
6423 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6424 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> | |
6425 | }, | |
6426 | <span class="hljs-attr">"language"</span>: { | |
48dce1c9 | 6427 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"string"</span>, |
5d00a3d7 C |
6428 | <span class="hljs-attr">"label"</span>: <span class="hljs-string">"string"</span> |
6429 | }, | |
61b66b36 | 6430 | <span class="hljs-attr">"privacy"</span>: <span class="hljs-string">"string"</span>, |
5e1c08eb C |
6431 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, |
6432 | <span class="hljs-attr">"duration"</span>: <span class="hljs-string">"number"</span>, | |
6433 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
6434 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
5e1c08eb C |
6435 | <span class="hljs-attr">"thumbnailPath"</span>: <span class="hljs-string">"string"</span>, |
6436 | <span class="hljs-attr">"previewPath"</span>: <span class="hljs-string">"string"</span>, | |
6437 | <span class="hljs-attr">"embedPath"</span>: <span class="hljs-string">"string"</span>, | |
6438 | <span class="hljs-attr">"views"</span>: <span class="hljs-string">"number"</span>, | |
6439 | <span class="hljs-attr">"likes"</span>: <span class="hljs-string">"number"</span>, | |
6440 | <span class="hljs-attr">"dislikes"</span>: <span class="hljs-string">"number"</span>, | |
61b66b36 C |
6441 | <span class="hljs-attr">"nsfw"</span>: <span class="hljs-string">"boolean"</span>, |
6442 | <span class="hljs-attr">"account"</span>: { | |
6443 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
6444 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
6445 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
6446 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
6447 | <span class="hljs-attr">"avatar"</span>: { | |
6448 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
6449 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6450 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
6451 | } | |
6452 | } | |
5e1c08eb C |
6453 | } |
6454 | </code></pre> | |
6455 | <!-- </div> --> | |
6456 | </section> | |
6457 | </div> | |
6458 | </div> | |
6459 | </div> | |
6460 | <div id="definition-VideoAbuse" class="definition panel" data-traverse-target="definition-VideoAbuse"> | |
6461 | <h2 class="panel-title"> | |
6462 | <a name="/definitions/VideoAbuse"></a>VideoAbuse: | |
6463 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
6464 | <span class="json-property-range" title="Value limits"></span> | |
6465 | ||
6466 | ||
6467 | </span> --> | |
6468 | </h2> | |
6469 | <div class="doc-row"> | |
6470 | <div class="doc-copy"> | |
6471 | <section class="json-schema-properties"> | |
6472 | <dl> | |
6473 | <dt data-property-name="id"> | |
6474 | <span class="json-property-name">id:</span> | |
6475 | <span class="json-property-type">number</span> | |
6476 | <span class="json-property-range" title="Value limits"></span> | |
6477 | </dt> | |
6478 | <dt data-property-name="reason"> | |
6479 | <span class="json-property-name">reason:</span> | |
6480 | <span class="json-property-type">string</span> | |
6481 | <span class="json-property-range" title="Value limits"></span> | |
6482 | </dt> | |
5d00a3d7 C |
6483 | <dt data-property-name="reporterAccount"> |
6484 | <span class="json-property-name">reporterAccount:</span> | |
6485 | <span class="json-property-type"> | |
6486 | <span class=""> | |
6487 | <a class="json-schema-ref" href="#/definitions/Account">Account</a> | |
6488 | </span> | |
6489 | </span> | |
5e1c08eb C |
6490 | <span class="json-property-range" title="Value limits"></span> |
6491 | </dt> | |
5d00a3d7 C |
6492 | <dt data-property-name="video"> |
6493 | <span class="json-property-name">video:</span> | |
6494 | <span class="json-property-type">object</span> | |
5e1c08eb C |
6495 | <span class="json-property-range" title="Value limits"></span> |
6496 | </dt> | |
6497 | <dt data-property-name="createdAt"> | |
6498 | <span class="json-property-name">createdAt:</span> | |
6499 | <span class="json-property-type">string</span> | |
6500 | <span class="json-property-range" title="Value limits"></span> | |
6501 | </dt> | |
6502 | </dl> | |
6503 | </section> | |
6504 | </div> | |
6505 | <div class="doc-examples"> | |
6506 | <section> | |
6507 | <h5>Example</h5> | |
6508 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
6509 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6510 | <span class="hljs-attr">"reason"</span>: <span class="hljs-string">"string"</span>, | |
5d00a3d7 C |
6511 | <span class="hljs-attr">"reporterAccount"</span>: { |
6512 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
6513 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6514 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
6515 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
6516 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
6517 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
6518 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
6519 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
6520 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6521 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
6522 | <span class="hljs-attr">"avatar"</span>: { | |
6523 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
6524 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6525 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
6526 | } | |
6527 | }, | |
61b66b36 C |
6528 | <span class="hljs-attr">"video"</span>: { |
6529 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6530 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
6531 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
6532 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span> | |
6533 | }, | |
5e1c08eb C |
6534 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span> |
6535 | } | |
6536 | </code></pre> | |
6537 | <!-- </div> --> | |
6538 | </section> | |
6539 | </div> | |
6540 | </div> | |
6541 | </div> | |
6542 | <div id="definition-VideoBlacklist" class="definition panel" data-traverse-target="definition-VideoBlacklist"> | |
6543 | <h2 class="panel-title"> | |
6544 | <a name="/definitions/VideoBlacklist"></a>VideoBlacklist: | |
6545 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
6546 | <span class="json-property-range" title="Value limits"></span> | |
6547 | ||
6548 | ||
6549 | </span> --> | |
6550 | </h2> | |
6551 | <div class="doc-row"> | |
6552 | <div class="doc-copy"> | |
6553 | <section class="json-schema-properties"> | |
6554 | <dl> | |
6555 | <dt data-property-name="id"> | |
6556 | <span class="json-property-name">id:</span> | |
6557 | <span class="json-property-type">number</span> | |
6558 | <span class="json-property-range" title="Value limits"></span> | |
6559 | </dt> | |
6560 | <dt data-property-name="videoId"> | |
6561 | <span class="json-property-name">videoId:</span> | |
6562 | <span class="json-property-type">number</span> | |
6563 | <span class="json-property-range" title="Value limits"></span> | |
6564 | </dt> | |
6565 | <dt data-property-name="createdAt"> | |
6566 | <span class="json-property-name">createdAt:</span> | |
6567 | <span class="json-property-type">string</span> | |
6568 | <span class="json-property-range" title="Value limits"></span> | |
6569 | </dt> | |
6570 | <dt data-property-name="updatedAt"> | |
6571 | <span class="json-property-name">updatedAt:</span> | |
6572 | <span class="json-property-type">string</span> | |
6573 | <span class="json-property-range" title="Value limits"></span> | |
6574 | </dt> | |
6575 | <dt data-property-name="name"> | |
6576 | <span class="json-property-name">name:</span> | |
6577 | <span class="json-property-type">string</span> | |
6578 | <span class="json-property-range" title="Value limits"></span> | |
6579 | </dt> | |
6580 | <dt data-property-name="uuid"> | |
6581 | <span class="json-property-name">uuid:</span> | |
6582 | <span class="json-property-type">string</span> | |
6583 | <span class="json-property-range" title="Value limits"></span> | |
6584 | </dt> | |
6585 | <dt data-property-name="description"> | |
6586 | <span class="json-property-name">description:</span> | |
6587 | <span class="json-property-type">string</span> | |
6588 | <span class="json-property-range" title="Value limits"></span> | |
6589 | </dt> | |
6590 | <dt data-property-name="duration"> | |
6591 | <span class="json-property-name">duration:</span> | |
6592 | <span class="json-property-type">number</span> | |
6593 | <span class="json-property-range" title="Value limits"></span> | |
6594 | </dt> | |
6595 | <dt data-property-name="views"> | |
6596 | <span class="json-property-name">views:</span> | |
6597 | <span class="json-property-type">number</span> | |
6598 | <span class="json-property-range" title="Value limits"></span> | |
6599 | </dt> | |
6600 | <dt data-property-name="likes"> | |
6601 | <span class="json-property-name">likes:</span> | |
6602 | <span class="json-property-type">number</span> | |
6603 | <span class="json-property-range" title="Value limits"></span> | |
6604 | </dt> | |
6605 | <dt data-property-name="dislikes"> | |
6606 | <span class="json-property-name">dislikes:</span> | |
6607 | <span class="json-property-type">number</span> | |
6608 | <span class="json-property-range" title="Value limits"></span> | |
6609 | </dt> | |
6610 | <dt data-property-name="nsfw"> | |
6611 | <span class="json-property-name">nsfw:</span> | |
6612 | <span class="json-property-type">boolean</span> | |
6613 | <span class="json-property-range" title="Value limits"></span> | |
6614 | </dt> | |
6615 | </dl> | |
6616 | </section> | |
6617 | </div> | |
6618 | <div class="doc-examples"> | |
6619 | <section> | |
6620 | <h5>Example</h5> | |
6621 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
6622 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6623 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
6624 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6625 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
6626 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
6627 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
6628 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
6629 | <span class="hljs-attr">"duration"</span>: <span class="hljs-string">"number"</span>, | |
6630 | <span class="hljs-attr">"views"</span>: <span class="hljs-string">"number"</span>, | |
6631 | <span class="hljs-attr">"likes"</span>: <span class="hljs-string">"number"</span>, | |
6632 | <span class="hljs-attr">"dislikes"</span>: <span class="hljs-string">"number"</span>, | |
6633 | <span class="hljs-attr">"nsfw"</span>: <span class="hljs-string">"boolean"</span> | |
6634 | } | |
6635 | </code></pre> | |
6636 | <!-- </div> --> | |
6637 | </section> | |
6638 | </div> | |
6639 | </div> | |
6640 | </div> | |
6641 | <div id="definition-VideoChannel" class="definition panel" data-traverse-target="definition-VideoChannel"> | |
6642 | <h2 class="panel-title"> | |
6643 | <a name="/definitions/VideoChannel"></a>VideoChannel: | |
6644 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
6645 | <span class="json-property-range" title="Value limits"></span> | |
6646 | ||
6647 | ||
6648 | </span> --> | |
6649 | </h2> | |
6650 | <div class="doc-row"> | |
6651 | <div class="doc-copy"> | |
6652 | <section class="json-schema-properties"> | |
6653 | <dl> | |
6654 | <dt data-property-name="displayName"> | |
6655 | <span class="json-property-name">displayName:</span> | |
6656 | <span class="json-property-type">string</span> | |
6657 | <span class="json-property-range" title="Value limits"></span> | |
6658 | </dt> | |
6659 | <dt data-property-name="description"> | |
6660 | <span class="json-property-name">description:</span> | |
6661 | <span class="json-property-type">string</span> | |
6662 | <span class="json-property-range" title="Value limits"></span> | |
6663 | </dt> | |
6664 | <dt data-property-name="isLocal"> | |
6665 | <span class="json-property-name">isLocal:</span> | |
6666 | <span class="json-property-type">boolean</span> | |
6667 | <span class="json-property-range" title="Value limits"></span> | |
6668 | </dt> | |
cc918ac3 C |
6669 | <dt data-property-name="ownerAccount"> |
6670 | <span class="json-property-name">ownerAccount:</span> | |
5e1c08eb C |
6671 | <span class="json-property-type">object</span> |
6672 | <span class="json-property-range" title="Value limits"></span> | |
6673 | </dt> | |
5e1c08eb C |
6674 | </dl> |
6675 | </section> | |
6676 | </div> | |
6677 | <div class="doc-examples"> | |
6678 | <section> | |
6679 | <h5>Example</h5> | |
6680 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
6681 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
6682 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
6683 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
cc918ac3 C |
6684 | <span class="hljs-attr">"ownerAccount"</span>: { |
6685 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5e1c08eb | 6686 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span> |
cc918ac3 | 6687 | } |
5e1c08eb C |
6688 | } |
6689 | </code></pre> | |
6690 | <!-- </div> --> | |
6691 | </section> | |
6692 | </div> | |
6693 | </div> | |
6694 | </div> | |
6695 | <div id="definition-VideoComment" class="definition panel" data-traverse-target="definition-VideoComment"> | |
6696 | <h2 class="panel-title"> | |
6697 | <a name="/definitions/VideoComment"></a>VideoComment: | |
6698 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
6699 | <span class="json-property-range" title="Value limits"></span> | |
6700 | ||
6701 | ||
6702 | </span> --> | |
6703 | </h2> | |
6704 | <div class="doc-row"> | |
6705 | <div class="doc-copy"> | |
6706 | <section class="json-schema-properties"> | |
6707 | <dl> | |
6708 | <dt data-property-name="id"> | |
6709 | <span class="json-property-name">id:</span> | |
6710 | <span class="json-property-type">number</span> | |
6711 | <span class="json-property-range" title="Value limits"></span> | |
6712 | </dt> | |
6713 | <dt data-property-name="url"> | |
6714 | <span class="json-property-name">url:</span> | |
6715 | <span class="json-property-type">string</span> | |
6716 | <span class="json-property-range" title="Value limits"></span> | |
6717 | </dt> | |
6718 | <dt data-property-name="text"> | |
6719 | <span class="json-property-name">text:</span> | |
6720 | <span class="json-property-type">string</span> | |
6721 | <span class="json-property-range" title="Value limits"></span> | |
6722 | </dt> | |
6723 | <dt data-property-name="threadId"> | |
6724 | <span class="json-property-name">threadId:</span> | |
6725 | <span class="json-property-type">number</span> | |
6726 | <span class="json-property-range" title="Value limits"></span> | |
6727 | </dt> | |
6728 | <dt data-property-name="inReplyToCommentId"> | |
6729 | <span class="json-property-name">inReplyToCommentId:</span> | |
6730 | <span class="json-property-type">number</span> | |
6731 | <span class="json-property-range" title="Value limits"></span> | |
6732 | </dt> | |
6733 | <dt data-property-name="videoId"> | |
6734 | <span class="json-property-name">videoId:</span> | |
6735 | <span class="json-property-type">number</span> | |
6736 | <span class="json-property-range" title="Value limits"></span> | |
6737 | </dt> | |
6738 | <dt data-property-name="createdAt"> | |
6739 | <span class="json-property-name">createdAt:</span> | |
6740 | <span class="json-property-type">string</span> | |
6741 | <span class="json-property-range" title="Value limits"></span> | |
6742 | </dt> | |
6743 | <dt data-property-name="updatedAt"> | |
6744 | <span class="json-property-name">updatedAt:</span> | |
6745 | <span class="json-property-type">string</span> | |
6746 | <span class="json-property-range" title="Value limits"></span> | |
6747 | </dt> | |
6748 | <dt data-property-name="totalReplies"> | |
6749 | <span class="json-property-name">totalReplies:</span> | |
6750 | <span class="json-property-type">number</span> | |
6751 | <span class="json-property-range" title="Value limits"></span> | |
6752 | </dt> | |
6753 | <dt data-property-name="account"> | |
6754 | <span class="json-property-name">account:</span> | |
6755 | <span class="json-property-type"> | |
6756 | <span class=""> | |
6757 | <a class="json-schema-ref" href="#/definitions/Account">Account</a> | |
6758 | </span> | |
6759 | </span> | |
6760 | <span class="json-property-range" title="Value limits"></span> | |
6761 | </dt> | |
6762 | </dl> | |
6763 | </section> | |
6764 | </div> | |
6765 | <div class="doc-examples"> | |
6766 | <section> | |
6767 | <h5>Example</h5> | |
6768 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
6769 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6770 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
6771 | <span class="hljs-attr">"text"</span>: <span class="hljs-string">"string"</span>, | |
6772 | <span class="hljs-attr">"threadId"</span>: <span class="hljs-string">"number"</span>, | |
6773 | <span class="hljs-attr">"inReplyToCommentId"</span>: <span class="hljs-string">"number"</span>, | |
6774 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
6775 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6776 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
6777 | <span class="hljs-attr">"totalReplies"</span>: <span class="hljs-string">"number"</span>, | |
6778 | <span class="hljs-attr">"account"</span>: { | |
6779 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
6780 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6781 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
6782 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
6783 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
6784 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
6785 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
6786 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
6787 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6788 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
6789 | <span class="hljs-attr">"avatar"</span>: { | |
6790 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
6791 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6792 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
6793 | } | |
6794 | } | |
6795 | } | |
6796 | </code></pre> | |
6797 | <!-- </div> --> | |
6798 | </section> | |
6799 | </div> | |
6800 | </div> | |
6801 | </div> | |
6802 | <div id="definition-VideoCommentThreadTree" class="definition panel" data-traverse-target="definition-VideoCommentThreadTree"> | |
6803 | <h2 class="panel-title"> | |
6804 | <a name="/definitions/VideoCommentThreadTree"></a>VideoCommentThreadTree: | |
6805 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
6806 | <span class="json-property-range" title="Value limits"></span> | |
6807 | ||
6808 | ||
6809 | </span> --> | |
6810 | </h2> | |
6811 | <div class="doc-row"> | |
6812 | <div class="doc-copy"> | |
6813 | <section class="json-schema-properties"> | |
6814 | <dl> | |
6815 | <dt data-property-name="comment"> | |
6816 | <span class="json-property-name">comment:</span> | |
6817 | <span class="json-property-type"> | |
6818 | <span class=""> | |
6819 | <a class="json-schema-ref" href="#/definitions/VideoComment">VideoComment</a> | |
6820 | </span> | |
6821 | </span> | |
6822 | <span class="json-property-range" title="Value limits"></span> | |
6823 | </dt> | |
6824 | <dt data-property-name="children"> | |
6825 | <span class="json-property-name">children:</span> | |
6826 | <span class="json-property-type"> | |
6827 | <span class="json-schema-ref-array"> | |
6828 | <a class="json-schema-ref" href="#/definitions/VideoCommentThreadTree">VideoCommentThreadTree</a> | |
6829 | </span> | |
6830 | </span> | |
6831 | <span class="json-property-range" title="Value limits"></span> | |
6832 | </dt> | |
6833 | </dl> | |
6834 | </section> | |
6835 | </div> | |
6836 | <div class="doc-examples"> | |
6837 | <section> | |
6838 | <h5>Example</h5> | |
6839 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
6840 | <span class="hljs-attr">"comment"</span>: { | |
6841 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6842 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
6843 | <span class="hljs-attr">"text"</span>: <span class="hljs-string">"string"</span>, | |
6844 | <span class="hljs-attr">"threadId"</span>: <span class="hljs-string">"number"</span>, | |
6845 | <span class="hljs-attr">"inReplyToCommentId"</span>: <span class="hljs-string">"number"</span>, | |
6846 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
6847 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6848 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
6849 | <span class="hljs-attr">"totalReplies"</span>: <span class="hljs-string">"number"</span>, | |
6850 | <span class="hljs-attr">"account"</span>: { | |
6851 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
6852 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6853 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
6854 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
6855 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
6856 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
6857 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
6858 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
6859 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6860 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
6861 | <span class="hljs-attr">"avatar"</span>: { | |
6862 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
6863 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6864 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
6865 | } | |
6866 | } | |
6867 | }, | |
6868 | <span class="hljs-attr">"children"</span>: [ | |
6869 | { | |
6870 | <span class="hljs-attr">"comment"</span>: { | |
6871 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6872 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
6873 | <span class="hljs-attr">"text"</span>: <span class="hljs-string">"string"</span>, | |
6874 | <span class="hljs-attr">"threadId"</span>: <span class="hljs-string">"number"</span>, | |
6875 | <span class="hljs-attr">"inReplyToCommentId"</span>: <span class="hljs-string">"number"</span>, | |
6876 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
6877 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6878 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
6879 | <span class="hljs-attr">"totalReplies"</span>: <span class="hljs-string">"number"</span>, | |
6880 | <span class="hljs-attr">"account"</span>: { | |
6881 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
6882 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6883 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
6884 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
6885 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
6886 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
6887 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
6888 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
6889 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6890 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
6891 | <span class="hljs-attr">"avatar"</span>: { | |
6892 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
6893 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6894 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
6895 | } | |
6896 | } | |
6897 | }, | |
6898 | <span class="hljs-attr">"children"</span>: [ | |
6899 | { | |
6900 | <span class="hljs-attr">"comment"</span>: { | |
6901 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6902 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
6903 | <span class="hljs-attr">"text"</span>: <span class="hljs-string">"string"</span>, | |
6904 | <span class="hljs-attr">"threadId"</span>: <span class="hljs-string">"number"</span>, | |
6905 | <span class="hljs-attr">"inReplyToCommentId"</span>: <span class="hljs-string">"number"</span>, | |
6906 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
6907 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6908 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
6909 | <span class="hljs-attr">"totalReplies"</span>: <span class="hljs-string">"number"</span>, | |
6910 | <span class="hljs-attr">"account"</span>: { | |
6911 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
6912 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
6913 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
6914 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
6915 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
6916 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
6917 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
6918 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
6919 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6920 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
6921 | <span class="hljs-attr">"avatar"</span>: { | |
6922 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
6923 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6924 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
6925 | } | |
6926 | } | |
6927 | } | |
6928 | } | |
6929 | ] | |
6930 | } | |
6931 | ] | |
6932 | } | |
6933 | </code></pre> | |
6934 | <!-- </div> --> | |
6935 | </section> | |
6936 | </div> | |
6937 | </div> | |
6938 | </div> | |
6939 | <div id="definition-Avatar" class="definition panel" data-traverse-target="definition-Avatar"> | |
6940 | <h2 class="panel-title"> | |
6941 | <a name="/definitions/Avatar"></a>Avatar: | |
6942 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
6943 | <span class="json-property-range" title="Value limits"></span> | |
6944 | ||
6945 | ||
6946 | </span> --> | |
6947 | </h2> | |
6948 | <div class="doc-row"> | |
6949 | <div class="doc-copy"> | |
6950 | <section class="json-schema-properties"> | |
6951 | <dl> | |
6952 | <dt data-property-name="path"> | |
6953 | <span class="json-property-name">path:</span> | |
6954 | <span class="json-property-type">string</span> | |
6955 | <span class="json-property-range" title="Value limits"></span> | |
6956 | </dt> | |
6957 | <dt data-property-name="createdAt"> | |
6958 | <span class="json-property-name">createdAt:</span> | |
6959 | <span class="json-property-type">string</span> | |
6960 | <span class="json-property-range" title="Value limits"></span> | |
6961 | </dt> | |
6962 | <dt data-property-name="updatedAt"> | |
6963 | <span class="json-property-name">updatedAt:</span> | |
6964 | <span class="json-property-type">string</span> | |
6965 | <span class="json-property-range" title="Value limits"></span> | |
6966 | </dt> | |
6967 | </dl> | |
6968 | </section> | |
6969 | </div> | |
6970 | <div class="doc-examples"> | |
6971 | <section> | |
6972 | <h5>Example</h5> | |
6973 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
6974 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
6975 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
6976 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
6977 | } | |
6978 | </code></pre> | |
6979 | <!-- </div> --> | |
6980 | </section> | |
6981 | </div> | |
6982 | </div> | |
6983 | </div> | |
6984 | <div id="definition-Actor" class="definition panel" data-traverse-target="definition-Actor"> | |
6985 | <h2 class="panel-title"> | |
6986 | <a name="/definitions/Actor"></a>Actor: | |
6987 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
6988 | <span class="json-property-range" title="Value limits"></span> | |
6989 | ||
6990 | ||
6991 | </span> --> | |
6992 | </h2> | |
6993 | <div class="doc-row"> | |
6994 | <div class="doc-copy"> | |
6995 | <section class="json-schema-properties"> | |
6996 | <dl> | |
6997 | <dt data-property-name="id"> | |
6998 | <span class="json-property-name">id:</span> | |
6999 | <span class="json-property-type">number</span> | |
7000 | <span class="json-property-range" title="Value limits"></span> | |
7001 | </dt> | |
7002 | <dt data-property-name="uuid"> | |
7003 | <span class="json-property-name">uuid:</span> | |
7004 | <span class="json-property-type">string</span> | |
7005 | <span class="json-property-range" title="Value limits"></span> | |
7006 | </dt> | |
7007 | <dt data-property-name="url"> | |
7008 | <span class="json-property-name">url:</span> | |
7009 | <span class="json-property-type">string</span> | |
7010 | <span class="json-property-range" title="Value limits"></span> | |
7011 | </dt> | |
7012 | <dt data-property-name="name"> | |
7013 | <span class="json-property-name">name:</span> | |
7014 | <span class="json-property-type">string</span> | |
7015 | <span class="json-property-range" title="Value limits"></span> | |
7016 | </dt> | |
7017 | <dt data-property-name="host"> | |
7018 | <span class="json-property-name">host:</span> | |
7019 | <span class="json-property-type">string</span> | |
7020 | <span class="json-property-range" title="Value limits"></span> | |
7021 | </dt> | |
7022 | <dt data-property-name="followingCount"> | |
7023 | <span class="json-property-name">followingCount:</span> | |
7024 | <span class="json-property-type">number</span> | |
7025 | <span class="json-property-range" title="Value limits"></span> | |
7026 | </dt> | |
7027 | <dt data-property-name="followersCount"> | |
7028 | <span class="json-property-name">followersCount:</span> | |
7029 | <span class="json-property-type">number</span> | |
7030 | <span class="json-property-range" title="Value limits"></span> | |
7031 | </dt> | |
7032 | <dt data-property-name="createdAt"> | |
7033 | <span class="json-property-name">createdAt:</span> | |
7034 | <span class="json-property-type">string</span> | |
7035 | <span class="json-property-range" title="Value limits"></span> | |
7036 | </dt> | |
7037 | <dt data-property-name="updatedAt"> | |
7038 | <span class="json-property-name">updatedAt:</span> | |
7039 | <span class="json-property-type">string</span> | |
7040 | <span class="json-property-range" title="Value limits"></span> | |
7041 | </dt> | |
7042 | <dt data-property-name="avatar"> | |
7043 | <span class="json-property-name">avatar:</span> | |
7044 | <span class="json-property-type"> | |
7045 | <span class=""> | |
7046 | <a class="json-schema-ref" href="#/definitions/Avatar">Avatar</a> | |
7047 | </span> | |
7048 | </span> | |
7049 | <span class="json-property-range" title="Value limits"></span> | |
7050 | </dt> | |
7051 | </dl> | |
7052 | </section> | |
7053 | </div> | |
7054 | <div class="doc-examples"> | |
7055 | <section> | |
7056 | <h5>Example</h5> | |
7057 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
7058 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7059 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
7060 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
7061 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
7062 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
7063 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
7064 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
7065 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7066 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
7067 | <span class="hljs-attr">"avatar"</span>: { | |
7068 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
7069 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7070 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
7071 | } | |
7072 | } | |
7073 | </code></pre> | |
7074 | <!-- </div> --> | |
7075 | </section> | |
7076 | </div> | |
7077 | </div> | |
7078 | </div> | |
7079 | <div id="definition-Account" class="definition panel" data-traverse-target="definition-Account"> | |
7080 | <h2 class="panel-title"> | |
7081 | <a name="/definitions/Account"></a>Account: | |
7082 | <!-- <span class="json-property-type"><span class="json-property-type"></span> | |
7083 | <span class="json-property-range" title="Value limits"></span> | |
7084 | ||
7085 | ||
7086 | </span> --> | |
7087 | </h2> | |
7088 | <div class="doc-row"> | |
7089 | <div class="doc-copy"> | |
7090 | <section class="json-schema-allOf"> | |
7091 | <section class="json-schema-allOf-inherited"> | |
7092 | <ul> | |
7093 | <span class=""> | |
7094 | <a class="json-schema-ref" href="#/definitions/Actor">Actor</a> | |
7095 | </span> | |
7096 | </ul> | |
7097 | </section> | |
7098 | <section class="json-schema-allOf-additional"> | |
7099 | <section class="json-schema-properties"> | |
7100 | <dl> | |
7101 | <dt data-property-name="displayName"> | |
7102 | <span class="json-property-name">displayName:</span> | |
7103 | <span class="json-property-type">string</span> | |
7104 | <span class="json-property-range" title="Value limits"></span> | |
7105 | </dt> | |
7106 | </dl> | |
7107 | </section> | |
7108 | </section> | |
7109 | </section> | |
7110 | </div> | |
7111 | <div class="doc-examples"> | |
7112 | <section> | |
7113 | <h5>Example</h5> | |
7114 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
7115 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
7116 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7117 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
7118 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
7119 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
7120 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
7121 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
7122 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
7123 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7124 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
7125 | <span class="hljs-attr">"avatar"</span>: { | |
7126 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
7127 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7128 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
7129 | } | |
7130 | } | |
7131 | </code></pre> | |
7132 | <!-- </div> --> | |
7133 | </section> | |
7134 | </div> | |
7135 | </div> | |
7136 | </div> | |
7137 | <div id="definition-User" class="definition panel" data-traverse-target="definition-User"> | |
7138 | <h2 class="panel-title"> | |
7139 | <a name="/definitions/User"></a>User: | |
7140 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
7141 | <span class="json-property-range" title="Value limits"></span> | |
7142 | ||
7143 | ||
7144 | </span> --> | |
7145 | </h2> | |
7146 | <div class="doc-row"> | |
7147 | <div class="doc-copy"> | |
7148 | <section class="json-schema-properties"> | |
7149 | <dl> | |
7150 | <dt data-property-name="id"> | |
7151 | <span class="json-property-name">id:</span> | |
7152 | <span class="json-property-type">number</span> | |
7153 | <span class="json-property-range" title="Value limits"></span> | |
7154 | </dt> | |
7155 | <dt data-property-name="username"> | |
7156 | <span class="json-property-name">username:</span> | |
7157 | <span class="json-property-type">string</span> | |
7158 | <span class="json-property-range" title="Value limits"></span> | |
7159 | </dt> | |
7160 | <dt data-property-name="email"> | |
7161 | <span class="json-property-name">email:</span> | |
7162 | <span class="json-property-type">string</span> | |
7163 | <span class="json-property-range" title="Value limits"></span> | |
7164 | </dt> | |
7165 | <dt data-property-name="displayNSFW"> | |
7166 | <span class="json-property-name">displayNSFW:</span> | |
7167 | <span class="json-property-type">boolean</span> | |
7168 | <span class="json-property-range" title="Value limits"></span> | |
7169 | </dt> | |
7170 | <dt data-property-name="autoPlayVideo"> | |
7171 | <span class="json-property-name">autoPlayVideo:</span> | |
7172 | <span class="json-property-type">boolean</span> | |
7173 | <span class="json-property-range" title="Value limits"></span> | |
7174 | </dt> | |
7175 | <dt data-property-name="role"> | |
7176 | <span class="json-property-name">role:</span> | |
7177 | <span class="json-property-type">string</span> | |
7178 | <span class="json-property-enum" title="Possible values"> | |
7179 | <span class="json-property-enum-item">User</span>, | |
7180 | <span class="json-property-enum-item">Moderator</span>, | |
7181 | <span class="json-property-enum-item">Administrator</span> | |
7182 | </span> | |
7183 | <span class="json-property-range" title="Value limits"></span> | |
7184 | </dt> | |
7185 | <dt data-property-name="videoQuota"> | |
7186 | <span class="json-property-name">videoQuota:</span> | |
7187 | <span class="json-property-type">number</span> | |
7188 | <span class="json-property-range" title="Value limits"></span> | |
7189 | </dt> | |
7190 | <dt data-property-name="createdAt"> | |
7191 | <span class="json-property-name">createdAt:</span> | |
7192 | <span class="json-property-type">string</span> | |
7193 | <span class="json-property-range" title="Value limits"></span> | |
7194 | </dt> | |
7195 | <dt data-property-name="account"> | |
7196 | <span class="json-property-name">account:</span> | |
7197 | <span class="json-property-type"> | |
7198 | <span class=""> | |
7199 | <a class="json-schema-ref" href="#/definitions/Account">Account</a> | |
7200 | </span> | |
7201 | </span> | |
7202 | <span class="json-property-range" title="Value limits"></span> | |
7203 | </dt> | |
7204 | <dt data-property-name="videoChannels"> | |
7205 | <span class="json-property-name">videoChannels:</span> | |
7206 | <span class="json-property-type"> | |
7207 | <span class="json-schema-ref-array"> | |
7208 | <a class="json-schema-ref" href="#/definitions/VideoChannel">VideoChannel</a> | |
7209 | </span> | |
7210 | </span> | |
7211 | <span class="json-property-range" title="Value limits"></span> | |
7212 | </dt> | |
7213 | </dl> | |
7214 | </section> | |
7215 | </div> | |
7216 | <div class="doc-examples"> | |
7217 | <section> | |
7218 | <h5>Example</h5> | |
7219 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
7220 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7221 | <span class="hljs-attr">"username"</span>: <span class="hljs-string">"string"</span>, | |
7222 | <span class="hljs-attr">"email"</span>: <span class="hljs-string">"string"</span>, | |
7223 | <span class="hljs-attr">"displayNSFW"</span>: <span class="hljs-string">"boolean"</span>, | |
7224 | <span class="hljs-attr">"autoPlayVideo"</span>: <span class="hljs-string">"boolean"</span>, | |
7225 | <span class="hljs-attr">"role"</span>: <span class="hljs-string">"string"</span>, | |
7226 | <span class="hljs-attr">"videoQuota"</span>: <span class="hljs-string">"number"</span>, | |
7227 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7228 | <span class="hljs-attr">"account"</span>: { | |
7229 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
7230 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7231 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
7232 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
7233 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
7234 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
7235 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
7236 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
7237 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7238 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
7239 | <span class="hljs-attr">"avatar"</span>: { | |
7240 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
7241 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7242 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
7243 | } | |
7244 | }, | |
7245 | <span class="hljs-attr">"videoChannels"</span>: [ | |
7246 | { | |
7247 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
7248 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span>, | |
7249 | <span class="hljs-attr">"isLocal"</span>: <span class="hljs-string">"boolean"</span>, | |
cc918ac3 C |
7250 | <span class="hljs-attr">"ownerAccount"</span>: { |
7251 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
5e1c08eb | 7252 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span> |
cc918ac3 | 7253 | } |
5e1c08eb C |
7254 | } |
7255 | ] | |
7256 | } | |
7257 | </code></pre> | |
7258 | <!-- </div> --> | |
7259 | </section> | |
7260 | </div> | |
7261 | </div> | |
7262 | </div> | |
7263 | <div id="definition-ServerConfig" class="definition panel" data-traverse-target="definition-ServerConfig"> | |
7264 | <h2 class="panel-title"> | |
7265 | <a name="/definitions/ServerConfig"></a>ServerConfig: | |
7266 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
7267 | <span class="json-property-range" title="Value limits"></span> | |
7268 | ||
7269 | ||
7270 | </span> --> | |
7271 | </h2> | |
7272 | <div class="doc-row"> | |
7273 | <div class="doc-copy"> | |
7274 | <section class="json-schema-properties"> | |
7275 | <dl> | |
7276 | <dt data-property-name="signup"> | |
7277 | <span class="json-property-name">signup:</span> | |
7278 | <span class="json-property-type">object</span> | |
7279 | <span class="json-property-range" title="Value limits"></span> | |
7280 | </dt> | |
7281 | <dt data-property-name="transcoding"> | |
7282 | <span class="json-property-name">transcoding:</span> | |
7283 | <span class="json-property-type">object</span> | |
7284 | <span class="json-property-range" title="Value limits"></span> | |
7285 | </dt> | |
7286 | <dt data-property-name="avatar"> | |
7287 | <span class="json-property-name">avatar:</span> | |
7288 | <span class="json-property-type">object</span> | |
7289 | <span class="json-property-range" title="Value limits"></span> | |
7290 | </dt> | |
7291 | <dt data-property-name="video"> | |
7292 | <span class="json-property-name">video:</span> | |
7293 | <span class="json-property-type">object</span> | |
7294 | <span class="json-property-range" title="Value limits"></span> | |
7295 | </dt> | |
7296 | </dl> | |
7297 | </section> | |
7298 | </div> | |
7299 | <div class="doc-examples"> | |
7300 | <section> | |
7301 | <h5>Example</h5> | |
7302 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
7303 | <span class="hljs-attr">"signup"</span>: { | |
7304 | <span class="hljs-attr">"allowed"</span>: <span class="hljs-string">"boolean"</span> | |
7305 | }, | |
7306 | <span class="hljs-attr">"transcoding"</span>: { | |
7307 | <span class="hljs-attr">"enabledResolutions"</span>: [ | |
7308 | <span class="hljs-string">"number"</span> | |
7309 | ] | |
7310 | }, | |
7311 | <span class="hljs-attr">"avatar"</span>: { | |
7312 | <span class="hljs-attr">"file"</span>: { | |
7313 | <span class="hljs-attr">"size"</span>: { | |
7314 | <span class="hljs-attr">"max"</span>: <span class="hljs-string">"number"</span> | |
7315 | } | |
7316 | }, | |
7317 | <span class="hljs-attr">"extensions"</span>: [ | |
7318 | <span class="hljs-string">"string"</span> | |
7319 | ] | |
7320 | }, | |
7321 | <span class="hljs-attr">"video"</span>: { | |
7322 | <span class="hljs-attr">"file"</span>: { | |
7323 | <span class="hljs-attr">"extensions"</span>: [ | |
7324 | <span class="hljs-string">"string"</span> | |
7325 | ] | |
7326 | } | |
7327 | } | |
7328 | } | |
7329 | </code></pre> | |
7330 | <!-- </div> --> | |
7331 | </section> | |
7332 | </div> | |
7333 | </div> | |
7334 | </div> | |
7335 | <div id="definition-Follow" class="definition panel" data-traverse-target="definition-Follow"> | |
7336 | <h2 class="panel-title"> | |
7337 | <a name="/definitions/Follow"></a>Follow: | |
7338 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
7339 | <span class="json-property-range" title="Value limits"></span> | |
7340 | ||
7341 | ||
7342 | </span> --> | |
7343 | </h2> | |
7344 | <div class="doc-row"> | |
7345 | <div class="doc-copy"> | |
7346 | <section class="json-schema-properties"> | |
7347 | <dl> | |
7348 | <dt data-property-name="id"> | |
7349 | <span class="json-property-name">id:</span> | |
7350 | <span class="json-property-type">number</span> | |
7351 | <span class="json-property-range" title="Value limits"></span> | |
7352 | </dt> | |
7353 | <dt data-property-name="follower"> | |
7354 | <span class="json-property-name">follower:</span> | |
7355 | <span class="json-property-type"> | |
7356 | <span class=""> | |
7357 | <a class="json-schema-ref" href="#/definitions/Actor">Actor</a> | |
7358 | </span> | |
7359 | </span> | |
7360 | <span class="json-property-range" title="Value limits"></span> | |
7361 | </dt> | |
7362 | <dt data-property-name="following"> | |
7363 | <span class="json-property-name">following:</span> | |
7364 | <span class="json-property-type"> | |
7365 | <span class=""> | |
7366 | <a class="json-schema-ref" href="#/definitions/Actor">Actor</a> | |
7367 | </span> | |
7368 | </span> | |
7369 | <span class="json-property-range" title="Value limits"></span> | |
7370 | </dt> | |
7371 | <dt data-property-name="score"> | |
7372 | <span class="json-property-name">score:</span> | |
7373 | <span class="json-property-type">number</span> | |
7374 | <span class="json-property-range" title="Value limits"></span> | |
7375 | </dt> | |
7376 | <dt data-property-name="state"> | |
7377 | <span class="json-property-name">state:</span> | |
7378 | <span class="json-property-type">string</span> | |
7379 | <span class="json-property-enum" title="Possible values"> | |
7380 | <span class="json-property-enum-item">pending</span>, | |
7381 | <span class="json-property-enum-item">accepted</span> | |
7382 | </span> | |
7383 | <span class="json-property-range" title="Value limits"></span> | |
7384 | </dt> | |
7385 | <dt data-property-name="createdAt"> | |
7386 | <span class="json-property-name">createdAt:</span> | |
7387 | <span class="json-property-type">string</span> | |
7388 | <span class="json-property-range" title="Value limits"></span> | |
7389 | </dt> | |
7390 | <dt data-property-name="updatedAt"> | |
7391 | <span class="json-property-name">updatedAt:</span> | |
7392 | <span class="json-property-type">string</span> | |
7393 | <span class="json-property-range" title="Value limits"></span> | |
7394 | </dt> | |
7395 | </dl> | |
7396 | </section> | |
7397 | </div> | |
7398 | <div class="doc-examples"> | |
7399 | <section> | |
7400 | <h5>Example</h5> | |
7401 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
7402 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7403 | <span class="hljs-attr">"follower"</span>: { | |
7404 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7405 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
7406 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
7407 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
7408 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
7409 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
7410 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
7411 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7412 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
7413 | <span class="hljs-attr">"avatar"</span>: { | |
7414 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
7415 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7416 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
7417 | } | |
7418 | }, | |
7419 | <span class="hljs-attr">"following"</span>: { | |
7420 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7421 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
7422 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
7423 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
7424 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
7425 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
7426 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
7427 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7428 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
7429 | <span class="hljs-attr">"avatar"</span>: { | |
7430 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
7431 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7432 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
7433 | } | |
7434 | }, | |
7435 | <span class="hljs-attr">"score"</span>: <span class="hljs-string">"number"</span>, | |
7436 | <span class="hljs-attr">"state"</span>: <span class="hljs-string">"string"</span>, | |
7437 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7438 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
7439 | } | |
7440 | </code></pre> | |
7441 | <!-- </div> --> | |
7442 | </section> | |
7443 | </div> | |
7444 | </div> | |
7445 | </div> | |
7446 | <div id="definition-Job" class="definition panel" data-traverse-target="definition-Job"> | |
7447 | <h2 class="panel-title"> | |
7448 | <a name="/definitions/Job"></a>Job: | |
7449 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
7450 | <span class="json-property-range" title="Value limits"></span> | |
7451 | ||
7452 | ||
7453 | </span> --> | |
7454 | </h2> | |
7455 | <div class="doc-row"> | |
7456 | <div class="doc-copy"> | |
7457 | <section class="json-schema-properties"> | |
7458 | <dl> | |
7459 | <dt data-property-name="id"> | |
7460 | <span class="json-property-name">id:</span> | |
7461 | <span class="json-property-type">number</span> | |
7462 | <span class="json-property-range" title="Value limits"></span> | |
7463 | </dt> | |
7464 | <dt data-property-name="state"> | |
7465 | <span class="json-property-name">state:</span> | |
7466 | <span class="json-property-type">string</span> | |
7467 | <span class="json-property-enum" title="Possible values"> | |
7468 | <span class="json-property-enum-item">pending</span>, | |
7469 | <span class="json-property-enum-item">processing</span>, | |
7470 | <span class="json-property-enum-item">error</span>, | |
7471 | <span class="json-property-enum-item">success</span> | |
7472 | </span> | |
7473 | <span class="json-property-range" title="Value limits"></span> | |
7474 | </dt> | |
7475 | <dt data-property-name="category"> | |
7476 | <span class="json-property-name">category:</span> | |
7477 | <span class="json-property-type">string</span> | |
7478 | <span class="json-property-enum" title="Possible values"> | |
7479 | <span class="json-property-enum-item">transcoding</span>, | |
7480 | <span class="json-property-enum-item">activitypub-http</span> | |
7481 | </span> | |
7482 | <span class="json-property-range" title="Value limits"></span> | |
7483 | </dt> | |
7484 | <dt data-property-name="handlerName"> | |
7485 | <span class="json-property-name">handlerName:</span> | |
7486 | <span class="json-property-type">string</span> | |
7487 | <span class="json-property-range" title="Value limits"></span> | |
7488 | </dt> | |
7489 | <dt data-property-name="handlerInputData"> | |
7490 | <span class="json-property-name">handlerInputData:</span> | |
7491 | <span class="json-property-type">string</span> | |
7492 | <span class="json-property-range" title="Value limits"></span> | |
7493 | </dt> | |
7494 | <dt data-property-name="createdAt"> | |
7495 | <span class="json-property-name">createdAt:</span> | |
7496 | <span class="json-property-type">string</span> | |
7497 | <span class="json-property-range" title="Value limits"></span> | |
7498 | </dt> | |
7499 | <dt data-property-name="updatedAt"> | |
7500 | <span class="json-property-name">updatedAt:</span> | |
7501 | <span class="json-property-type">string</span> | |
7502 | <span class="json-property-range" title="Value limits"></span> | |
7503 | </dt> | |
7504 | </dl> | |
7505 | </section> | |
7506 | </div> | |
7507 | <div class="doc-examples"> | |
7508 | <section> | |
7509 | <h5>Example</h5> | |
7510 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
7511 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7512 | <span class="hljs-attr">"state"</span>: <span class="hljs-string">"string"</span>, | |
7513 | <span class="hljs-attr">"category"</span>: <span class="hljs-string">"string"</span>, | |
7514 | <span class="hljs-attr">"handlerName"</span>: <span class="hljs-string">"string"</span>, | |
7515 | <span class="hljs-attr">"handlerInputData"</span>: <span class="hljs-string">"string"</span>, | |
7516 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7517 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
7518 | } | |
7519 | </code></pre> | |
7520 | <!-- </div> --> | |
7521 | </section> | |
7522 | </div> | |
7523 | </div> | |
7524 | </div> | |
7525 | <div id="definition-AddUserResponse" class="definition panel" data-traverse-target="definition-AddUserResponse"> | |
7526 | <h2 class="panel-title"> | |
7527 | <a name="/definitions/AddUserResponse"></a>AddUserResponse: | |
7528 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
7529 | <span class="json-property-range" title="Value limits"></span> | |
7530 | ||
7531 | ||
7532 | </span> --> | |
7533 | </h2> | |
7534 | <div class="doc-row"> | |
7535 | <div class="doc-copy"> | |
7536 | <section class="json-schema-properties"> | |
7537 | <dl> | |
7538 | <dt data-property-name="id"> | |
7539 | <span class="json-property-name">id:</span> | |
7540 | <span class="json-property-type">number</span> | |
7541 | <span class="json-property-range" title="Value limits"></span> | |
7542 | </dt> | |
7543 | <dt data-property-name="uuid"> | |
7544 | <span class="json-property-name">uuid:</span> | |
7545 | <span class="json-property-type">string</span> | |
7546 | <span class="json-property-range" title="Value limits"></span> | |
7547 | </dt> | |
7548 | </dl> | |
7549 | </section> | |
7550 | </div> | |
7551 | <div class="doc-examples"> | |
7552 | <section> | |
7553 | <h5>Example</h5> | |
7554 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
7555 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7556 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span> | |
7557 | } | |
7558 | </code></pre> | |
7559 | <!-- </div> --> | |
7560 | </section> | |
7561 | </div> | |
7562 | </div> | |
7563 | </div> | |
7564 | <div id="definition-VideoUploadResponse" class="definition panel" data-traverse-target="definition-VideoUploadResponse"> | |
7565 | <h2 class="panel-title"> | |
7566 | <a name="/definitions/VideoUploadResponse"></a>VideoUploadResponse: | |
7567 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
7568 | <span class="json-property-range" title="Value limits"></span> | |
7569 | ||
7570 | ||
7571 | </span> --> | |
7572 | </h2> | |
7573 | <div class="doc-row"> | |
7574 | <div class="doc-copy"> | |
7575 | <section class="json-schema-properties"> | |
7576 | <dl> | |
61b66b36 C |
7577 | <dt data-property-name="video"> |
7578 | <span class="json-property-name">video:</span> | |
7579 | <span class="json-property-type">object</span> | |
5e1c08eb C |
7580 | <span class="json-property-range" title="Value limits"></span> |
7581 | </dt> | |
7582 | </dl> | |
7583 | </section> | |
7584 | </div> | |
7585 | <div class="doc-examples"> | |
7586 | <section> | |
7587 | <h5>Example</h5> | |
7588 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
61b66b36 C |
7589 | <span class="hljs-attr">"video"</span>: { |
7590 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7591 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span> | |
7592 | } | |
5e1c08eb | 7593 | } |
ab0ee6a1 C |
7594 | </code></pre> |
7595 | <!-- </div> --> | |
7596 | </section> | |
7597 | </div> | |
7598 | </div> | |
7599 | </div> | |
7600 | <div id="definition-CommentThreadResponse" class="definition panel" data-traverse-target="definition-CommentThreadResponse"> | |
7601 | <h2 class="panel-title"> | |
7602 | <a name="/definitions/CommentThreadResponse"></a>CommentThreadResponse: | |
7603 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
7604 | <span class="json-property-range" title="Value limits"></span> | |
7605 | ||
7606 | ||
7607 | </span> --> | |
7608 | </h2> | |
7609 | <div class="doc-row"> | |
7610 | <div class="doc-copy"> | |
7611 | <section class="json-schema-properties"> | |
7612 | <dl> | |
7613 | <dt data-property-name="total"> | |
7614 | <span class="json-property-name">total:</span> | |
7615 | <span class="json-property-type">number</span> | |
7616 | <span class="json-property-range" title="Value limits"></span> | |
7617 | </dt> | |
7618 | <dt data-property-name="data"> | |
7619 | <span class="json-property-name">data:</span> | |
7620 | <span class="json-property-type"> | |
7621 | <span class="json-schema-ref-array"> | |
7622 | <a class="json-schema-ref" href="#/definitions/VideoComment">VideoComment</a> | |
7623 | </span> | |
7624 | </span> | |
7625 | <span class="json-property-range" title="Value limits"></span> | |
7626 | </dt> | |
7627 | </dl> | |
7628 | </section> | |
7629 | </div> | |
7630 | <div class="doc-examples"> | |
7631 | <section> | |
7632 | <h5>Example</h5> | |
7633 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
7634 | <span class="hljs-attr">"total"</span>: <span class="hljs-string">"number"</span>, | |
7635 | <span class="hljs-attr">"data"</span>: [ | |
7636 | { | |
7637 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7638 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
7639 | <span class="hljs-attr">"text"</span>: <span class="hljs-string">"string"</span>, | |
7640 | <span class="hljs-attr">"threadId"</span>: <span class="hljs-string">"number"</span>, | |
7641 | <span class="hljs-attr">"inReplyToCommentId"</span>: <span class="hljs-string">"number"</span>, | |
7642 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
7643 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7644 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
7645 | <span class="hljs-attr">"totalReplies"</span>: <span class="hljs-string">"number"</span>, | |
7646 | <span class="hljs-attr">"account"</span>: { | |
7647 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
7648 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7649 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
7650 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
7651 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
7652 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
7653 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
7654 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
7655 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7656 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
7657 | <span class="hljs-attr">"avatar"</span>: { | |
7658 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
7659 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7660 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
7661 | } | |
7662 | } | |
7663 | } | |
7664 | ] | |
7665 | } | |
7666 | </code></pre> | |
7667 | <!-- </div> --> | |
7668 | </section> | |
7669 | </div> | |
7670 | </div> | |
7671 | </div> | |
7672 | <div id="definition-CommentThreadPostResponse" class="definition panel" data-traverse-target="definition-CommentThreadPostResponse"> | |
7673 | <h2 class="panel-title"> | |
7674 | <a name="/definitions/CommentThreadPostResponse"></a>CommentThreadPostResponse: | |
7675 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
7676 | <span class="json-property-range" title="Value limits"></span> | |
7677 | ||
7678 | ||
7679 | </span> --> | |
7680 | </h2> | |
7681 | <div class="doc-row"> | |
7682 | <div class="doc-copy"> | |
7683 | <section class="json-schema-properties"> | |
7684 | <dl> | |
7685 | <dt data-property-name="comment"> | |
7686 | <span class="json-property-name">comment:</span> | |
7687 | <span class="json-property-type"> | |
7688 | <span class=""> | |
7689 | <a class="json-schema-ref" href="#/definitions/VideoComment">VideoComment</a> | |
7690 | </span> | |
7691 | </span> | |
7692 | <span class="json-property-range" title="Value limits"></span> | |
7693 | </dt> | |
7694 | </dl> | |
7695 | </section> | |
7696 | </div> | |
7697 | <div class="doc-examples"> | |
7698 | <section> | |
7699 | <h5>Example</h5> | |
7700 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
7701 | <span class="hljs-attr">"comment"</span>: { | |
7702 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7703 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
7704 | <span class="hljs-attr">"text"</span>: <span class="hljs-string">"string"</span>, | |
7705 | <span class="hljs-attr">"threadId"</span>: <span class="hljs-string">"number"</span>, | |
7706 | <span class="hljs-attr">"inReplyToCommentId"</span>: <span class="hljs-string">"number"</span>, | |
7707 | <span class="hljs-attr">"videoId"</span>: <span class="hljs-string">"number"</span>, | |
7708 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7709 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
7710 | <span class="hljs-attr">"totalReplies"</span>: <span class="hljs-string">"number"</span>, | |
7711 | <span class="hljs-attr">"account"</span>: { | |
7712 | <span class="hljs-attr">"displayName"</span>: <span class="hljs-string">"string"</span>, | |
7713 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"number"</span>, | |
7714 | <span class="hljs-attr">"uuid"</span>: <span class="hljs-string">"string"</span>, | |
7715 | <span class="hljs-attr">"url"</span>: <span class="hljs-string">"string"</span>, | |
7716 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
7717 | <span class="hljs-attr">"host"</span>: <span class="hljs-string">"string"</span>, | |
7718 | <span class="hljs-attr">"followingCount"</span>: <span class="hljs-string">"number"</span>, | |
7719 | <span class="hljs-attr">"followersCount"</span>: <span class="hljs-string">"number"</span>, | |
7720 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7721 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span>, | |
7722 | <span class="hljs-attr">"avatar"</span>: { | |
7723 | <span class="hljs-attr">"path"</span>: <span class="hljs-string">"string"</span>, | |
7724 | <span class="hljs-attr">"createdAt"</span>: <span class="hljs-string">"string"</span>, | |
7725 | <span class="hljs-attr">"updatedAt"</span>: <span class="hljs-string">"string"</span> | |
7726 | } | |
7727 | } | |
7728 | } | |
7729 | } | |
5e1c08eb C |
7730 | </code></pre> |
7731 | <!-- </div> --> | |
7732 | </section> | |
7733 | </div> | |
7734 | </div> | |
7735 | </div> | |
7736 | <div id="definition-AddUser" class="definition panel" data-traverse-target="definition-AddUser"> | |
7737 | <h2 class="panel-title"> | |
7738 | <a name="/definitions/AddUser"></a>AddUser: | |
7739 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
7740 | <span class="json-property-range" title="Value limits"></span> | |
7741 | ||
7742 | ||
7743 | </span> --> | |
7744 | </h2> | |
7745 | <div class="doc-row"> | |
7746 | <div class="doc-copy"> | |
7747 | <section class="json-schema-properties"> | |
7748 | <dl> | |
7749 | <dt data-property-name="username" class="has-description"> | |
7750 | <span class="json-property-name">username:</span> | |
7751 | <span class="json-property-type">string</span> | |
7752 | <span class="json-property-range" title="Value limits"></span> | |
7753 | <span class="json-property-required"></span> | |
7754 | </dt> | |
7755 | <dd> | |
7756 | <p>The user username </p> | |
7757 | </dd> | |
7758 | <dt data-property-name="password" class="has-description"> | |
7759 | <span class="json-property-name">password:</span> | |
7760 | <span class="json-property-type">string</span> | |
7761 | <span class="json-property-range" title="Value limits"></span> | |
7762 | <span class="json-property-required"></span> | |
7763 | </dt> | |
7764 | <dd> | |
7765 | <p>The user password </p> | |
7766 | </dd> | |
7767 | <dt data-property-name="email" class="has-description"> | |
7768 | <span class="json-property-name">email:</span> | |
7769 | <span class="json-property-type">string</span> | |
7770 | <span class="json-property-range" title="Value limits"></span> | |
7771 | <span class="json-property-required"></span> | |
7772 | </dt> | |
7773 | <dd> | |
7774 | <p>The user email </p> | |
7775 | </dd> | |
7776 | <dt data-property-name="videoQuota" class="has-description"> | |
7777 | <span class="json-property-name">videoQuota:</span> | |
7778 | <span class="json-property-type">string</span> | |
7779 | <span class="json-property-range" title="Value limits"></span> | |
7780 | <span class="json-property-required"></span> | |
7781 | </dt> | |
7782 | <dd> | |
7783 | <p>The user videoQuota </p> | |
7784 | </dd> | |
7785 | <dt data-property-name="role" class="has-description"> | |
7786 | <span class="json-property-name">role:</span> | |
7787 | <span class="json-property-type">string</span> | |
7788 | <span class="json-property-range" title="Value limits"></span> | |
7789 | <span class="json-property-required"></span> | |
7790 | </dt> | |
7791 | <dd> | |
7792 | <p>The user role </p> | |
7793 | </dd> | |
7794 | </dl> | |
7795 | </section> | |
7796 | </div> | |
7797 | <div class="doc-examples"> | |
7798 | <section> | |
7799 | <h5>Example</h5> | |
7800 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
7801 | <span class="hljs-attr">"username"</span>: <span class="hljs-string">"string"</span>, | |
7802 | <span class="hljs-attr">"password"</span>: <span class="hljs-string">"string"</span>, | |
7803 | <span class="hljs-attr">"email"</span>: <span class="hljs-string">"string"</span>, | |
7804 | <span class="hljs-attr">"videoQuota"</span>: <span class="hljs-string">"string"</span>, | |
7805 | <span class="hljs-attr">"role"</span>: <span class="hljs-string">"string"</span> | |
7806 | } | |
7807 | </code></pre> | |
7808 | <!-- </div> --> | |
7809 | </section> | |
7810 | </div> | |
7811 | </div> | |
7812 | </div> | |
7813 | <div id="definition-UpdateUser" class="definition panel" data-traverse-target="definition-UpdateUser"> | |
7814 | <h2 class="panel-title"> | |
7815 | <a name="/definitions/UpdateUser"></a>UpdateUser: | |
7816 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
7817 | <span class="json-property-range" title="Value limits"></span> | |
7818 | ||
7819 | ||
7820 | </span> --> | |
7821 | </h2> | |
7822 | <div class="doc-row"> | |
7823 | <div class="doc-copy"> | |
7824 | <section class="json-schema-properties"> | |
7825 | <dl> | |
7826 | <dt data-property-name="id" class="has-description"> | |
7827 | <span class="json-property-name">id:</span> | |
7828 | <span class="json-property-type">string</span> | |
7829 | <span class="json-property-range" title="Value limits"></span> | |
7830 | <span class="json-property-required"></span> | |
7831 | </dt> | |
7832 | <dd> | |
7833 | <p>The user id </p> | |
7834 | </dd> | |
7835 | <dt data-property-name="email" class="has-description"> | |
7836 | <span class="json-property-name">email:</span> | |
7837 | <span class="json-property-type">string</span> | |
7838 | <span class="json-property-range" title="Value limits"></span> | |
7839 | <span class="json-property-required"></span> | |
7840 | </dt> | |
7841 | <dd> | |
7842 | <p>The updated email of the user </p> | |
7843 | </dd> | |
7844 | <dt data-property-name="videoQuota" class="has-description"> | |
7845 | <span class="json-property-name">videoQuota:</span> | |
7846 | <span class="json-property-type">string</span> | |
7847 | <span class="json-property-range" title="Value limits"></span> | |
7848 | <span class="json-property-required"></span> | |
7849 | </dt> | |
7850 | <dd> | |
7851 | <p>The updated videoQuota of the user </p> | |
7852 | </dd> | |
7853 | <dt data-property-name="role" class="has-description"> | |
7854 | <span class="json-property-name">role:</span> | |
7855 | <span class="json-property-type">string</span> | |
7856 | <span class="json-property-range" title="Value limits"></span> | |
7857 | <span class="json-property-required"></span> | |
7858 | </dt> | |
7859 | <dd> | |
7860 | <p>The updated role of the user </p> | |
7861 | </dd> | |
7862 | </dl> | |
7863 | </section> | |
7864 | </div> | |
7865 | <div class="doc-examples"> | |
7866 | <section> | |
7867 | <h5>Example</h5> | |
7868 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
7869 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"string"</span>, | |
7870 | <span class="hljs-attr">"email"</span>: <span class="hljs-string">"string"</span>, | |
7871 | <span class="hljs-attr">"videoQuota"</span>: <span class="hljs-string">"string"</span>, | |
7872 | <span class="hljs-attr">"role"</span>: <span class="hljs-string">"string"</span> | |
7873 | } | |
7874 | </code></pre> | |
7875 | <!-- </div> --> | |
7876 | </section> | |
7877 | </div> | |
7878 | </div> | |
7879 | </div> | |
7880 | <div id="definition-UpdateMe" class="definition panel" data-traverse-target="definition-UpdateMe"> | |
7881 | <h2 class="panel-title"> | |
7882 | <a name="/definitions/UpdateMe"></a>UpdateMe: | |
7883 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
7884 | <span class="json-property-range" title="Value limits"></span> | |
7885 | ||
7886 | ||
7887 | </span> --> | |
7888 | </h2> | |
7889 | <div class="doc-row"> | |
7890 | <div class="doc-copy"> | |
7891 | <section class="json-schema-properties"> | |
7892 | <dl> | |
7893 | <dt data-property-name="password" class="has-description"> | |
7894 | <span class="json-property-name">password:</span> | |
7895 | <span class="json-property-type">string</span> | |
7896 | <span class="json-property-range" title="Value limits"></span> | |
7897 | <span class="json-property-required"></span> | |
7898 | </dt> | |
7899 | <dd> | |
7900 | <p>Your new password </p> | |
7901 | </dd> | |
7902 | <dt data-property-name="email" class="has-description"> | |
7903 | <span class="json-property-name">email:</span> | |
7904 | <span class="json-property-type">string</span> | |
7905 | <span class="json-property-range" title="Value limits"></span> | |
7906 | <span class="json-property-required"></span> | |
7907 | </dt> | |
7908 | <dd> | |
7909 | <p>Your new email </p> | |
7910 | </dd> | |
7911 | <dt data-property-name="displayNSFW" class="has-description"> | |
7912 | <span class="json-property-name">displayNSFW:</span> | |
7913 | <span class="json-property-type">string</span> | |
7914 | <span class="json-property-range" title="Value limits"></span> | |
7915 | <span class="json-property-required"></span> | |
7916 | </dt> | |
7917 | <dd> | |
7918 | <p>Your new displayNSFW </p> | |
7919 | </dd> | |
7920 | <dt data-property-name="autoPlayVideo" class="has-description"> | |
7921 | <span class="json-property-name">autoPlayVideo:</span> | |
7922 | <span class="json-property-type">string</span> | |
7923 | <span class="json-property-range" title="Value limits"></span> | |
7924 | <span class="json-property-required"></span> | |
7925 | </dt> | |
7926 | <dd> | |
7927 | <p>Your new autoPlayVideo </p> | |
7928 | </dd> | |
7929 | </dl> | |
7930 | </section> | |
7931 | </div> | |
7932 | <div class="doc-examples"> | |
7933 | <section> | |
7934 | <h5>Example</h5> | |
7935 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
7936 | <span class="hljs-attr">"password"</span>: <span class="hljs-string">"string"</span>, | |
7937 | <span class="hljs-attr">"email"</span>: <span class="hljs-string">"string"</span>, | |
7938 | <span class="hljs-attr">"displayNSFW"</span>: <span class="hljs-string">"string"</span>, | |
7939 | <span class="hljs-attr">"autoPlayVideo"</span>: <span class="hljs-string">"string"</span> | |
7940 | } | |
7941 | </code></pre> | |
7942 | <!-- </div> --> | |
7943 | </section> | |
7944 | </div> | |
7945 | </div> | |
7946 | </div> | |
7947 | <div id="definition-GetMeVideoRating" class="definition panel" data-traverse-target="definition-GetMeVideoRating"> | |
7948 | <h2 class="panel-title"> | |
7949 | <a name="/definitions/GetMeVideoRating"></a>GetMeVideoRating: | |
7950 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
7951 | <span class="json-property-range" title="Value limits"></span> | |
7952 | ||
7953 | ||
7954 | </span> --> | |
7955 | </h2> | |
7956 | <div class="doc-row"> | |
7957 | <div class="doc-copy"> | |
7958 | <section class="json-schema-properties"> | |
7959 | <dl> | |
7960 | <dt data-property-name="id" class="has-description"> | |
7961 | <span class="json-property-name">id:</span> | |
7962 | <span class="json-property-type">string</span> | |
7963 | <span class="json-property-range" title="Value limits"></span> | |
7964 | <span class="json-property-required"></span> | |
7965 | </dt> | |
7966 | <dd> | |
7967 | <p>Id of the video </p> | |
7968 | </dd> | |
7969 | <dt data-property-name="rating" class="has-description"> | |
7970 | <span class="json-property-name">rating:</span> | |
7971 | <span class="json-property-type">number</span> | |
7972 | <span class="json-property-range" title="Value limits"></span> | |
7973 | <span class="json-property-required"></span> | |
7974 | </dt> | |
7975 | <dd> | |
7976 | <p>Rating of the video </p> | |
7977 | </dd> | |
7978 | </dl> | |
7979 | </section> | |
7980 | </div> | |
7981 | <div class="doc-examples"> | |
7982 | <section> | |
7983 | <h5>Example</h5> | |
7984 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
7985 | <span class="hljs-attr">"id"</span>: <span class="hljs-string">"string"</span>, | |
7986 | <span class="hljs-attr">"rating"</span>: <span class="hljs-string">"number"</span> | |
7987 | } | |
7988 | </code></pre> | |
7989 | <!-- </div> --> | |
7990 | </section> | |
7991 | </div> | |
7992 | </div> | |
7993 | </div> | |
7994 | <div id="definition-RegisterUser" class="definition panel" data-traverse-target="definition-RegisterUser"> | |
7995 | <h2 class="panel-title"> | |
7996 | <a name="/definitions/RegisterUser"></a>RegisterUser: | |
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 username of the user </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 password of the user </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 email of the user </p> | |
8033 | </dd> | |
8034 | </dl> | |
8035 | </section> | |
8036 | </div> | |
8037 | <div class="doc-examples"> | |
8038 | <section> | |
8039 | <h5>Example</h5> | |
8040 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
8041 | <span class="hljs-attr">"username"</span>: <span class="hljs-string">"string"</span>, | |
8042 | <span class="hljs-attr">"password"</span>: <span class="hljs-string">"string"</span>, | |
8043 | <span class="hljs-attr">"email"</span>: <span class="hljs-string">"string"</span> | |
8044 | } | |
8045 | </code></pre> | |
8046 | <!-- </div> --> | |
8047 | </section> | |
8048 | </div> | |
8049 | </div> | |
8050 | </div> | |
8051 | <div id="definition-VideoChannelInput" class="definition panel" data-traverse-target="definition-VideoChannelInput"> | |
8052 | <h2 class="panel-title"> | |
8053 | <a name="/definitions/VideoChannelInput"></a>VideoChannelInput: | |
8054 | <!-- <span class="json-property-type"><span class="json-property-type">object</span> | |
8055 | <span class="json-property-range" title="Value limits"></span> | |
8056 | ||
8057 | ||
8058 | </span> --> | |
8059 | </h2> | |
8060 | <div class="doc-row"> | |
8061 | <div class="doc-copy"> | |
8062 | <section class="json-schema-properties"> | |
8063 | <dl> | |
8064 | <dt data-property-name="name"> | |
8065 | <span class="json-property-name">name:</span> | |
8066 | <span class="json-property-type">string</span> | |
8067 | <span class="json-property-range" title="Value limits"></span> | |
8068 | </dt> | |
8069 | <dt data-property-name="description"> | |
8070 | <span class="json-property-name">description:</span> | |
8071 | <span class="json-property-type">string</span> | |
8072 | <span class="json-property-range" title="Value limits"></span> | |
8073 | </dt> | |
8074 | </dl> | |
8075 | </section> | |
8076 | </div> | |
8077 | <div class="doc-examples"> | |
8078 | <section> | |
8079 | <h5>Example</h5> | |
8080 | <!-- <div class="hljs"> --><pre><code class="hljs lang-json">{ | |
8081 | <span class="hljs-attr">"name"</span>: <span class="hljs-string">"string"</span>, | |
8082 | <span class="hljs-attr">"description"</span>: <span class="hljs-string">"string"</span> | |
8083 | } | |
8084 | </code></pre> | |
8085 | <!-- </div> --> | |
8086 | </section> | |
8087 | </div> | |
8088 | </div> | |
8089 | </div> | |
8090 | <div class="doc-row no-margin"> | |
8091 | <div class="doc-copy doc-separator"> | |
8092 | <a class="powered-by" href="https://sourcey.com/spectacle">Documentation by | |
8093 | <span>Spectacle</span> | |
8094 | </a> | |
8095 | </div> | |
8096 | </div> | |
8097 | </article> | |
8098 | </div> | |
8099 | </div> | |
8100 | </body> | |
8101 | </html> |