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).
112 - name: Instance Configuration
116 - name: Notifications
130 summary: Get the account by name
132 - $ref: '#/components/parameters/name'
133 - $ref: '#/components/parameters/start'
134 - $ref: '#/components/parameters/count'
135 - $ref: '#/components/parameters/sort'
138 description: successful operation
142 $ref: '#/components/schemas/Account'
143 '/accounts/{name}/videos':
148 summary: 'Get videos for an account, provided the name of that account'
150 - $ref: '#/components/parameters/name'
153 description: successful operation
157 $ref: '#/components/schemas/VideoListResponse'
161 fetch('https://peertube2.cpy.re/api/v1/accounts/{name}/videos')
162 .then(function(response) {
163 return response.json()
164 }).then(function(data) {
170 http -b GET https://peertube2.cpy.re/api/v1/accounts/{name}/videos
176 url = URI("https://peertube2.cpy.re/api/v1/accounts/{name}/videos")
178 http = Net::HTTP.new(url.host, url.port)
180 http.verify_mode = OpenSSL::SSL::VERIFY_NONE
182 request = Net::HTTP::Post.new(url)
183 request["content-type"] = 'application/json'
184 response = http.request(request)
185 puts response.read_body
190 conn = http.client.HTTPSConnection("https://peertube2.cpy.re/api/v1")
193 'content-type': "application/json"
196 conn.request("POST", "/accounts/{name}/videos", None, headers)
198 res = conn.getresponse()
201 print(data.decode("utf-8"))
206 summary: Get all accounts
209 description: successful operation
215 $ref: '#/components/schemas/Account'
220 summary: Get the public configuration of the server
223 description: successful operation
227 $ref: '#/components/schemas/ServerConfig'
230 summary: Get the instance about page content
235 description: successful operation
238 summary: Get the runtime configuration of the server
246 description: successful operation
248 summary: Set the runtime configuration of the server
256 description: successful operation
258 summary: Delete the runtime configuration of the server
266 description: successful operation
267 '/feeds/videos.{format}':
270 Get the feed of videos for the server, with optional filter by account
279 The format expected (xml defaults to RSS 2.0, atom to ATOM 1.0 and
280 json to JSON FEED 1.0
292 The id of the local account to filter to (beware, users IDs and not
293 actors IDs which will return empty feeds
299 description: The name of the local account to filter to
304 description: successful operation
307 summary: Get list of jobs
317 description: The state of the job
326 - $ref: '#/components/parameters/start'
327 - $ref: '#/components/parameters/count'
328 - $ref: '#/components/parameters/sort'
331 description: successful operation
337 $ref: '#/components/schemas/Job'
338 '/server/following/{host}':
345 summary: Unfollow a server by hostname
350 description: 'The host to unfollow '
355 description: successful operation
360 summary: Get followers of the server
362 - $ref: '#/components/parameters/start'
363 - $ref: '#/components/parameters/count'
364 - $ref: '#/components/parameters/sort'
367 description: successful operation
373 $ref: '#/components/schemas/Follow'
378 summary: Get servers followed by the server
380 - $ref: '#/components/parameters/start'
381 - $ref: '#/components/parameters/count'
382 - $ref: '#/components/parameters/sort'
385 description: successful operation
391 $ref: '#/components/schemas/Follow'
398 summary: Follow a server
401 $ref: '#/paths/~1users~1me/put/responses/204'
406 $ref: '#/components/schemas/Follow'
409 summary: Creates user
417 description: successful operation
421 $ref: '#/components/schemas/AddUserResponse'
426 $ref: '#/components/schemas/AddUser'
427 description: User to create
430 summary: Get a list of users
436 - $ref: '#/components/parameters/start'
437 - $ref: '#/components/parameters/count'
438 - $ref: '#/components/parameters/usersSort'
441 description: successful operation
447 $ref: '#/components/schemas/User'
450 summary: Delete a user by its id
457 - $ref: '#/components/parameters/id'
460 $ref: '#/paths/~1users~1me/put/responses/204'
462 summary: Get user by its id
468 - $ref: '#/components/parameters/id'
471 description: successful operation
475 $ref: '#/components/schemas/User'
477 summary: Update user profile by its id
483 - $ref: '#/components/parameters/id'
486 $ref: '#/paths/~1users~1me/put/responses/204'
491 $ref: '#/components/schemas/UpdateUser'
495 summary: Register a user
500 $ref: '#/paths/~1users~1me/put/responses/204'
505 $ref: '#/components/schemas/RegisterUser'
509 summary: Get current user information
517 description: successful operation
523 $ref: '#/components/schemas/User'
525 summary: Update current user information
533 description: Successful operation
538 $ref: '#/components/schemas/UpdateMe'
540 /users/me/videos/imports:
542 summary: Get video imports of current user
549 - $ref: '#/components/parameters/start'
550 - $ref: '#/components/parameters/count'
551 - $ref: '#/components/parameters/sort'
554 description: successful operation
558 $ref: '#/components/schemas/VideoImport'
559 /users/me/video-quota-used:
561 summary: Get current user used quota
569 description: successful operation
574 '/users/me/videos/{videoId}/rating':
576 summary: 'Get rating of video by its id, among those of the current user'
585 description: 'The video id '
590 description: successful operation
594 $ref: '#/components/schemas/GetMeVideoRating'
597 summary: Get videos of the current user
604 - $ref: '#/components/parameters/start'
605 - $ref: '#/components/parameters/count'
606 - $ref: '#/components/parameters/sort'
609 description: successful operation
613 $ref: '#/components/schemas/VideoListResponse'
614 /users/me/subscriptions:
616 summary: Get subscriptions of the current user
623 - $ref: '#/components/parameters/start'
624 - $ref: '#/components/parameters/count'
625 - $ref: '#/components/parameters/sort'
628 description: successful operation
630 summary: Add subscription to the current user
638 description: successful operation
639 /users/me/subscriptions/exist:
641 summary: Get if subscriptions exist for the current user
648 - $ref: '#/components/parameters/subscriptionsUris'
651 description: successful operation
656 /users/me/subscriptions/videos:
658 summary: Get videos of subscriptions of the current user
665 - $ref: '#/components/parameters/start'
666 - $ref: '#/components/parameters/count'
667 - $ref: '#/components/parameters/sort'
670 description: successful operation
674 $ref: '#/components/schemas/VideoListResponse'
675 '/users/me/subscriptions/{subscriptionHandle}':
677 summary: Get subscription of the current user for a given uri
684 - $ref: '#/components/parameters/subscriptionHandle'
687 description: successful operation
691 $ref: '#/components/schemas/VideoChannel'
693 summary: Delete subscription of the current user for a given uri
700 - $ref: '#/components/parameters/subscriptionHandle'
703 description: successful operation
704 /users/me/avatar/pick:
706 summary: Update current user avatar
713 description: successful operation
717 $ref: '#/components/schemas/Avatar'
725 description: The file to upload.
730 # only accept png/jpeg
731 contentType: image/png, image/jpeg
734 summary: Get list of videos
738 - $ref: '#/components/parameters/categoryOneOf'
739 - $ref: '#/components/parameters/tagsOneOf'
740 - $ref: '#/components/parameters/tagsAllOf'
741 - $ref: '#/components/parameters/licenceOneOf'
742 - $ref: '#/components/parameters/languageOneOf'
743 - $ref: '#/components/parameters/nsfw'
744 - $ref: '#/components/parameters/filter'
745 - $ref: '#/components/parameters/start'
746 - $ref: '#/components/parameters/count'
747 - $ref: '#/components/parameters/videosSort'
750 description: successful operation
754 $ref: '#/components/schemas/VideoListResponse'
757 summary: Get list of video categories known by the server
762 description: successful operation
771 summary: Get list of video licences known by the server
776 description: successful operation
785 summary: Get list of languages known by the server
790 description: successful operation
799 summary: Get list of privacy policies supported by the server
804 description: successful operation
813 summary: Update metadata for a video by its id
819 - $ref: '#/components/parameters/idOrUUID'
822 description: successful operation
826 $ref: '#/components/schemas/Video'
834 description: Video thumbnail file
837 description: Video preview file
840 description: Video category
843 description: Video licence
846 description: Video language
849 description: Video description
852 description: Whether or not we wait transcoding before publish the video
855 description: Text describing how to support the video uploader
858 description: Whether or not this video contains sensitive content
861 description: Video name
864 description: Video tags (maximum 5 tags each between 2 and 30 characters)
873 description: Enable or disable comments for this video
876 $ref: '#/components/schemas/VideoScheduledUpdate'
878 summary: Get a video by its id
882 - $ref: '#/components/parameters/idOrUUID'
885 description: successful operation
889 $ref: '#/components/schemas/VideoDetails'
891 summary: Delete a video by its id
897 - $ref: '#/components/parameters/idOrUUID'
900 $ref: '#/paths/~1users~1me/put/responses/204'
901 '/videos/{id}/description':
903 summary: Get a video description by its id
907 - $ref: '#/components/parameters/idOrUUID'
910 description: successful operation
915 '/videos/{id}/views':
917 summary: Add a view to the video by its id
921 - $ref: '#/components/parameters/idOrUUID'
924 $ref: '#/paths/~1users~1me/put/responses/204'
925 '/videos/{id}/watching':
927 summary: Set watching progress of a video by its id for a user
933 - $ref: '#/components/parameters/idOrUUID'
938 $ref: '#/components/schemas/UserWatchingVideo'
942 $ref: '#/paths/~1users~1me/put/responses/204'
945 summary: Get list of video ownership changes requests
952 description: successful operation
953 '/videos/ownership/{id}/accept':
955 summary: Refuse ownership change request for video by its id
961 - $ref: '#/components/parameters/idOrUUID'
964 $ref: '#/paths/~1users~1me/put/responses/204'
965 '/videos/ownership/{id}/refuse':
967 summary: Accept ownership change request for video by its id
973 - $ref: '#/components/parameters/idOrUUID'
976 $ref: '#/paths/~1users~1me/put/responses/204'
977 '/videos/{id}/give-ownership':
979 summary: Request change of ownership for a video you own, by its id
985 - $ref: '#/components/parameters/idOrUUID'
989 application/x-www-form-urlencoded:
999 $ref: '#/paths/~1users~1me/put/responses/204'
1001 description: 'Changing video ownership to a remote account is not supported yet'
1004 summary: Upload a video file with its metadata
1011 description: successful operation
1015 $ref: '#/components/schemas/VideoUploadResponse'
1018 multipart/form-data:
1023 description: Video file
1027 description: Channel id that will contain this video
1030 description: Video thumbnail file
1033 description: Video preview file
1036 $ref: '#/components/schemas/VideoPrivacySet'
1038 description: Video category
1041 description: Video licence
1044 description: Video language
1047 description: Video description
1050 description: Whether or not we wait transcoding before publish the video
1053 description: Text describing how to support the video uploader
1056 description: Whether or not this video contains sensitive content
1059 description: Video name
1062 description: Video tags (maximum 5 tags each between 2 and 30 characters)
1071 description: Enable or disable comments for this video
1073 originallyPublishedAt:
1074 description: Date when the content was originally published
1078 $ref: '#/components/schemas/VideoScheduledUpdate'
1086 ## DEPENDENCIES: httpie, jq
1087 # pip install httpie
1088 USERNAME="<your_username>"
1089 PASSWORD="<your_password>"
1090 FILE_PATH="<your_file_path>"
1091 CHANNEL_ID="<your_channel_id>"
1094 API_PATH="https://peertube2.cpy.re/api/v1"
1096 client_id=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_id")
1097 client_secret=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_secret")
1098 token=$(http -b --form POST "$API_PATH/users/token" \
1099 client_id="$client_id" client_secret="$client_secret" grant_type=password response_type=code \
1100 username=$USERNAME \
1101 password=$PASSWORD \
1102 | jq -r ".access_token")
1104 http -b --form POST "$API_PATH/videos/upload" \
1105 videofile@$FILE_PATH \
1106 channelId=$CHANNEL_ID \
1108 "Authorization:Bearer $token"
1111 summary: Import a torrent or magnetURI or HTTP resource (if enabled by the instance administrator)
1118 description: successful operation
1122 $ref: '#/components/schemas/VideoUploadResponse'
1125 multipart/form-data:
1130 description: Torrent File
1134 description: HTTP target URL
1137 description: Magnet URI
1140 description: Channel id that will contain this video
1143 description: Video thumbnail file
1146 description: Video preview file
1149 $ref: '#/components/schemas/VideoPrivacySet'
1151 description: Video category
1154 description: Video licence
1157 description: Video language
1160 description: Video description
1163 description: Whether or not we wait transcoding before publish the video
1166 description: Text describing how to support the video uploader
1169 description: Whether or not this video contains sensitive content
1172 description: Video name
1175 description: Video tags (maximum 5 tags each between 2 and 30 characters)
1184 description: Enable or disable comments for this video
1187 $ref: '#/components/schemas/VideoScheduledUpdate'
1193 summary: Get list of reported video abuses
1199 - $ref: '#/components/parameters/start'
1200 - $ref: '#/components/parameters/count'
1201 - $ref: '#/components/parameters/abusesSort'
1204 description: successful operation
1210 $ref: '#/components/schemas/VideoAbuse'
1211 '/videos/{id}/abuse':
1213 summary: 'Report an abuse, on a video by its id'
1219 - $ref: '#/components/parameters/idOrUUID'
1222 $ref: '#/paths/~1users~1me/put/responses/204'
1223 '/videos/{id}/blacklist':
1225 summary: Put on blacklist a video by its id
1233 - $ref: '#/components/parameters/idOrUUID'
1236 $ref: '#/paths/~1users~1me/put/responses/204'
1238 summary: Delete an entry of the blacklist of a video by its id
1246 - $ref: '#/components/parameters/idOrUUID'
1249 $ref: '#/paths/~1users~1me/put/responses/204'
1252 summary: Get list of videos on blacklist
1260 - $ref: '#/components/parameters/start'
1261 - $ref: '#/components/parameters/count'
1262 - $ref: '#/components/parameters/blacklistsSort'
1265 description: successful operation
1271 $ref: '#/components/schemas/VideoBlacklist'
1272 /videos/{id}/captions:
1274 summary: Get list of video's captions
1278 - $ref: '#/components/parameters/idOrUUID'
1281 description: successful operation
1292 $ref: '#/components/schemas/VideoCaption'
1293 /videos/{id}/captions/{captionLanguage}:
1295 summary: Add or replace a video caption
1299 - $ref: '#/components/parameters/idOrUUID'
1300 - $ref: '#/components/parameters/captionLanguage'
1303 multipart/form-data:
1308 description: The file to upload.
1313 $ref: '#/paths/~1users~1me/put/responses/204'
1315 summary: Delete a video caption
1319 - $ref: '#/components/parameters/idOrUUID'
1320 - $ref: '#/components/parameters/captionLanguage'
1323 $ref: '#/paths/~1users~1me/put/responses/204'
1326 summary: Get list of video channels
1330 - $ref: '#/components/parameters/start'
1331 - $ref: '#/components/parameters/count'
1332 - $ref: '#/components/parameters/sort'
1335 description: successful operation
1341 $ref: '#/components/schemas/VideoChannel'
1343 summary: Creates a video channel for the current user
1350 $ref: '#/paths/~1users~1me/put/responses/204'
1355 $ref: '#/components/schemas/VideoChannelCreate'
1356 '/video-channels/{channelHandle}':
1358 summary: Get a video channel by its id
1362 - $ref: '#/components/parameters/channelHandle'
1365 description: successful operation
1369 $ref: '#/components/schemas/VideoChannel'
1371 summary: Update a video channel by its id
1377 - $ref: '#/components/parameters/channelHandle'
1380 $ref: '#/paths/~1users~1me/put/responses/204'
1385 $ref: '#/components/schemas/VideoChannelUpdate'
1387 summary: Delete a video channel by its id
1393 - $ref: '#/components/parameters/channelHandle'
1396 $ref: '#/paths/~1users~1me/put/responses/204'
1397 '/video-channels/{channelHandle}/videos':
1399 summary: Get videos of a video channel by its id
1404 - $ref: '#/components/parameters/channelHandle'
1407 description: successful operation
1411 $ref: '#/components/schemas/VideoListResponse'
1412 '/accounts/{name}/video-channels':
1414 summary: Get video channels of an account by its name
1418 - $ref: '#/components/parameters/name'
1421 description: successful operation
1427 $ref: '#/components/schemas/VideoChannel'
1428 '/accounts/{name}/ratings':
1430 summary: Get ratings of an account by its name
1436 - $ref: '#/components/parameters/name'
1437 - $ref: '#/components/parameters/start'
1438 - $ref: '#/components/parameters/count'
1439 - $ref: '#/components/parameters/sort'
1443 description: Optionally filter which ratings to retrieve
1451 description: successful operation
1457 $ref: '#/components/schemas/VideoRating'
1458 '/videos/{id}/comment-threads':
1460 summary: Get the comment threads of a video by its id
1464 - $ref: '#/components/parameters/idOrUUID'
1465 - $ref: '#/components/parameters/start'
1466 - $ref: '#/components/parameters/count'
1467 - $ref: '#/components/parameters/sort'
1470 description: successful operation
1474 $ref: '#/components/schemas/CommentThreadResponse'
1476 summary: 'Creates a comment thread, on a video by its id'
1482 - $ref: '#/components/parameters/idOrUUID'
1485 description: successful operation
1489 $ref: '#/components/schemas/CommentThreadPostResponse'
1490 '/videos/{id}/comment-threads/{threadId}':
1492 summary: 'Get the comment thread by its id, of a video by its id'
1496 - $ref: '#/components/parameters/idOrUUID'
1497 - $ref: '#/components/parameters/threadId'
1500 description: successful operation
1504 $ref: '#/components/schemas/VideoCommentThreadTree'
1505 '/videos/{id}/comments/{commentId}':
1507 summary: 'Creates a comment in a comment thread by its id, of a video by its id'
1513 - $ref: '#/components/parameters/idOrUUID'
1514 - $ref: '#/components/parameters/commentId'
1517 description: successful operation
1521 $ref: '#/components/schemas/CommentThreadPostResponse'
1523 summary: 'Delete a comment in a comment thread by its id, of a video by its id'
1529 - $ref: '#/components/parameters/idOrUUID'
1530 - $ref: '#/components/parameters/commentId'
1533 $ref: '#/paths/~1users~1me/put/responses/204'
1534 '/videos/{id}/rate':
1536 summary: Vote for a video by its id
1542 - $ref: '#/components/parameters/idOrUUID'
1545 $ref: '#/paths/~1users~1me/put/responses/204'
1550 summary: Get the videos corresponding to a given query
1552 - $ref: '#/components/parameters/start'
1553 - $ref: '#/components/parameters/count'
1554 - $ref: '#/components/parameters/videosSearchSort'
1558 description: String to search
1563 description: successful operation
1567 $ref: '#/components/schemas/VideoListResponse'
1569 - url: 'https://peertube.cpy.re/api/v1'
1570 description: Live Test Server (live data - stable version)
1571 - url: 'https://peertube2.cpy.re/api/v1'
1572 description: Live Test Server (live data - bleeding edge version)
1573 - url: 'https://peertube3.cpy.re/api/v1'
1574 description: Live Test Server (live data - bleeding edge version)
1588 description: Number of items
1595 description: Sort column (-createdAt for example)
1602 description: Sort videos by criteria
1617 description: Sort videos by criteria
1632 description: Sort blacklists by criteria
1648 description: Sort users by criteria
1659 description: Sort abuses by criteria
1671 The name of the account (chocobozzz or chocobozzz@peertube.cpy.re for
1679 description: The user id
1686 description: The video id or uuid
1690 name: captionLanguage
1693 description: The caption language
1700 description: "The video channel handle (example: 'my_username@example.com' or 'my_username')"
1704 name: subscriptionHandle
1707 description: "The subscription handle (example: 'my_username@example.com' or 'my_username')"
1714 description: The thread id (root comment id)
1721 description: The comment id
1728 description: category id of the video
1741 description: tag(s) of the video
1754 description: tag(s) of the video, where all should be present in the video
1767 description: language id of the video
1780 description: licence id of the video
1793 description: whether to include nsfw videos, if any
1804 Special filters (local for instance) which might require special rights:
1805 * `local` - only videos local to the instance
1806 * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
1816 description: list of uris to check if each is part of the user subscriptions
1824 In the header: *Authorization: Bearer <token\>*
1827 Authenticating via OAuth requires the following steps:
1830 - Have an account with sufficient authorization levels
1832 - [Generate](https://docs.joinpeertube.org/#/api-rest-getting-started) a
1835 - Make Authenticated Requests
1839 tokenUrl: 'https://peertube.example.com/api/v1/users/token'
1842 moderator: Moderator scope
1845 VideoConstantNumber:
1851 VideoConstantString:
1863 description: 'The video privacy (Public = 1, Unlisted = 2, Private = 3)'
1864 VideoPrivacyConstant:
1882 description: 'The video state (Published = 1, to transcode = 2, to import = 3)'
1885 VideoResolutionConstant:
1889 description: 'Video resolution (240, 360, 720 ...)'
1892 VideoScheduledUpdate:
1895 $ref: '#/components/schemas/VideoPrivacySet'
1896 description: Video privacy target
1900 description: When to update the video
1903 VideoAccountSummary:
1917 $ref: '#/components/schemas/Avatar'
1918 VideoChannelSummary:
1932 $ref: '#/components/schemas/Avatar'
1943 $ref: '#/components/schemas/Video'
1949 $ref: '#/components/schemas/VideoResolutionConstant'
1952 description: 'Video file size in bytes'
1955 torrentDownaloadUrl:
1963 VideoStreamingPlaylists:
1971 description: 'Playlist type (HLS = 1)'
1995 originallyPublishedAt:
1998 $ref: '#/components/schemas/VideoConstantNumber'
2000 $ref: '#/components/schemas/VideoConstantNumber'
2002 $ref: '#/components/schemas/VideoConstantString'
2004 $ref: '#/components/schemas/VideoPrivacyConstant'
2031 $ref: '#/components/schemas/VideoStateConstant'
2034 $ref: '#/components/schemas/VideoScheduledUpdate'
2042 $ref: '#/components/schemas/VideoAccountSummary'
2044 $ref: '#/components/schemas/VideoChannelSummary'
2053 - $ref: '#/components/schemas/Video'
2061 $ref: '#/components/schemas/VideoChannel'
2063 $ref: '#/components/schemas/Account'
2071 $ref: '#/components/schemas/VideoFile'
2083 $ref: '#/components/schemas/VideoStreamingPlaylists'
2084 VideoImportStateConstant:
2092 description: 'The video import state (Pending = 1, Success = 2, Failed = 3)'
2109 $ref: '#/components/schemas/VideoImportStateConstant'
2119 $ref: '#/components/schemas/Video'
2127 $ref: '#/components/schemas/Account'
2203 $ref: '#/components/schemas/Account'
2204 VideoCommentThreadTree:
2207 $ref: '#/components/schemas/VideoComment'
2211 $ref: '#/components/schemas/VideoCommentThreadTree'
2215 $ref: '#/components/schemas/VideoConstantString'
2247 $ref: '#/components/schemas/Avatar'
2250 - $ref: '#/components/schemas/Actor'
2272 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2286 $ref: '#/components/schemas/Account'
2290 $ref: '#/components/schemas/VideoChannel'
2339 $ref: '#/components/schemas/Actor'
2341 $ref: '#/components/schemas/Actor'
2383 VideoUploadResponse:
2392 CommentThreadResponse:
2399 $ref: '#/components/schemas/VideoComment'
2400 CommentThreadPostResponse:
2403 $ref: '#/components/schemas/VideoComment'
2411 $ref: '#/components/schemas/Video'
2416 description: 'The user username '
2419 description: 'The user password '
2422 description: 'The user email '
2425 description: 'The user videoQuota '
2428 description: 'The user daily video quota '
2435 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2447 description: 'The user id '
2450 description: 'The updated email of the user '
2453 description: 'The updated videoQuota of the user '
2456 description: 'The updated daily video quota of the user '
2463 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2474 description: 'Your new password '
2477 description: 'Your new email '
2480 description: 'Your new displayNSFW '
2483 description: 'Your new autoPlayVideo '
2493 description: 'Id of the video '
2496 description: 'Rating of the video '
2503 $ref: '#/components/schemas/Video'
2506 description: 'Rating of the video'
2514 description: 'The username of the user '
2517 description: 'The password of the user '
2520 description: 'The email of the user '
2523 description: 'The user display name'
2529 description: 'The default channel name'
2532 description: 'The default channel display name'
2559 bulkVideosSupportUpdate:
2561 description: 'Update all videos support field of this channel'