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 contentType: image/png, image/jpeg
733 summary: Get list of videos
737 - $ref: '#/components/parameters/categoryOneOf'
738 - $ref: '#/components/parameters/tagsOneOf'
739 - $ref: '#/components/parameters/tagsAllOf'
740 - $ref: '#/components/parameters/licenceOneOf'
741 - $ref: '#/components/parameters/languageOneOf'
742 - $ref: '#/components/parameters/nsfw'
743 - $ref: '#/components/parameters/filter'
744 - $ref: '#/components/parameters/start'
745 - $ref: '#/components/parameters/count'
746 - $ref: '#/components/parameters/videosSort'
749 description: successful operation
753 $ref: '#/components/schemas/VideoListResponse'
756 summary: Get list of video categories known by the server
761 description: successful operation
770 summary: Get list of video licences known by the server
775 description: successful operation
784 summary: Get list of languages known by the server
789 description: successful operation
798 summary: Get list of privacy policies supported by the server
803 description: successful operation
812 summary: Update metadata for a video by its id
818 - $ref: '#/components/parameters/idOrUUID'
821 description: successful operation
829 description: Video thumbnail file
833 description: Video preview file
837 description: Video category
840 description: Video licence
843 description: Video language
846 description: Video description
849 description: Whether or not we wait transcoding before publish the video
852 description: Text describing how to support the video uploader
855 description: Whether or not this video contains sensitive content
858 description: Video name
861 description: Video tags (maximum 5 tags each between 2 and 30 characters)
870 description: Enable or disable comments for this video
872 originallyPublishedAt:
873 description: Date when the content was originally published
877 $ref: '#/components/schemas/VideoScheduledUpdate'
880 contentType: image/jpeg
882 contentType: image/jpeg
884 summary: Get a video by its id
888 - $ref: '#/components/parameters/idOrUUID'
891 description: successful operation
895 $ref: '#/components/schemas/VideoDetails'
897 summary: Delete a video by its id
903 - $ref: '#/components/parameters/idOrUUID'
906 $ref: '#/paths/~1users~1me/put/responses/204'
907 '/videos/{id}/description':
909 summary: Get a video description by its id
913 - $ref: '#/components/parameters/idOrUUID'
916 description: successful operation
921 '/videos/{id}/views':
923 summary: Add a view to the video by its id
927 - $ref: '#/components/parameters/idOrUUID'
930 $ref: '#/paths/~1users~1me/put/responses/204'
931 '/videos/{id}/watching':
933 summary: Set watching progress of a video by its id for a user
939 - $ref: '#/components/parameters/idOrUUID'
944 $ref: '#/components/schemas/UserWatchingVideo'
948 $ref: '#/paths/~1users~1me/put/responses/204'
951 summary: Get list of video ownership changes requests
958 description: successful operation
959 '/videos/ownership/{id}/accept':
961 summary: Refuse ownership change request for video by its id
967 - $ref: '#/components/parameters/idOrUUID'
970 $ref: '#/paths/~1users~1me/put/responses/204'
971 '/videos/ownership/{id}/refuse':
973 summary: Accept ownership change request for video by its id
979 - $ref: '#/components/parameters/idOrUUID'
982 $ref: '#/paths/~1users~1me/put/responses/204'
983 '/videos/{id}/give-ownership':
985 summary: Request change of ownership for a video you own, by its id
991 - $ref: '#/components/parameters/idOrUUID'
995 application/x-www-form-urlencoded:
1005 $ref: '#/paths/~1users~1me/put/responses/204'
1007 description: 'Changing video ownership to a remote account is not supported yet'
1010 summary: Upload a video file with its metadata
1017 description: successful operation
1021 $ref: '#/components/schemas/VideoUploadResponse'
1024 multipart/form-data:
1029 description: Video file
1033 description: Channel id that will contain this video
1036 description: Video thumbnail file
1040 description: Video preview file
1044 $ref: '#/components/schemas/VideoPrivacySet'
1046 description: Video category
1049 description: Video licence
1052 description: Video language
1055 description: Video description
1058 description: Whether or not we wait transcoding before publish the video
1061 description: Text describing how to support the video uploader
1064 description: Whether or not this video contains sensitive content
1067 description: Video name
1070 description: Video tags (maximum 5 tags each between 2 and 30 characters)
1079 description: Enable or disable comments for this video
1081 originallyPublishedAt:
1082 description: Date when the content was originally published
1086 $ref: '#/components/schemas/VideoScheduledUpdate'
1093 contentType: video/mp4, video/webm, video/ogg, video/avi, video/quicktime, video/x-msvideo, video/x-flv, video/x-matroska, application/octet-stream
1095 contentType: image/jpeg
1097 contentType: image/jpeg
1101 ## DEPENDENCIES: httpie, jq
1102 # pip install httpie
1103 USERNAME="<your_username>"
1104 PASSWORD="<your_password>"
1105 FILE_PATH="<your_file_path>"
1106 CHANNEL_ID="<your_channel_id>"
1109 API_PATH="https://peertube2.cpy.re/api/v1"
1111 client_id=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_id")
1112 client_secret=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_secret")
1113 token=$(http -b --form POST "$API_PATH/users/token" \
1114 client_id="$client_id" client_secret="$client_secret" grant_type=password response_type=code \
1115 username=$USERNAME \
1116 password=$PASSWORD \
1117 | jq -r ".access_token")
1119 http -b --form POST "$API_PATH/videos/upload" \
1120 videofile@$FILE_PATH \
1121 channelId=$CHANNEL_ID \
1123 "Authorization:Bearer $token"
1126 summary: Import a torrent or magnetURI or HTTP resource (if enabled by the instance administrator)
1133 description: successful operation
1137 $ref: '#/components/schemas/VideoUploadResponse'
1140 multipart/form-data:
1145 description: Torrent File
1149 description: HTTP target URL
1152 description: Magnet URI
1155 description: Channel id that will contain this video
1158 description: Video thumbnail file
1162 description: Video preview file
1166 $ref: '#/components/schemas/VideoPrivacySet'
1168 description: Video category
1171 description: Video licence
1174 description: Video language
1177 description: Video description
1180 description: Whether or not we wait transcoding before publish the video
1183 description: Text describing how to support the video uploader
1186 description: Whether or not this video contains sensitive content
1189 description: Video name
1192 description: Video tags (maximum 5 tags each between 2 and 30 characters)
1201 description: Enable or disable comments for this video
1204 $ref: '#/components/schemas/VideoScheduledUpdate'
1210 contentType: application/x-bittorrent
1212 contentType: image/jpeg
1214 contentType: image/jpeg
1217 summary: Get list of reported video abuses
1223 - $ref: '#/components/parameters/start'
1224 - $ref: '#/components/parameters/count'
1225 - $ref: '#/components/parameters/abusesSort'
1228 description: successful operation
1234 $ref: '#/components/schemas/VideoAbuse'
1235 '/videos/{id}/abuse':
1237 summary: 'Report an abuse, on a video by its id'
1243 - $ref: '#/components/parameters/idOrUUID'
1246 $ref: '#/paths/~1users~1me/put/responses/204'
1247 '/videos/{id}/blacklist':
1249 summary: Put on blacklist a video by its id
1257 - $ref: '#/components/parameters/idOrUUID'
1260 $ref: '#/paths/~1users~1me/put/responses/204'
1262 summary: Delete an entry of the blacklist of a video by its id
1270 - $ref: '#/components/parameters/idOrUUID'
1273 $ref: '#/paths/~1users~1me/put/responses/204'
1276 summary: Get list of videos on blacklist
1284 - $ref: '#/components/parameters/start'
1285 - $ref: '#/components/parameters/count'
1286 - $ref: '#/components/parameters/blacklistsSort'
1289 description: successful operation
1295 $ref: '#/components/schemas/VideoBlacklist'
1296 /videos/{id}/captions:
1298 summary: Get list of video's captions
1302 - $ref: '#/components/parameters/idOrUUID'
1305 description: successful operation
1316 $ref: '#/components/schemas/VideoCaption'
1317 /videos/{id}/captions/{captionLanguage}:
1319 summary: Add or replace a video caption
1323 - $ref: '#/components/parameters/idOrUUID'
1324 - $ref: '#/components/parameters/captionLanguage'
1327 multipart/form-data:
1332 description: The file to upload.
1337 contentType: text/vtt, application/x-subrip
1340 $ref: '#/paths/~1users~1me/put/responses/204'
1342 summary: Delete a video caption
1346 - $ref: '#/components/parameters/idOrUUID'
1347 - $ref: '#/components/parameters/captionLanguage'
1350 $ref: '#/paths/~1users~1me/put/responses/204'
1353 summary: Get list of video channels
1357 - $ref: '#/components/parameters/start'
1358 - $ref: '#/components/parameters/count'
1359 - $ref: '#/components/parameters/sort'
1362 description: successful operation
1368 $ref: '#/components/schemas/VideoChannel'
1370 summary: Creates a video channel for the current user
1377 $ref: '#/paths/~1users~1me/put/responses/204'
1382 $ref: '#/components/schemas/VideoChannelCreate'
1383 '/video-channels/{channelHandle}':
1385 summary: Get a video channel by its id
1389 - $ref: '#/components/parameters/channelHandle'
1392 description: successful operation
1396 $ref: '#/components/schemas/VideoChannel'
1398 summary: Update a video channel by its id
1404 - $ref: '#/components/parameters/channelHandle'
1407 $ref: '#/paths/~1users~1me/put/responses/204'
1412 $ref: '#/components/schemas/VideoChannelUpdate'
1414 summary: Delete a video channel by its id
1420 - $ref: '#/components/parameters/channelHandle'
1423 $ref: '#/paths/~1users~1me/put/responses/204'
1424 '/video-channels/{channelHandle}/videos':
1426 summary: Get videos of a video channel by its id
1431 - $ref: '#/components/parameters/channelHandle'
1434 description: successful operation
1438 $ref: '#/components/schemas/VideoListResponse'
1439 '/accounts/{name}/video-channels':
1441 summary: Get video channels of an account by its name
1445 - $ref: '#/components/parameters/name'
1448 description: successful operation
1454 $ref: '#/components/schemas/VideoChannel'
1455 '/accounts/{name}/ratings':
1457 summary: Get ratings of an account by its name
1463 - $ref: '#/components/parameters/name'
1464 - $ref: '#/components/parameters/start'
1465 - $ref: '#/components/parameters/count'
1466 - $ref: '#/components/parameters/sort'
1470 description: Optionally filter which ratings to retrieve
1478 description: successful operation
1484 $ref: '#/components/schemas/VideoRating'
1485 '/videos/{id}/comment-threads':
1487 summary: Get the comment threads of a video by its id
1491 - $ref: '#/components/parameters/idOrUUID'
1492 - $ref: '#/components/parameters/start'
1493 - $ref: '#/components/parameters/count'
1494 - $ref: '#/components/parameters/sort'
1497 description: successful operation
1501 $ref: '#/components/schemas/CommentThreadResponse'
1503 summary: 'Creates a comment thread, on a video by its id'
1509 - $ref: '#/components/parameters/idOrUUID'
1512 description: successful operation
1516 $ref: '#/components/schemas/CommentThreadPostResponse'
1517 '/videos/{id}/comment-threads/{threadId}':
1519 summary: 'Get the comment thread by its id, of a video by its id'
1523 - $ref: '#/components/parameters/idOrUUID'
1524 - $ref: '#/components/parameters/threadId'
1527 description: successful operation
1531 $ref: '#/components/schemas/VideoCommentThreadTree'
1532 '/videos/{id}/comments/{commentId}':
1534 summary: 'Creates a comment in a comment thread by its id, of a video by its id'
1540 - $ref: '#/components/parameters/idOrUUID'
1541 - $ref: '#/components/parameters/commentId'
1544 description: successful operation
1548 $ref: '#/components/schemas/CommentThreadPostResponse'
1550 summary: 'Delete a comment in a comment thread by its id, of a video by its id'
1556 - $ref: '#/components/parameters/idOrUUID'
1557 - $ref: '#/components/parameters/commentId'
1560 $ref: '#/paths/~1users~1me/put/responses/204'
1561 '/videos/{id}/rate':
1563 summary: Vote for a video by its id
1569 - $ref: '#/components/parameters/idOrUUID'
1572 $ref: '#/paths/~1users~1me/put/responses/204'
1577 summary: Get the videos corresponding to a given query
1579 - $ref: '#/components/parameters/start'
1580 - $ref: '#/components/parameters/count'
1581 - $ref: '#/components/parameters/videosSearchSort'
1585 description: String to search
1590 description: successful operation
1594 $ref: '#/components/schemas/VideoListResponse'
1596 - url: 'https://peertube.cpy.re/api/v1'
1597 description: Live Test Server (live data - stable version)
1598 - url: 'https://peertube2.cpy.re/api/v1'
1599 description: Live Test Server (live data - bleeding edge version)
1600 - url: 'https://peertube3.cpy.re/api/v1'
1601 description: Live Test Server (live data - bleeding edge version)
1615 description: Number of items
1622 description: Sort column (-createdAt for example)
1629 description: Sort videos by criteria
1644 description: Sort videos by criteria
1659 description: Sort blacklists by criteria
1675 description: Sort users by criteria
1686 description: Sort abuses by criteria
1698 The name of the account (chocobozzz or chocobozzz@peertube.cpy.re for
1706 description: The user id
1713 description: The video id or uuid
1717 name: captionLanguage
1720 description: The caption language
1727 description: "The video channel handle (example: 'my_username@example.com' or 'my_username')"
1731 name: subscriptionHandle
1734 description: "The subscription handle (example: 'my_username@example.com' or 'my_username')"
1741 description: The thread id (root comment id)
1748 description: The comment id
1755 description: category id of the video
1768 description: tag(s) of the video
1781 description: tag(s) of the video, where all should be present in the video
1794 description: language id of the video
1807 description: licence id of the video
1820 description: whether to include nsfw videos, if any
1831 Special filters (local for instance) which might require special rights:
1832 * `local` - only videos local to the instance
1833 * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
1843 description: list of uris to check if each is part of the user subscriptions
1851 In the header: *Authorization: Bearer <token\>*
1854 Authenticating via OAuth requires the following steps:
1857 - Have an account with sufficient authorization levels
1859 - [Generate](https://docs.joinpeertube.org/#/api-rest-getting-started) a
1862 - Make Authenticated Requests
1866 tokenUrl: 'https://peertube.example.com/api/v1/users/token'
1869 moderator: Moderator scope
1872 VideoConstantNumber:
1878 VideoConstantString:
1890 description: 'The video privacy (Public = 1, Unlisted = 2, Private = 3)'
1891 VideoPrivacyConstant:
1909 description: 'The video state (Published = 1, to transcode = 2, to import = 3)'
1912 VideoResolutionConstant:
1916 description: 'Video resolution (240, 360, 720 ...)'
1919 VideoScheduledUpdate:
1922 $ref: '#/components/schemas/VideoPrivacySet'
1923 description: Video privacy target
1927 description: When to update the video
1930 VideoAccountSummary:
1944 $ref: '#/components/schemas/Avatar'
1945 VideoChannelSummary:
1959 $ref: '#/components/schemas/Avatar'
1970 $ref: '#/components/schemas/Video'
1976 $ref: '#/components/schemas/VideoResolutionConstant'
1979 description: 'Video file size in bytes'
1990 VideoStreamingPlaylists:
1998 description: 'Playlist type (HLS = 1)'
2022 originallyPublishedAt:
2025 $ref: '#/components/schemas/VideoConstantNumber'
2027 $ref: '#/components/schemas/VideoConstantNumber'
2029 $ref: '#/components/schemas/VideoConstantString'
2031 $ref: '#/components/schemas/VideoPrivacyConstant'
2058 $ref: '#/components/schemas/VideoStateConstant'
2061 $ref: '#/components/schemas/VideoScheduledUpdate'
2069 $ref: '#/components/schemas/VideoAccountSummary'
2071 $ref: '#/components/schemas/VideoChannelSummary'
2080 - $ref: '#/components/schemas/Video'
2088 $ref: '#/components/schemas/VideoChannel'
2090 $ref: '#/components/schemas/Account'
2098 $ref: '#/components/schemas/VideoFile'
2110 $ref: '#/components/schemas/VideoStreamingPlaylists'
2111 VideoImportStateConstant:
2119 description: 'The video import state (Pending = 1, Success = 2, Failed = 3)'
2136 $ref: '#/components/schemas/VideoImportStateConstant'
2146 $ref: '#/components/schemas/Video'
2154 $ref: '#/components/schemas/Account'
2230 $ref: '#/components/schemas/Account'
2231 VideoCommentThreadTree:
2234 $ref: '#/components/schemas/VideoComment'
2238 $ref: '#/components/schemas/VideoCommentThreadTree'
2242 $ref: '#/components/schemas/VideoConstantString'
2274 $ref: '#/components/schemas/Avatar'
2277 - $ref: '#/components/schemas/Actor'
2299 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2313 $ref: '#/components/schemas/Account'
2317 $ref: '#/components/schemas/VideoChannel'
2366 $ref: '#/components/schemas/Actor'
2368 $ref: '#/components/schemas/Actor'
2410 VideoUploadResponse:
2419 CommentThreadResponse:
2426 $ref: '#/components/schemas/VideoComment'
2427 CommentThreadPostResponse:
2430 $ref: '#/components/schemas/VideoComment'
2438 $ref: '#/components/schemas/Video'
2443 description: 'The user username '
2446 description: 'The user password '
2449 description: 'The user email '
2452 description: 'The user videoQuota '
2455 description: 'The user daily video quota '
2462 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2474 description: 'The user id '
2477 description: 'The updated email of the user '
2480 description: 'The updated videoQuota of the user '
2483 description: 'The updated daily video quota of the user '
2490 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2501 description: 'Your new password '
2504 description: 'Your new email '
2507 description: 'Your new displayNSFW '
2510 description: 'Your new autoPlayVideo '
2520 description: 'Id of the video '
2523 description: 'Rating of the video '
2530 $ref: '#/components/schemas/Video'
2533 description: 'Rating of the video'
2541 description: 'The username of the user '
2544 description: 'The password of the user '
2547 description: 'The email of the user '
2550 description: 'The user display name'
2556 description: 'The default channel name'
2559 description: 'The default channel display name'
2586 bulkVideosSupportUpdate:
2588 description: 'Update all videos support field of this channel'