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 Feeds of videos and feeds of comments allow to see updates and get them in
55 an aggregator or script of your choice.
58 Jobs are long-running tasks enqueued and processed by the instance
59 itself. No additional worker registration is currently available.
60 - name: Server Following
62 Managing servers which the instance interacts with is crucial to the
63 concept of federation in PeerTube and external video indexation. The PeerTube
64 server then deals with inter-server ActivityPub operations and propagates
65 information across its social graph by posting activities to actors' inbox
69 Video abuses deal with reports of local or remote videos alike.
72 Operations dealing with listing, uploading, fetching or modifying videos.
75 The search helps to find _videos_ from within the instance and beyond.
76 Videos from other instances federated by the instance (that is, instances
77 followed by the instance) can be found via keywords and other criteria of
81 Operations dealing with comments to a video. Comments are organized in
85 Operations dealing with creation, modification and video listing of a
87 - name: Video Blacklist
89 Operations dealing with blacklisting videos (removing them from view and
90 preventing interactions).
111 - name: Instance Configuration
115 - name: Notifications
129 summary: Get the account by name
131 - $ref: '#/components/parameters/name'
132 - $ref: '#/components/parameters/start'
133 - $ref: '#/components/parameters/count'
134 - $ref: '#/components/parameters/sort'
137 description: successful operation
141 $ref: '#/components/schemas/Account'
142 '/accounts/{name}/videos':
147 summary: 'Get videos for an account, provided the name of that account'
149 - $ref: '#/components/parameters/name'
152 description: successful operation
156 $ref: '#/components/schemas/VideoListResponse'
160 fetch('https://peertube2.cpy.re/api/v1/accounts/{name}/videos')
161 .then(function(response) {
162 return response.json()
163 }).then(function(data) {
169 http -b GET https://peertube2.cpy.re/api/v1/accounts/{name}/videos
175 url = URI("https://peertube2.cpy.re/api/v1/accounts/{name}/videos")
177 http = Net::HTTP.new(url.host, url.port)
179 http.verify_mode = OpenSSL::SSL::VERIFY_NONE
181 request = Net::HTTP::Post.new(url)
182 request["content-type"] = 'application/json'
183 response = http.request(request)
184 puts response.read_body
189 conn = http.client.HTTPSConnection("https://peertube2.cpy.re/api/v1")
192 'content-type': "application/json"
195 conn.request("POST", "/accounts/{name}/videos", None, headers)
197 res = conn.getresponse()
200 print(data.decode("utf-8"))
205 summary: Get all accounts
208 description: successful operation
214 $ref: '#/components/schemas/Account'
219 summary: Get the public configuration of the server
222 description: successful operation
226 $ref: '#/components/schemas/ServerConfig'
229 summary: Get the instance about page content
234 description: successful operation
237 summary: Get the runtime configuration of the server
245 description: successful operation
247 summary: Set the runtime configuration of the server
255 description: successful operation
257 summary: Delete the runtime configuration of the server
265 description: successful operation
266 '/feeds/videos.{format}':
269 Get the feed of videos for the server, with optional filter by account
278 The format expected (xml defaults to RSS 2.0, atom to ATOM 1.0 and
279 json to JSON FEED 1.0
291 The id of the local account to filter to (beware, users IDs and not
292 actors IDs which will return empty feeds
298 description: The name of the local account to filter to
303 description: successful operation
306 summary: Get list of jobs
316 description: The state of the job
325 - $ref: '#/components/parameters/start'
326 - $ref: '#/components/parameters/count'
327 - $ref: '#/components/parameters/sort'
330 description: successful operation
336 $ref: '#/components/schemas/Job'
337 '/server/following/{host}':
344 summary: Unfollow a server by hostname
349 description: 'The host to unfollow '
354 description: successful operation
359 summary: Get followers of the server
361 - $ref: '#/components/parameters/start'
362 - $ref: '#/components/parameters/count'
363 - $ref: '#/components/parameters/sort'
366 description: successful operation
372 $ref: '#/components/schemas/Follow'
377 summary: Get servers followed by the server
379 - $ref: '#/components/parameters/start'
380 - $ref: '#/components/parameters/count'
381 - $ref: '#/components/parameters/sort'
384 description: successful operation
390 $ref: '#/components/schemas/Follow'
397 summary: Follow a server
400 $ref: '#/paths/~1users~1me/put/responses/204'
405 $ref: '#/components/schemas/Follow'
408 summary: Creates user
416 description: successful operation
420 $ref: '#/components/schemas/AddUserResponse'
425 $ref: '#/components/schemas/AddUser'
426 description: User to create
429 summary: Get a list of users
435 - $ref: '#/components/parameters/start'
436 - $ref: '#/components/parameters/count'
437 - $ref: '#/components/parameters/usersSort'
440 description: successful operation
446 $ref: '#/components/schemas/User'
449 summary: Delete a user by its id
456 - $ref: '#/components/parameters/id'
459 $ref: '#/paths/~1users~1me/put/responses/204'
461 summary: Get user by its id
467 - $ref: '#/components/parameters/id'
470 description: successful operation
474 $ref: '#/components/schemas/User'
476 summary: Update user profile by its id
482 - $ref: '#/components/parameters/id'
485 $ref: '#/paths/~1users~1me/put/responses/204'
490 $ref: '#/components/schemas/UpdateUser'
494 summary: Get current user information
502 description: successful operation
508 $ref: '#/components/schemas/User'
510 summary: Update current user information
518 description: Successful operation
523 $ref: '#/components/schemas/UpdateMe'
525 /users/me/video-quota-used:
527 summary: Get current user used quota
535 description: successful operation
540 '/users/me/videos/{videoId}/rating':
542 summary: 'Get rating of video by its id, among those of the current user'
551 description: 'The video id '
556 description: successful operation
560 $ref: '#/components/schemas/GetMeVideoRating'
563 summary: Get videos of the current user
570 - $ref: '#/components/parameters/start'
571 - $ref: '#/components/parameters/count'
572 - $ref: '#/components/parameters/sort'
575 description: successful operation
579 $ref: '#/components/schemas/VideoListResponse'
580 /users/me/subscriptions:
582 summary: Get subscriptions of the current user
589 - $ref: '#/components/parameters/start'
590 - $ref: '#/components/parameters/count'
591 - $ref: '#/components/parameters/sort'
594 description: successful operation
596 summary: Add subscription to the current user
604 description: successful operation
605 /users/me/subscriptions/exist:
607 summary: Get if subscriptions exist for the current user
614 - $ref: '#/components/parameters/subscriptionsUris'
617 description: successful operation
622 /users/me/subscriptions/videos:
624 summary: Get videos of subscriptions of the current user
631 - $ref: '#/components/parameters/start'
632 - $ref: '#/components/parameters/count'
633 - $ref: '#/components/parameters/sort'
636 description: successful operation
640 $ref: '#/components/schemas/VideoListResponse'
641 '/users/me/subscriptions/{uri}':
643 summary: Get subscription of the current user for a given uri
651 description: successful operation
655 $ref: '#/components/schemas/VideoChannel'
657 summary: Delete subscription of the current user for a given uri
665 description: successful operation
668 summary: Register a user
673 $ref: '#/paths/~1users~1me/put/responses/204'
678 $ref: '#/components/schemas/RegisterUser'
680 /users/me/avatar/pick:
682 summary: Update current user avatar
689 description: successful operation
693 $ref: '#/components/schemas/Avatar'
701 description: The file to upload.
706 # only accept png/jpeg
707 contentType: image/png, image/jpeg
710 summary: Get list of videos
714 - $ref: '#/components/parameters/categoryOneOf'
715 - $ref: '#/components/parameters/tagsOneOf'
716 - $ref: '#/components/parameters/tagsAllOf'
717 - $ref: '#/components/parameters/licenceOneOf'
718 - $ref: '#/components/parameters/languageOneOf'
719 - $ref: '#/components/parameters/nsfw'
720 - $ref: '#/components/parameters/filter'
721 - $ref: '#/components/parameters/start'
722 - $ref: '#/components/parameters/count'
723 - $ref: '#/components/parameters/videosSort'
726 description: successful operation
730 $ref: '#/components/schemas/VideoListResponse'
733 summary: Get list of video licences known by the server
738 description: successful operation
747 summary: Get list of video licences known by the server
752 description: successful operation
761 summary: Get list of languages known by the server
766 description: successful operation
775 summary: Get list of privacy policies supported by the server
780 description: successful operation
789 summary: Update metadata for a video by its id
795 - $ref: '#/components/parameters/id2'
798 description: successful operation
802 $ref: '#/components/schemas/Video'
810 description: Video thumbnail file
813 description: Video preview file
816 description: Video category
819 description: Video licence
822 description: Video language
825 description: Video description
828 description: Whether or not we wait transcoding before publish the video
831 description: Text describing how to support the video uploader
834 description: Whether or not this video contains sensitive content
837 description: Video name
840 description: Video tags (maximum 5 tags each between 2 and 30 characters)
845 description: Enable or disable comments for this video
848 $ref: '#/components/schemas/VideoScheduledUpdate'
850 summary: Get a video by its id
854 - $ref: '#/components/parameters/id2'
857 description: successful operation
861 $ref: '#/components/schemas/VideoDetails'
863 summary: Delete a video by its id
869 - $ref: '#/components/parameters/id2'
872 $ref: '#/paths/~1users~1me/put/responses/204'
873 '/videos/{id}/description':
875 summary: Get a video description by its id
879 - $ref: '#/components/parameters/id2'
882 description: successful operation
887 '/videos/{id}/views':
889 summary: Add a view to the video by its id
893 - $ref: '#/components/parameters/id2'
896 $ref: '#/paths/~1users~1me/put/responses/204'
897 '/videos/{id}/watching':
899 summary: Set watching progress of a video by its id for a user
905 - $ref: '#/components/parameters/id2'
910 $ref: '#/components/schemas/UserWatchingVideo'
914 $ref: '#/paths/~1users~1me/put/responses/204'
917 summary: Get list of video ownership changes requests
923 - $ref: '#/components/parameters/id2'
926 description: successful operation
927 '/videos/ownership/{id}/accept':
929 summary: Refuse ownership change request for video by its id
935 - $ref: '#/components/parameters/id2'
938 $ref: '#/paths/~1users~1me/put/responses/204'
939 '/videos/ownership/{id}/refuse':
941 summary: Accept ownership change request for video by its id
947 - $ref: '#/components/parameters/id2'
950 $ref: '#/paths/~1users~1me/put/responses/204'
951 '/videos/{id}/give-ownership':
953 summary: Request change of ownership for a video you own, by its id
959 - $ref: '#/components/parameters/id2'
963 application/x-www-form-urlencoded:
973 $ref: '#/paths/~1users~1me/put/responses/204'
975 description: 'Changing video ownership to a remote account is not supported yet'
978 summary: Upload a video file with its metadata
985 description: successful operation
989 $ref: '#/components/schemas/VideoUploadResponse'
997 description: Video file
1001 description: Channel id that will contain this video
1004 description: Video thumbnail file
1007 description: Video preview file
1010 $ref: '#/components/schemas/VideoPrivacySet'
1012 description: Video category
1015 description: Video licence
1018 description: Video language
1021 description: Video description
1024 description: Whether or not we wait transcoding before publish the video
1027 description: Text describing how to support the video uploader
1030 description: Whether or not this video contains sensitive content
1033 description: Video name
1036 description: Video tags
1041 description: Enable or disable comments for this video
1044 $ref: '#/components/schemas/VideoScheduledUpdate'
1052 ## DEPENDENCIES: httpie, jq
1053 # pip install httpie
1054 USERNAME="<your_username>"
1055 PASSWORD="<your_password>"
1056 FILE_PATH="<your_file_path>"
1057 CHANNEL_ID="<your_channel_id>"
1060 API_PATH="https://peertube2.cpy.re/api/v1"
1062 client_id=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_id")
1063 client_secret=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_secret")
1064 token=$(http -b --form POST "$API_PATH/users/token" \
1065 client_id="$client_id" client_secret="$client_secret" grant_type=password response_type=code \
1066 username=$USERNAME \
1067 password=$PASSWORD \
1068 | jq -r ".access_token")
1070 http -b --form POST "$API_PATH/videos/upload" \
1071 videofile@$FILE_PATH \
1072 channelId=$CHANNEL_ID \
1074 "Authorization:Bearer $token"
1077 summary: Import a torrent or magnetURI or HTTP ressource (if enabled by the instance administrator)
1084 description: successful operation
1088 $ref: '#/components/schemas/VideoUploadResponse'
1091 multipart/form-data:
1096 description: Torrent File
1100 description: HTTP target URL
1103 description: Magnet URI
1106 description: Channel id that will contain this video
1109 description: Video thumbnail file
1112 description: Video preview file
1115 $ref: '#/components/schemas/VideoPrivacySet'
1117 description: Video category
1120 description: Video licence
1123 description: Video language
1126 description: Video description
1129 description: Whether or not we wait transcoding before publish the video
1132 description: Text describing how to support the video uploader
1135 description: Whether or not this video contains sensitive content
1138 description: Video name
1141 description: Video tags
1146 description: Enable or disable comments for this video
1149 $ref: '#/components/schemas/VideoScheduledUpdate'
1155 summary: Get list of reported video abuses
1161 - $ref: '#/components/parameters/start'
1162 - $ref: '#/components/parameters/count'
1163 - $ref: '#/components/parameters/abusesSort'
1166 description: successful operation
1172 $ref: '#/components/schemas/VideoAbuse'
1173 '/videos/{id}/abuse':
1175 summary: 'Report an abuse, on a video by its id'
1181 - $ref: '#/components/parameters/id2'
1184 $ref: '#/paths/~1users~1me/put/responses/204'
1185 '/videos/{id}/blacklist':
1187 summary: Put on blacklist a video by its id
1195 - $ref: '#/components/parameters/id2'
1198 $ref: '#/paths/~1users~1me/put/responses/204'
1200 summary: Delete an entry of the blacklist of a video by its id
1208 - $ref: '#/components/parameters/id2'
1211 $ref: '#/paths/~1users~1me/put/responses/204'
1214 summary: Get list of videos on blacklist
1222 - $ref: '#/components/parameters/start'
1223 - $ref: '#/components/parameters/count'
1224 - $ref: '#/components/parameters/blacklistsSort'
1227 description: successful operation
1233 $ref: '#/components/schemas/VideoBlacklist'
1234 /videos/{id}/captions:
1236 summary: Get list of video's captions
1240 - $ref: '#/components/parameters/id2'
1243 description: successful operation
1254 $ref: '#/components/schemas/VideoCaption'
1255 /videos/{id}/captions/{captionLanguage}:
1257 summary: Add or replace a video caption
1261 - $ref: '#/components/parameters/id2'
1262 - $ref: '#/components/parameters/captionLanguage'
1265 multipart/form-data:
1270 description: The file to upload.
1275 $ref: '#/paths/~1users~1me/put/responses/204'
1277 summary: Delete a video caption
1281 - $ref: '#/components/parameters/id2'
1282 - $ref: '#/components/parameters/captionLanguage'
1285 $ref: '#/paths/~1users~1me/put/responses/204'
1288 summary: Get list of video channels
1292 - $ref: '#/components/parameters/start'
1293 - $ref: '#/components/parameters/count'
1294 - $ref: '#/components/parameters/sort'
1297 description: successful operation
1303 $ref: '#/components/schemas/VideoChannel'
1305 summary: Creates a video channel for the current user
1312 $ref: '#/paths/~1users~1me/put/responses/204'
1317 $ref: '#/components/schemas/VideoChannelCreate'
1318 '/video-channels/{channelHandle}':
1320 summary: Get a video channel by its id
1324 - $ref: '#/components/parameters/channelHandle'
1327 description: successful operation
1331 $ref: '#/components/schemas/VideoChannel'
1333 summary: Update a video channel by its id
1339 - $ref: '#/components/parameters/channelHandle'
1342 $ref: '#/paths/~1users~1me/put/responses/204'
1347 $ref: '#/components/schemas/VideoChannelUpdate'
1349 summary: Delete a video channel by its id
1355 - $ref: '#/components/parameters/channelHandle'
1358 $ref: '#/paths/~1users~1me/put/responses/204'
1359 '/video-channels/{channelHandle}/videos':
1361 summary: Get videos of a video channel by its id
1366 - $ref: '#/components/parameters/channelHandle'
1369 description: successful operation
1373 $ref: '#/components/schemas/VideoListResponse'
1374 '/accounts/{name}/video-channels':
1376 summary: Get video channels of an account by its name
1380 - $ref: '#/components/parameters/name'
1383 description: successful operation
1389 $ref: '#/components/schemas/VideoChannel'
1390 '/accounts/{name}/ratings':
1392 summary: Get ratings of an account by its name
1398 - $ref: '#/components/parameters/start'
1399 - $ref: '#/components/parameters/count'
1400 - $ref: '#/components/parameters/sort'
1404 description: Optionaly filter which ratings to retrieve
1412 description: successful operation
1418 $ref: '#/components/schemas/VideoRating'
1419 '/videos/{id}/comment-threads':
1421 summary: Get the comment threads of a video by its id
1425 - $ref: '#/components/parameters/id2'
1426 - $ref: '#/components/parameters/start'
1427 - $ref: '#/components/parameters/count'
1428 - $ref: '#/components/parameters/sort'
1431 description: successful operation
1435 $ref: '#/components/schemas/CommentThreadResponse'
1437 summary: 'Creates a comment thread, on a video by its id'
1443 - $ref: '#/components/parameters/id2'
1446 description: successful operation
1450 $ref: '#/components/schemas/CommentThreadPostResponse'
1451 '/videos/{id}/comment-threads/{threadId}':
1453 summary: 'Get the comment thread by its id, of a video by its id'
1457 - $ref: '#/components/parameters/id2'
1461 description: The thread id (root comment id)
1466 description: successful operation
1470 $ref: '#/components/schemas/VideoCommentThreadTree'
1471 '/videos/{id}/comments/{commentId}':
1473 summary: 'Creates a comment in a comment thread by its id, of a video by its id'
1479 - $ref: '#/components/parameters/id2'
1480 - $ref: '#/components/parameters/commentId'
1483 description: successful operation
1487 $ref: '#/components/schemas/CommentThreadPostResponse'
1489 summary: 'Delete a comment in a comment thread by its id, of a video by its id'
1495 - $ref: '#/components/parameters/id2'
1496 - $ref: '#/components/parameters/commentId'
1499 $ref: '#/paths/~1users~1me/put/responses/204'
1500 '/videos/{id}/rate':
1502 summary: Vote for a video by its id
1508 - $ref: '#/components/parameters/id2'
1511 $ref: '#/paths/~1users~1me/put/responses/204'
1516 summary: Get the videos corresponding to a given query
1518 - $ref: '#/components/parameters/start'
1519 - $ref: '#/components/parameters/count'
1520 - $ref: '#/components/parameters/videosSearchSort'
1524 description: String to search
1529 description: successful operation
1533 $ref: '#/components/schemas/VideoListResponse'
1535 - url: 'https://peertube.cpy.re/api/v1'
1536 description: Live Test Server (live data - stable version)
1537 - url: 'https://peertube2.cpy.re/api/v1'
1538 description: Live Test Server (live data - bleeding edge version)
1539 - url: 'https://peertube3.cpy.re/api/v1'
1540 description: Live Test Server (live data - bleeding edge version)
1554 description: Number of items
1561 description: Sort column (-createdAt for example)
1568 description: Sort videos by criteria
1583 description: Sort videos by criteria
1598 description: Sort blacklists by criteria
1614 description: Sort users by criteria
1625 description: Sort abuses by criteria
1637 The name of the account (chocobozzz or chocobozzz@peertube.cpy.re for
1645 description: The user id
1652 description: The video id or uuid
1656 name: captionLanguage
1659 description: The caption language
1666 description: "The video channel handle (example: 'my_username@example.com' or 'my_username')"
1673 description: The comment id
1680 description: category id of the video
1693 description: tag(s) of the video
1706 description: tag(s) of the video, where all should be present in the video
1719 description: language id of the video
1732 description: licence id of the video
1745 description: whether to include nsfw videos, if any
1756 Special filters (local for instance) which might require special rights:
1757 * `local` - only videos local to the instance
1758 * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
1768 description: list of uris to check if each is part of the user subscriptions
1776 In the header: *Authorization: Bearer <token\>*
1779 Authenticating via OAuth requires the following steps:
1782 - Have an account with sufficient authorization levels
1784 - [Generate](https://docs.joinpeertube.org/#/api-rest-getting-started) a
1787 - Make Authenticated Requests
1791 tokenUrl: 'https://peertube.example.com/api/v1/users/token'
1794 moderator: Moderator scope
1797 VideoConstantNumber:
1803 VideoConstantString:
1815 description: 'The video privacy (Public = 1, Unlisted = 2, Private = 3)'
1816 VideoPrivacyConstant:
1834 description: 'The video state (Published = 1, to transcode = 2, to import = 3)'
1837 VideoResolutionConstant:
1841 description: 'Video resolution (240, 360, 720 ...)'
1844 VideoScheduledUpdate:
1847 $ref: '#/components/schemas/VideoPrivacySet'
1848 description: Video privacy target
1852 description: When to update the video
1855 VideoAccountSummary:
1869 $ref: '#/components/schemas/Avatar'
1870 VideoChannelSummary:
1884 $ref: '#/components/schemas/Avatar'
1898 $ref: '#/components/schemas/VideoResolutionConstant'
1901 description: 'Video file size in bytes'
1904 torrentDownaloadUrl:
1912 VideoStreamingPlaylists:
1920 description: 'Playlist type (HLS = 1)'
1944 originallyPublishedAt:
1947 $ref: '#/components/schemas/VideoConstantNumber'
1949 $ref: '#/components/schemas/VideoConstantNumber'
1951 $ref: '#/components/schemas/VideoConstantString'
1953 $ref: '#/components/schemas/VideoPrivacyConstant'
1980 $ref: '#/components/schemas/VideoStateConstant'
1983 $ref: '#/components/schemas/VideoScheduledUpdate'
1991 $ref: '#/components/schemas/VideoAccountSummary'
1993 $ref: '#/components/schemas/VideoChannelSummary'
2002 $ref: '#/components/schemas/PlaylistElement'
2005 - $ref: '#/components/schemas/Video'
2013 $ref: '#/components/schemas/VideoChannel'
2015 $ref: '#/components/schemas/Account'
2023 $ref: '#/components/schemas/VideoFile'
2035 $ref: '#/components/schemas/VideoStreamingPlaylists'
2043 $ref: '#/components/schemas/Account'
2119 $ref: '#/components/schemas/Account'
2120 VideoCommentThreadTree:
2123 $ref: '#/components/schemas/VideoComment'
2127 $ref: '#/components/schemas/VideoCommentThreadTree'
2131 $ref: '#/components/schemas/VideoConstantString'
2163 $ref: '#/components/schemas/Avatar'
2166 - $ref: '#/components/schemas/Actor'
2188 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2202 $ref: '#/components/schemas/Account'
2206 $ref: '#/components/schemas/VideoChannel'
2255 $ref: '#/components/schemas/Actor'
2257 $ref: '#/components/schemas/Actor'
2299 VideoUploadResponse:
2308 CommentThreadResponse:
2315 $ref: '#/components/schemas/VideoComment'
2316 CommentThreadPostResponse:
2319 $ref: '#/components/schemas/VideoComment'
2327 $ref: '#/components/schemas/Video'
2332 description: 'The user username '
2335 description: 'The user password '
2338 description: 'The user email '
2341 description: 'The user videoQuota '
2344 description: 'The user daily video quota '
2351 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2363 description: 'The user id '
2366 description: 'The updated email of the user '
2369 description: 'The updated videoQuota of the user '
2372 description: 'The updated daily video quota of the user '
2379 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2390 description: 'Your new password '
2393 description: 'Your new email '
2396 description: 'Your new displayNSFW '
2399 description: 'Your new autoPlayVideo '
2409 description: 'Id of the video '
2412 description: 'Rating of the video '
2419 $ref: '#/components/schemas/Video'
2422 description: 'Rating of the video'
2430 description: 'The username of the user '
2433 description: 'The password of the user '
2436 description: 'The email of the user '
2439 description: 'The user display name'
2445 description: 'The default channel name'
2448 description: 'The default channel display name'
2475 bulkVideosSupportUpdate:
2477 description: 'Update all videos support field of this channel'