6 name: PeerTube Community
7 url: 'https://joinpeertube.org'
10 url: 'https://github.com/Chocobozzz/PeerTube/blob/master/LICENSE'
12 url: 'https://joinpeertube.org/img/brand.png'
13 altText: PeerTube Project Homepage
16 The PeerTube API is built on HTTP(S). Our API is RESTful. It has predictable
17 resource URLs. It returns HTTP response codes to indicate errors. It also
18 accepts and returns JSON in the HTTP body. You can use your favorite
19 HTTP/REST library for your programming language to use PeerTube. No official
20 SDK is currently provided, but the spec API is fully compatible with
21 [openapi-generator](https://github.com/OpenAPITools/openapi-generator/wiki/API-client-generator-HOWTO)
22 which generates a client SDK in the language of your choice.
25 When you sign up for an account, you are given the possibility to generate
26 sessions, and authenticate using this session token. One session token can
27 currently be used at a time.
30 The API uses standard HTTP status codes to indicate the success or failure
31 of the API call. The body of the response will be JSON in the following
36 "code": "unauthorized_request", // example inner error code
37 "error": "Token is invalid." // example exposed error message
41 url: https://docs.joinpeertube.org/api-rest-reference.html
45 Using some features of PeerTube require authentication, for which Accounts
46 provide different levels of permission as well as associated user
47 information. Accounts also encompass remote accounts discovered across the federation.
50 Each server exposes public information regarding supported videos and
54 Jobs are long-running tasks enqueued and processed by the instance
55 itself. No additional worker registration is currently available.
56 - name: Server Following
58 Managing servers which the instance interacts with is crucial to the
59 concept of federation in PeerTube and external video indexation. The PeerTube
60 server then deals with inter-server ActivityPub operations and propagates
61 information across its social graph by posting activities to actors' inbox
65 Video abuses deal with reports of local or remote videos alike.
68 Operations dealing with listing, uploading, fetching or modifying videos.
71 The search helps to find _videos_ from within the instance and beyond.
72 Videos from other instances federated by the instance (that is, instances
73 followed by the instance) can be found via keywords and other criteria of
77 Operations dealing with comments to a video. Comments are organized in
81 Operations dealing with creation, modification and video listing of a
83 - name: Video Blacklist
85 Operations dealing with blacklisting videos (removing them from view and
86 preventing interactions).
108 - name: Instance Configuration
123 summary: Get the account by name
125 - $ref: '#/components/parameters/name'
128 description: successful operation
132 $ref: '#/components/schemas/Account'
133 '/accounts/{name}/videos':
138 summary: 'Get videos for an account, provided the name of that account'
140 - $ref: '#/components/parameters/name'
143 description: successful operation
147 $ref: '#/components/schemas/VideoListResponse'
151 fetch('https://peertube2.cpy.re/api/v1/accounts/{name}/videos')
152 .then(function(response) {
153 return response.json()
154 }).then(function(data) {
160 http -b GET https://peertube2.cpy.re/api/v1/accounts/{name}/videos
166 uri = URI.parse("https://peertube2.cpy.re/api/v1/accounts/{name}/videos")
168 http = Net::HTTP.new(uri.host, uri.port)
171 response = http.get(uri.request_uri)
173 puts JSON.parse(response.read_body)
178 r = requests.get("https://peertube2.cpy.re/api/v1//accounts/{name}/videos")
186 summary: Get all accounts
188 - $ref: '#/components/parameters/start'
189 - $ref: '#/components/parameters/count'
190 - $ref: '#/components/parameters/sort'
193 description: successful operation
199 $ref: '#/components/schemas/Account'
204 summary: Get the public configuration of the server
207 description: successful operation
211 $ref: '#/components/schemas/ServerConfig'
214 summary: Get the instance about page content
219 description: successful operation
223 $ref: '#/components/schemas/ServerConfigAbout'
226 summary: Get the runtime configuration of the server
234 description: successful operation
238 $ref: '#/components/schemas/ServerConfigCustom'
240 summary: Set the runtime configuration of the server
248 description: successful operation
250 summary: Delete the runtime configuration of the server
258 description: successful operation
261 summary: Get list of jobs
271 description: The state of the job
280 - $ref: '#/components/parameters/start'
281 - $ref: '#/components/parameters/count'
282 - $ref: '#/components/parameters/sort'
285 description: successful operation
291 $ref: '#/components/schemas/Job'
292 '/server/following/{host}':
299 summary: Unfollow a server by hostname
304 description: 'The host to unfollow '
309 description: successful operation
314 summary: Get followers of the server
316 - $ref: '#/components/parameters/start'
317 - $ref: '#/components/parameters/count'
318 - $ref: '#/components/parameters/sort'
321 description: successful operation
327 $ref: '#/components/schemas/Follow'
332 summary: Get servers followed by the server
334 - $ref: '#/components/parameters/start'
335 - $ref: '#/components/parameters/count'
336 - $ref: '#/components/parameters/sort'
339 description: successful operation
345 $ref: '#/components/schemas/Follow'
352 summary: Follow a server
355 $ref: '#/paths/~1users~1me/put/responses/204'
360 $ref: '#/components/schemas/Follow'
363 summary: Creates user
371 description: successful operation
375 $ref: '#/components/schemas/AddUserResponse'
380 $ref: '#/components/schemas/AddUser'
381 description: User to create
384 summary: Get a list of users
390 - $ref: '#/components/parameters/start'
391 - $ref: '#/components/parameters/count'
392 - $ref: '#/components/parameters/usersSort'
395 description: successful operation
401 $ref: '#/components/schemas/User'
404 summary: Delete a user by its id
411 - $ref: '#/components/parameters/id'
414 $ref: '#/paths/~1users~1me/put/responses/204'
416 summary: Get user by its id
422 - $ref: '#/components/parameters/id'
425 description: successful operation
429 $ref: '#/components/schemas/User'
431 summary: Update user profile by its id
437 - $ref: '#/components/parameters/id'
440 $ref: '#/paths/~1users~1me/put/responses/204'
445 $ref: '#/components/schemas/UpdateUser'
449 summary: Register a user
454 $ref: '#/paths/~1users~1me/put/responses/204'
459 $ref: '#/components/schemas/RegisterUser'
463 summary: Get current user information
471 description: successful operation
477 $ref: '#/components/schemas/User'
479 summary: Update current user information
487 description: successful operation
492 $ref: '#/components/schemas/UpdateMe'
494 /users/me/videos/imports:
496 summary: Get video imports of current user
503 - $ref: '#/components/parameters/start'
504 - $ref: '#/components/parameters/count'
505 - $ref: '#/components/parameters/sort'
508 description: successful operation
512 $ref: '#/components/schemas/VideoImport'
513 /users/me/video-quota-used:
515 summary: Get current user used quota
523 description: successful operation
528 '/users/me/videos/{videoId}/rating':
530 summary: 'Get rating of video by its id, among those of the current user'
539 description: 'The video id '
544 description: successful operation
548 $ref: '#/components/schemas/GetMeVideoRating'
551 summary: Get videos of the current user
558 - $ref: '#/components/parameters/start'
559 - $ref: '#/components/parameters/count'
560 - $ref: '#/components/parameters/sort'
563 description: successful operation
567 $ref: '#/components/schemas/VideoListResponse'
568 /users/me/subscriptions:
570 summary: Get subscriptions of the current user
577 - $ref: '#/components/parameters/start'
578 - $ref: '#/components/parameters/count'
579 - $ref: '#/components/parameters/sort'
582 description: successful operation
584 summary: Add subscription to the current user
592 description: successful operation
593 /users/me/subscriptions/exist:
595 summary: Get if subscriptions exist for the current user
602 - $ref: '#/components/parameters/subscriptionsUris'
605 description: successful operation
610 /users/me/subscriptions/videos:
612 summary: Get videos of subscriptions of the current user
619 - $ref: '#/components/parameters/start'
620 - $ref: '#/components/parameters/count'
621 - $ref: '#/components/parameters/sort'
624 description: successful operation
628 $ref: '#/components/schemas/VideoListResponse'
629 '/users/me/subscriptions/{subscriptionHandle}':
631 summary: Get subscription of the current user for a given uri
638 - $ref: '#/components/parameters/subscriptionHandle'
641 description: successful operation
645 $ref: '#/components/schemas/VideoChannel'
647 summary: Delete subscription of the current user for a given uri
654 - $ref: '#/components/parameters/subscriptionHandle'
657 description: successful operation
658 /users/me/avatar/pick:
660 summary: Update current user avatar
667 description: successful operation
671 $ref: '#/components/schemas/Avatar'
679 description: The file to upload.
684 contentType: image/png, image/jpeg
687 summary: Get list of videos
691 - $ref: '#/components/parameters/categoryOneOf'
692 - $ref: '#/components/parameters/tagsOneOf'
693 - $ref: '#/components/parameters/tagsAllOf'
694 - $ref: '#/components/parameters/licenceOneOf'
695 - $ref: '#/components/parameters/languageOneOf'
696 - $ref: '#/components/parameters/nsfw'
697 - $ref: '#/components/parameters/filter'
698 - $ref: '#/components/parameters/start'
699 - $ref: '#/components/parameters/count'
700 - $ref: '#/components/parameters/videosSort'
703 description: successful operation
707 $ref: '#/components/schemas/VideoListResponse'
710 summary: Get list of video categories known by the server
715 description: successful operation
724 summary: Get list of video licences known by the server
729 description: successful operation
738 summary: Get list of languages known by the server
743 description: successful operation
752 summary: Get list of privacy policies supported by the server
757 description: successful operation
766 summary: Update metadata for a video by its id
772 - $ref: '#/components/parameters/idOrUUID'
775 description: successful operation
783 description: Video thumbnail file
787 description: Video preview file
791 description: Video category
794 description: Video licence
797 description: Video language
800 description: Video description
803 description: Whether or not we wait transcoding before publish the video
806 description: Text describing how to support the video uploader
809 description: Whether or not this video contains sensitive content
812 description: Video name
815 description: Video tags (maximum 5 tags each between 2 and 30 characters)
824 description: Enable or disable comments for this video
826 originallyPublishedAt:
827 description: Date when the content was originally published
831 $ref: '#/components/schemas/VideoScheduledUpdate'
834 contentType: image/jpeg
836 contentType: image/jpeg
838 summary: Get a video by its id
842 - $ref: '#/components/parameters/idOrUUID'
845 description: successful operation
849 $ref: '#/components/schemas/VideoDetails'
851 summary: Delete a video by its id
857 - $ref: '#/components/parameters/idOrUUID'
860 $ref: '#/paths/~1users~1me/put/responses/204'
861 '/videos/{id}/description':
863 summary: Get a video description by its id
867 - $ref: '#/components/parameters/idOrUUID'
870 description: successful operation
875 '/videos/{id}/views':
877 summary: Add a view to the video by its id
881 - $ref: '#/components/parameters/idOrUUID'
884 $ref: '#/paths/~1users~1me/put/responses/204'
885 '/videos/{id}/watching':
887 summary: Set watching progress of a video by its id for a user
893 - $ref: '#/components/parameters/idOrUUID'
898 $ref: '#/components/schemas/UserWatchingVideo'
902 $ref: '#/paths/~1users~1me/put/responses/204'
905 summary: Get list of video ownership changes requests
912 description: successful operation
913 '/videos/ownership/{id}/accept':
915 summary: Refuse ownership change request for video by its id
921 - $ref: '#/components/parameters/idOrUUID'
924 $ref: '#/paths/~1users~1me/put/responses/204'
925 '/videos/ownership/{id}/refuse':
927 summary: Accept ownership change request for video by its id
933 - $ref: '#/components/parameters/idOrUUID'
936 $ref: '#/paths/~1users~1me/put/responses/204'
937 '/videos/{id}/give-ownership':
939 summary: Request change of ownership for a video you own, by its id
945 - $ref: '#/components/parameters/idOrUUID'
949 application/x-www-form-urlencoded:
959 $ref: '#/paths/~1users~1me/put/responses/204'
961 description: 'Changing video ownership to a remote account is not supported yet'
964 summary: Upload a video file with its metadata
971 description: successful operation
975 $ref: '#/components/schemas/VideoUploadResponse'
983 description: Video file
987 description: Channel id that will contain this video
990 description: Video thumbnail file
994 description: Video preview file
998 $ref: '#/components/schemas/VideoPrivacySet'
1000 description: Video category
1003 description: Video licence
1006 description: Video language
1009 description: Video description
1012 description: Whether or not we wait transcoding before publish the video
1015 description: Text describing how to support the video uploader
1018 description: Whether or not this video contains sensitive content
1021 description: Video name
1024 description: Video tags (maximum 5 tags each between 2 and 30 characters)
1033 description: Enable or disable comments for this video
1035 originallyPublishedAt:
1036 description: Date when the content was originally published
1040 $ref: '#/components/schemas/VideoScheduledUpdate'
1047 contentType: video/mp4, video/webm, video/ogg, video/avi, video/quicktime, video/x-msvideo, video/x-flv, video/x-matroska, application/octet-stream
1049 contentType: image/jpeg
1051 contentType: image/jpeg
1055 ## DEPENDENCIES: httpie, jq
1056 # pip install httpie
1057 USERNAME="<your_username>"
1058 PASSWORD="<your_password>"
1059 FILE_PATH="<your_file_path>"
1060 CHANNEL_ID="<your_channel_id>"
1063 API_PATH="https://peertube2.cpy.re/api/v1"
1065 client_id=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_id")
1066 client_secret=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_secret")
1067 token=$(http -b --form POST "$API_PATH/users/token" \
1068 client_id="$client_id" client_secret="$client_secret" grant_type=password response_type=code \
1069 username=$USERNAME \
1070 password=$PASSWORD \
1071 | jq -r ".access_token")
1073 http -b --form POST "$API_PATH/videos/upload" \
1074 videofile@$FILE_PATH \
1075 channelId=$CHANNEL_ID \
1077 "Authorization:Bearer $token"
1080 summary: Import a torrent or magnetURI or HTTP resource (if enabled by the instance administrator)
1087 description: successful operation
1091 $ref: '#/components/schemas/VideoUploadResponse'
1094 multipart/form-data:
1099 description: Torrent File
1103 description: HTTP target URL
1106 description: Magnet URI
1109 description: Channel id that will contain this video
1112 description: Video thumbnail file
1116 description: Video preview file
1120 $ref: '#/components/schemas/VideoPrivacySet'
1122 description: Video category
1125 description: Video licence
1128 description: Video language
1131 description: Video description
1134 description: Whether or not we wait transcoding before publish the video
1137 description: Text describing how to support the video uploader
1140 description: Whether or not this video contains sensitive content
1143 description: Video name
1146 description: Video tags (maximum 5 tags each between 2 and 30 characters)
1155 description: Enable or disable comments for this video
1158 $ref: '#/components/schemas/VideoScheduledUpdate'
1164 contentType: application/x-bittorrent
1166 contentType: image/jpeg
1168 contentType: image/jpeg
1171 summary: Get list of reported video abuses
1177 - $ref: '#/components/parameters/start'
1178 - $ref: '#/components/parameters/count'
1179 - $ref: '#/components/parameters/abusesSort'
1182 description: successful operation
1188 $ref: '#/components/schemas/VideoAbuse'
1189 '/videos/{id}/abuse':
1191 summary: 'Report an abuse, on a video by its id'
1197 - $ref: '#/components/parameters/idOrUUID'
1200 $ref: '#/paths/~1users~1me/put/responses/204'
1201 '/videos/{id}/blacklist':
1203 summary: Put on blacklist a video by its id
1211 - $ref: '#/components/parameters/idOrUUID'
1214 $ref: '#/paths/~1users~1me/put/responses/204'
1216 summary: Delete an entry of the blacklist of a video by its id
1224 - $ref: '#/components/parameters/idOrUUID'
1227 $ref: '#/paths/~1users~1me/put/responses/204'
1230 summary: Get list of videos on blacklist
1238 - $ref: '#/components/parameters/start'
1239 - $ref: '#/components/parameters/count'
1240 - $ref: '#/components/parameters/blacklistsSort'
1243 description: successful operation
1249 $ref: '#/components/schemas/VideoBlacklist'
1250 /videos/{id}/captions:
1252 summary: Get list of video's captions
1256 - $ref: '#/components/parameters/idOrUUID'
1259 description: successful operation
1270 $ref: '#/components/schemas/VideoCaption'
1271 /videos/{id}/captions/{captionLanguage}:
1273 summary: Add or replace a video caption
1277 - $ref: '#/components/parameters/idOrUUID'
1278 - $ref: '#/components/parameters/captionLanguage'
1281 multipart/form-data:
1286 description: The file to upload.
1291 contentType: text/vtt, application/x-subrip
1294 $ref: '#/paths/~1users~1me/put/responses/204'
1296 summary: Delete a video caption
1300 - $ref: '#/components/parameters/idOrUUID'
1301 - $ref: '#/components/parameters/captionLanguage'
1304 $ref: '#/paths/~1users~1me/put/responses/204'
1307 summary: Get list of video channels
1311 - $ref: '#/components/parameters/start'
1312 - $ref: '#/components/parameters/count'
1313 - $ref: '#/components/parameters/sort'
1316 description: successful operation
1322 $ref: '#/components/schemas/VideoChannel'
1324 summary: Creates a video channel for the current user
1331 $ref: '#/paths/~1users~1me/put/responses/204'
1336 $ref: '#/components/schemas/VideoChannelCreate'
1337 '/video-channels/{channelHandle}':
1339 summary: Get a video channel by its id
1343 - $ref: '#/components/parameters/channelHandle'
1346 description: successful operation
1350 $ref: '#/components/schemas/VideoChannel'
1352 summary: Update a video channel by its id
1358 - $ref: '#/components/parameters/channelHandle'
1361 $ref: '#/paths/~1users~1me/put/responses/204'
1366 $ref: '#/components/schemas/VideoChannelUpdate'
1368 summary: Delete a video channel by its id
1374 - $ref: '#/components/parameters/channelHandle'
1377 $ref: '#/paths/~1users~1me/put/responses/204'
1378 '/video-channels/{channelHandle}/videos':
1380 summary: Get videos of a video channel by its id
1385 - $ref: '#/components/parameters/channelHandle'
1388 description: successful operation
1392 $ref: '#/components/schemas/VideoListResponse'
1393 '/accounts/{name}/video-channels':
1395 summary: Get video channels of an account by its name
1399 - $ref: '#/components/parameters/name'
1402 description: successful operation
1408 $ref: '#/components/schemas/VideoChannel'
1409 '/accounts/{name}/ratings':
1411 summary: Get ratings of an account by its name
1417 - $ref: '#/components/parameters/name'
1418 - $ref: '#/components/parameters/start'
1419 - $ref: '#/components/parameters/count'
1420 - $ref: '#/components/parameters/sort'
1424 description: Optionally filter which ratings to retrieve
1432 description: successful operation
1438 $ref: '#/components/schemas/VideoRating'
1439 '/videos/{id}/comment-threads':
1441 summary: Get the comment threads of a video by its id
1445 - $ref: '#/components/parameters/idOrUUID'
1446 - $ref: '#/components/parameters/start'
1447 - $ref: '#/components/parameters/count'
1448 - $ref: '#/components/parameters/sort'
1451 description: successful operation
1455 $ref: '#/components/schemas/CommentThreadResponse'
1457 summary: 'Creates a comment thread, on a video by its id'
1463 - $ref: '#/components/parameters/idOrUUID'
1466 description: successful operation
1470 $ref: '#/components/schemas/CommentThreadPostResponse'
1471 '/videos/{id}/comment-threads/{threadId}':
1473 summary: 'Get the comment thread by its id, of a video by its id'
1477 - $ref: '#/components/parameters/idOrUUID'
1478 - $ref: '#/components/parameters/threadId'
1481 description: successful operation
1485 $ref: '#/components/schemas/VideoCommentThreadTree'
1486 '/videos/{id}/comments/{commentId}':
1488 summary: 'Creates a comment in a comment thread by its id, of a video by its id'
1494 - $ref: '#/components/parameters/idOrUUID'
1495 - $ref: '#/components/parameters/commentId'
1498 description: successful operation
1502 $ref: '#/components/schemas/CommentThreadPostResponse'
1504 summary: 'Delete a comment in a comment thread by its id, of a video by its id'
1510 - $ref: '#/components/parameters/idOrUUID'
1511 - $ref: '#/components/parameters/commentId'
1514 $ref: '#/paths/~1users~1me/put/responses/204'
1515 '/videos/{id}/rate':
1517 summary: Vote for a video by its id
1523 - $ref: '#/components/parameters/idOrUUID'
1526 $ref: '#/paths/~1users~1me/put/responses/204'
1531 summary: Get the videos corresponding to a given query
1533 - $ref: '#/components/parameters/start'
1534 - $ref: '#/components/parameters/count'
1535 - $ref: '#/components/parameters/videosSearchSort'
1539 description: String to search
1544 description: successful operation
1548 $ref: '#/components/schemas/VideoListResponse'
1550 - url: 'https://peertube.cpy.re/api/v1'
1551 description: Live Test Server (live data - stable version)
1552 - url: 'https://peertube2.cpy.re/api/v1'
1553 description: Live Test Server (live data - bleeding edge version)
1554 - url: 'https://peertube3.cpy.re/api/v1'
1555 description: Live Test Server (live data - bleeding edge version)
1569 description: Number of items
1576 description: Sort column (-createdAt for example)
1583 description: Sort videos by criteria
1598 description: Sort videos by criteria
1613 description: Sort blacklists by criteria
1629 description: Sort users by criteria
1640 description: Sort abuses by criteria
1652 The name of the account (chocobozzz or chocobozzz@peertube.cpy.re for
1660 description: The user id
1667 description: The video id or uuid
1671 name: captionLanguage
1674 description: The caption language
1681 description: "The video channel handle (example: 'my_username@example.com' or 'my_username')"
1685 name: subscriptionHandle
1688 description: "The subscription handle (example: 'my_username@example.com' or 'my_username')"
1695 description: The thread id (root comment id)
1702 description: The comment id
1709 description: category id of the video
1722 description: tag(s) of the video
1735 description: tag(s) of the video, where all should be present in the video
1748 description: language id of the video
1761 description: licence id of the video
1774 description: whether to include nsfw videos, if any
1785 Special filters (local for instance) which might require special rights:
1786 * `local` - only videos local to the instance
1787 * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
1797 description: list of uris to check if each is part of the user subscriptions
1805 In the header: *Authorization: Bearer <token\>*
1808 Authenticating via OAuth requires the following steps:
1811 - Have an account with sufficient authorization levels
1813 - [Generate](https://docs.joinpeertube.org/#/api-rest-getting-started) a
1816 - Make Authenticated Requests
1820 tokenUrl: 'https://peertube.example.com/api/v1/users/token'
1823 moderator: Moderator scope
1826 VideoConstantNumber:
1832 VideoConstantString:
1844 description: 'The video privacy (Public = 1, Unlisted = 2, Private = 3)'
1845 VideoPrivacyConstant:
1863 description: 'The video state (Published = 1, to transcode = 2, to import = 3)'
1866 VideoResolutionConstant:
1870 description: 'Video resolution (240, 360, 720 ...)'
1873 VideoScheduledUpdate:
1876 $ref: '#/components/schemas/VideoPrivacySet'
1877 description: Video privacy target
1881 description: When to update the video
1884 VideoAccountSummary:
1898 $ref: '#/components/schemas/Avatar'
1899 VideoChannelSummary:
1913 $ref: '#/components/schemas/Avatar'
1924 $ref: '#/components/schemas/Video'
1930 $ref: '#/components/schemas/VideoResolutionConstant'
1933 description: 'Video file size in bytes'
1944 VideoStreamingPlaylists:
1952 description: 'Playlist type (HLS = 1)'
1976 originallyPublishedAt:
1979 $ref: '#/components/schemas/VideoConstantNumber'
1981 $ref: '#/components/schemas/VideoConstantNumber'
1983 $ref: '#/components/schemas/VideoConstantString'
1985 $ref: '#/components/schemas/VideoPrivacyConstant'
2012 $ref: '#/components/schemas/VideoStateConstant'
2015 $ref: '#/components/schemas/VideoScheduledUpdate'
2023 $ref: '#/components/schemas/VideoAccountSummary'
2025 $ref: '#/components/schemas/VideoChannelSummary'
2034 - $ref: '#/components/schemas/Video'
2042 $ref: '#/components/schemas/VideoChannel'
2044 $ref: '#/components/schemas/Account'
2052 $ref: '#/components/schemas/VideoFile'
2064 $ref: '#/components/schemas/VideoStreamingPlaylists'
2065 VideoImportStateConstant:
2073 description: 'The video import state (Pending = 1, Success = 2, Failed = 3)'
2090 $ref: '#/components/schemas/VideoImportStateConstant'
2100 $ref: '#/components/schemas/Video'
2108 $ref: '#/components/schemas/Account'
2184 $ref: '#/components/schemas/Account'
2185 VideoCommentThreadTree:
2188 $ref: '#/components/schemas/VideoComment'
2192 $ref: '#/components/schemas/VideoCommentThreadTree'
2196 $ref: '#/components/schemas/VideoConstantString'
2226 $ref: '#/components/schemas/Avatar'
2229 - $ref: '#/components/schemas/Actor'
2255 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2269 $ref: '#/components/schemas/Account'
2273 $ref: '#/components/schemas/VideoChannel'
2333 allowedForCurrentIP:
2335 requiresEmailVerification:
2522 requiresEmailVerification:
2546 allowAdditionalExtensions:
2614 $ref: '#/components/schemas/Actor'
2616 $ref: '#/components/schemas/Actor'
2658 VideoUploadResponse:
2667 CommentThreadResponse:
2674 $ref: '#/components/schemas/VideoComment'
2675 CommentThreadPostResponse:
2678 $ref: '#/components/schemas/VideoComment'
2686 $ref: '#/components/schemas/Video'
2691 description: 'The user username '
2694 description: 'The user password '
2697 description: 'The user email '
2700 description: 'The user videoQuota '
2703 description: 'The user daily video quota '
2710 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2722 description: 'The user id '
2725 description: 'The updated email of the user '
2728 description: 'The updated videoQuota of the user '
2731 description: 'The updated daily video quota of the user '
2738 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2749 description: 'Your new password '
2752 description: 'Your new email '
2755 description: 'Your new displayNSFW '
2758 description: 'Your new autoPlayVideo '
2768 description: 'Id of the video '
2771 description: 'Rating of the video '
2778 $ref: '#/components/schemas/Video'
2781 description: 'Rating of the video'
2789 description: 'The username of the user '
2792 description: 'The password of the user '
2795 description: 'The email of the user '
2798 description: 'The user display name'
2804 description: 'The default channel name'
2807 description: 'The default channel display name'
2834 bulkVideosSupportUpdate:
2836 description: 'Update all videos support field of this channel'