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)
869 description: Enable or disable comments for this video
872 $ref: '#/components/schemas/VideoScheduledUpdate'
874 summary: Get a video by its id
878 - $ref: '#/components/parameters/idOrUUID'
881 description: successful operation
885 $ref: '#/components/schemas/VideoDetails'
887 summary: Delete a video by its id
893 - $ref: '#/components/parameters/idOrUUID'
896 $ref: '#/paths/~1users~1me/put/responses/204'
897 '/videos/{id}/description':
899 summary: Get a video description by its id
903 - $ref: '#/components/parameters/idOrUUID'
906 description: successful operation
911 '/videos/{id}/views':
913 summary: Add a view to the video by its id
917 - $ref: '#/components/parameters/idOrUUID'
920 $ref: '#/paths/~1users~1me/put/responses/204'
921 '/videos/{id}/watching':
923 summary: Set watching progress of a video by its id for a user
929 - $ref: '#/components/parameters/idOrUUID'
934 $ref: '#/components/schemas/UserWatchingVideo'
938 $ref: '#/paths/~1users~1me/put/responses/204'
941 summary: Get list of video ownership changes requests
948 description: successful operation
949 '/videos/ownership/{id}/accept':
951 summary: Refuse ownership change request for video by its id
957 - $ref: '#/components/parameters/idOrUUID'
960 $ref: '#/paths/~1users~1me/put/responses/204'
961 '/videos/ownership/{id}/refuse':
963 summary: Accept ownership change request for video by its id
969 - $ref: '#/components/parameters/idOrUUID'
972 $ref: '#/paths/~1users~1me/put/responses/204'
973 '/videos/{id}/give-ownership':
975 summary: Request change of ownership for a video you own, by its id
981 - $ref: '#/components/parameters/idOrUUID'
985 application/x-www-form-urlencoded:
995 $ref: '#/paths/~1users~1me/put/responses/204'
997 description: 'Changing video ownership to a remote account is not supported yet'
1000 summary: Upload a video file with its metadata
1007 description: successful operation
1011 $ref: '#/components/schemas/VideoUploadResponse'
1014 multipart/form-data:
1019 description: Video file
1023 description: Channel id that will contain this video
1026 description: Video thumbnail file
1029 description: Video preview file
1032 $ref: '#/components/schemas/VideoPrivacySet'
1034 description: Video category
1037 description: Video licence
1040 description: Video language
1043 description: Video description
1046 description: Whether or not we wait transcoding before publish the video
1049 description: Text describing how to support the video uploader
1052 description: Whether or not this video contains sensitive content
1055 description: Video name
1058 description: Video tags
1063 description: Enable or disable comments for this video
1065 originallyPublishedAt:
1066 description: Date when the content was originally published
1070 $ref: '#/components/schemas/VideoScheduledUpdate'
1078 ## DEPENDENCIES: httpie, jq
1079 # pip install httpie
1080 USERNAME="<your_username>"
1081 PASSWORD="<your_password>"
1082 FILE_PATH="<your_file_path>"
1083 CHANNEL_ID="<your_channel_id>"
1086 API_PATH="https://peertube2.cpy.re/api/v1"
1088 client_id=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_id")
1089 client_secret=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_secret")
1090 token=$(http -b --form POST "$API_PATH/users/token" \
1091 client_id="$client_id" client_secret="$client_secret" grant_type=password response_type=code \
1092 username=$USERNAME \
1093 password=$PASSWORD \
1094 | jq -r ".access_token")
1096 http -b --form POST "$API_PATH/videos/upload" \
1097 videofile@$FILE_PATH \
1098 channelId=$CHANNEL_ID \
1100 "Authorization:Bearer $token"
1103 summary: Import a torrent or magnetURI or HTTP ressource (if enabled by the instance administrator)
1110 description: successful operation
1114 $ref: '#/components/schemas/VideoUploadResponse'
1117 multipart/form-data:
1122 description: Torrent File
1126 description: HTTP target URL
1129 description: Magnet URI
1132 description: Channel id that will contain this video
1135 description: Video thumbnail file
1138 description: Video preview file
1141 $ref: '#/components/schemas/VideoPrivacySet'
1143 description: Video category
1146 description: Video licence
1149 description: Video language
1152 description: Video description
1155 description: Whether or not we wait transcoding before publish the video
1158 description: Text describing how to support the video uploader
1161 description: Whether or not this video contains sensitive content
1164 description: Video name
1167 description: Video tags
1172 description: Enable or disable comments for this video
1175 $ref: '#/components/schemas/VideoScheduledUpdate'
1181 summary: Get list of reported video abuses
1187 - $ref: '#/components/parameters/start'
1188 - $ref: '#/components/parameters/count'
1189 - $ref: '#/components/parameters/abusesSort'
1192 description: successful operation
1198 $ref: '#/components/schemas/VideoAbuse'
1199 '/videos/{id}/abuse':
1201 summary: 'Report an abuse, on a video by its id'
1207 - $ref: '#/components/parameters/idOrUUID'
1210 $ref: '#/paths/~1users~1me/put/responses/204'
1211 '/videos/{id}/blacklist':
1213 summary: Put on blacklist a video by its id
1221 - $ref: '#/components/parameters/idOrUUID'
1224 $ref: '#/paths/~1users~1me/put/responses/204'
1226 summary: Delete an entry of the blacklist of a video by its id
1234 - $ref: '#/components/parameters/idOrUUID'
1237 $ref: '#/paths/~1users~1me/put/responses/204'
1240 summary: Get list of videos on blacklist
1248 - $ref: '#/components/parameters/start'
1249 - $ref: '#/components/parameters/count'
1250 - $ref: '#/components/parameters/blacklistsSort'
1253 description: successful operation
1259 $ref: '#/components/schemas/VideoBlacklist'
1260 /videos/{id}/captions:
1262 summary: Get list of video's captions
1266 - $ref: '#/components/parameters/idOrUUID'
1269 description: successful operation
1280 $ref: '#/components/schemas/VideoCaption'
1281 /videos/{id}/captions/{captionLanguage}:
1283 summary: Add or replace a video caption
1287 - $ref: '#/components/parameters/idOrUUID'
1288 - $ref: '#/components/parameters/captionLanguage'
1291 multipart/form-data:
1296 description: The file to upload.
1301 $ref: '#/paths/~1users~1me/put/responses/204'
1303 summary: Delete a video caption
1307 - $ref: '#/components/parameters/idOrUUID'
1308 - $ref: '#/components/parameters/captionLanguage'
1311 $ref: '#/paths/~1users~1me/put/responses/204'
1314 summary: Get list of video channels
1318 - $ref: '#/components/parameters/start'
1319 - $ref: '#/components/parameters/count'
1320 - $ref: '#/components/parameters/sort'
1323 description: successful operation
1329 $ref: '#/components/schemas/VideoChannel'
1331 summary: Creates a video channel for the current user
1338 $ref: '#/paths/~1users~1me/put/responses/204'
1343 $ref: '#/components/schemas/VideoChannelCreate'
1344 '/video-channels/{channelHandle}':
1346 summary: Get a video channel by its id
1350 - $ref: '#/components/parameters/channelHandle'
1353 description: successful operation
1357 $ref: '#/components/schemas/VideoChannel'
1359 summary: Update a video channel by its id
1365 - $ref: '#/components/parameters/channelHandle'
1368 $ref: '#/paths/~1users~1me/put/responses/204'
1373 $ref: '#/components/schemas/VideoChannelUpdate'
1375 summary: Delete a video channel by its id
1381 - $ref: '#/components/parameters/channelHandle'
1384 $ref: '#/paths/~1users~1me/put/responses/204'
1385 '/video-channels/{channelHandle}/videos':
1387 summary: Get videos of a video channel by its id
1392 - $ref: '#/components/parameters/channelHandle'
1395 description: successful operation
1399 $ref: '#/components/schemas/VideoListResponse'
1400 '/accounts/{name}/video-channels':
1402 summary: Get video channels of an account by its name
1406 - $ref: '#/components/parameters/name'
1409 description: successful operation
1415 $ref: '#/components/schemas/VideoChannel'
1416 '/accounts/{name}/ratings':
1418 summary: Get ratings of an account by its name
1424 - $ref: '#/components/parameters/name'
1425 - $ref: '#/components/parameters/start'
1426 - $ref: '#/components/parameters/count'
1427 - $ref: '#/components/parameters/sort'
1431 description: Optionaly filter which ratings to retrieve
1439 description: successful operation
1445 $ref: '#/components/schemas/VideoRating'
1446 '/videos/{id}/comment-threads':
1448 summary: Get the comment threads of a video by its id
1452 - $ref: '#/components/parameters/idOrUUID'
1453 - $ref: '#/components/parameters/start'
1454 - $ref: '#/components/parameters/count'
1455 - $ref: '#/components/parameters/sort'
1458 description: successful operation
1462 $ref: '#/components/schemas/CommentThreadResponse'
1464 summary: 'Creates a comment thread, on a video by its id'
1470 - $ref: '#/components/parameters/idOrUUID'
1473 description: successful operation
1477 $ref: '#/components/schemas/CommentThreadPostResponse'
1478 '/videos/{id}/comment-threads/{threadId}':
1480 summary: 'Get the comment thread by its id, of a video by its id'
1484 - $ref: '#/components/parameters/idOrUUID'
1485 - $ref: '#/components/parameters/threadId'
1488 description: successful operation
1492 $ref: '#/components/schemas/VideoCommentThreadTree'
1493 '/videos/{id}/comments/{commentId}':
1495 summary: 'Creates a comment in a comment thread by its id, of a video by its id'
1501 - $ref: '#/components/parameters/idOrUUID'
1502 - $ref: '#/components/parameters/commentId'
1505 description: successful operation
1509 $ref: '#/components/schemas/CommentThreadPostResponse'
1511 summary: 'Delete a comment in a comment thread by its id, of a video by its id'
1517 - $ref: '#/components/parameters/idOrUUID'
1518 - $ref: '#/components/parameters/commentId'
1521 $ref: '#/paths/~1users~1me/put/responses/204'
1522 '/videos/{id}/rate':
1524 summary: Vote for a video by its id
1530 - $ref: '#/components/parameters/idOrUUID'
1533 $ref: '#/paths/~1users~1me/put/responses/204'
1538 summary: Get the videos corresponding to a given query
1540 - $ref: '#/components/parameters/start'
1541 - $ref: '#/components/parameters/count'
1542 - $ref: '#/components/parameters/videosSearchSort'
1546 description: String to search
1551 description: successful operation
1555 $ref: '#/components/schemas/VideoListResponse'
1557 - url: 'https://peertube.cpy.re/api/v1'
1558 description: Live Test Server (live data - stable version)
1559 - url: 'https://peertube2.cpy.re/api/v1'
1560 description: Live Test Server (live data - bleeding edge version)
1561 - url: 'https://peertube3.cpy.re/api/v1'
1562 description: Live Test Server (live data - bleeding edge version)
1576 description: Number of items
1583 description: Sort column (-createdAt for example)
1590 description: Sort videos by criteria
1605 description: Sort videos by criteria
1620 description: Sort blacklists by criteria
1636 description: Sort users by criteria
1647 description: Sort abuses by criteria
1659 The name of the account (chocobozzz or chocobozzz@peertube.cpy.re for
1667 description: The user id
1674 description: The video id or uuid
1678 name: captionLanguage
1681 description: The caption language
1688 description: "The video channel handle (example: 'my_username@example.com' or 'my_username')"
1692 name: subscriptionHandle
1695 description: "The subscription handle (example: 'my_username@example.com' or 'my_username')"
1702 description: The thread id (root comment id)
1709 description: The comment id
1716 description: category id of the video
1729 description: tag(s) of the video
1742 description: tag(s) of the video, where all should be present in the video
1755 description: language id of the video
1768 description: licence id of the video
1781 description: whether to include nsfw videos, if any
1792 Special filters (local for instance) which might require special rights:
1793 * `local` - only videos local to the instance
1794 * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
1804 description: list of uris to check if each is part of the user subscriptions
1812 In the header: *Authorization: Bearer <token\>*
1815 Authenticating via OAuth requires the following steps:
1818 - Have an account with sufficient authorization levels
1820 - [Generate](https://docs.joinpeertube.org/#/api-rest-getting-started) a
1823 - Make Authenticated Requests
1827 tokenUrl: 'https://peertube.example.com/api/v1/users/token'
1830 moderator: Moderator scope
1833 VideoConstantNumber:
1839 VideoConstantString:
1851 description: 'The video privacy (Public = 1, Unlisted = 2, Private = 3)'
1852 VideoPrivacyConstant:
1870 description: 'The video state (Published = 1, to transcode = 2, to import = 3)'
1873 VideoResolutionConstant:
1877 description: 'Video resolution (240, 360, 720 ...)'
1880 VideoScheduledUpdate:
1883 $ref: '#/components/schemas/VideoPrivacySet'
1884 description: Video privacy target
1888 description: When to update the video
1891 VideoAccountSummary:
1905 $ref: '#/components/schemas/Avatar'
1906 VideoChannelSummary:
1920 $ref: '#/components/schemas/Avatar'
1931 $ref: '#/components/schemas/Video'
1937 $ref: '#/components/schemas/VideoResolutionConstant'
1940 description: 'Video file size in bytes'
1943 torrentDownaloadUrl:
1951 VideoStreamingPlaylists:
1959 description: 'Playlist type (HLS = 1)'
1983 originallyPublishedAt:
1986 $ref: '#/components/schemas/VideoConstantNumber'
1988 $ref: '#/components/schemas/VideoConstantNumber'
1990 $ref: '#/components/schemas/VideoConstantString'
1992 $ref: '#/components/schemas/VideoPrivacyConstant'
2019 $ref: '#/components/schemas/VideoStateConstant'
2022 $ref: '#/components/schemas/VideoScheduledUpdate'
2030 $ref: '#/components/schemas/VideoAccountSummary'
2032 $ref: '#/components/schemas/VideoChannelSummary'
2041 - $ref: '#/components/schemas/Video'
2049 $ref: '#/components/schemas/VideoChannel'
2051 $ref: '#/components/schemas/Account'
2059 $ref: '#/components/schemas/VideoFile'
2071 $ref: '#/components/schemas/VideoStreamingPlaylists'
2072 VideoImportStateConstant:
2080 description: 'The video import state (Pending = 1, Success = 2, Failed = 3)'
2097 $ref: '#/components/schemas/VideoImportStateConstant'
2107 $ref: '#/components/schemas/Video'
2115 $ref: '#/components/schemas/Account'
2191 $ref: '#/components/schemas/Account'
2192 VideoCommentThreadTree:
2195 $ref: '#/components/schemas/VideoComment'
2199 $ref: '#/components/schemas/VideoCommentThreadTree'
2203 $ref: '#/components/schemas/VideoConstantString'
2235 $ref: '#/components/schemas/Avatar'
2238 - $ref: '#/components/schemas/Actor'
2260 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2274 $ref: '#/components/schemas/Account'
2278 $ref: '#/components/schemas/VideoChannel'
2327 $ref: '#/components/schemas/Actor'
2329 $ref: '#/components/schemas/Actor'
2371 VideoUploadResponse:
2380 CommentThreadResponse:
2387 $ref: '#/components/schemas/VideoComment'
2388 CommentThreadPostResponse:
2391 $ref: '#/components/schemas/VideoComment'
2399 $ref: '#/components/schemas/Video'
2404 description: 'The user username '
2407 description: 'The user password '
2410 description: 'The user email '
2413 description: 'The user videoQuota '
2416 description: 'The user daily video quota '
2423 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2435 description: 'The user id '
2438 description: 'The updated email of the user '
2441 description: 'The updated videoQuota of the user '
2444 description: 'The updated daily video quota of the user '
2451 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2462 description: 'Your new password '
2465 description: 'Your new email '
2468 description: 'Your new displayNSFW '
2471 description: 'Your new autoPlayVideo '
2481 description: 'Id of the video '
2484 description: 'Rating of the video '
2491 $ref: '#/components/schemas/Video'
2494 description: 'Rating of the video'
2502 description: 'The username of the user '
2505 description: 'The password of the user '
2508 description: 'The email of the user '
2511 description: 'The user display name'
2517 description: 'The default channel name'
2520 description: 'The default channel display name'
2547 bulkVideosSupportUpdate:
2549 description: 'Update all videos support field of this channel'