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
1066 $ref: '#/components/schemas/VideoScheduledUpdate'
1074 ## DEPENDENCIES: httpie, jq
1075 # pip install httpie
1076 USERNAME="<your_username>"
1077 PASSWORD="<your_password>"
1078 FILE_PATH="<your_file_path>"
1079 CHANNEL_ID="<your_channel_id>"
1082 API_PATH="https://peertube2.cpy.re/api/v1"
1084 client_id=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_id")
1085 client_secret=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_secret")
1086 token=$(http -b --form POST "$API_PATH/users/token" \
1087 client_id="$client_id" client_secret="$client_secret" grant_type=password response_type=code \
1088 username=$USERNAME \
1089 password=$PASSWORD \
1090 | jq -r ".access_token")
1092 http -b --form POST "$API_PATH/videos/upload" \
1093 videofile@$FILE_PATH \
1094 channelId=$CHANNEL_ID \
1096 "Authorization:Bearer $token"
1099 summary: Import a torrent or magnetURI or HTTP ressource (if enabled by the instance administrator)
1106 description: successful operation
1110 $ref: '#/components/schemas/VideoUploadResponse'
1113 multipart/form-data:
1118 description: Torrent File
1122 description: HTTP target URL
1125 description: Magnet URI
1128 description: Channel id that will contain this video
1131 description: Video thumbnail file
1134 description: Video preview file
1137 $ref: '#/components/schemas/VideoPrivacySet'
1139 description: Video category
1142 description: Video licence
1145 description: Video language
1148 description: Video description
1151 description: Whether or not we wait transcoding before publish the video
1154 description: Text describing how to support the video uploader
1157 description: Whether or not this video contains sensitive content
1160 description: Video name
1163 description: Video tags
1168 description: Enable or disable comments for this video
1171 $ref: '#/components/schemas/VideoScheduledUpdate'
1177 summary: Get list of reported video abuses
1183 - $ref: '#/components/parameters/start'
1184 - $ref: '#/components/parameters/count'
1185 - $ref: '#/components/parameters/abusesSort'
1188 description: successful operation
1194 $ref: '#/components/schemas/VideoAbuse'
1195 '/videos/{id}/abuse':
1197 summary: 'Report an abuse, on a video by its id'
1203 - $ref: '#/components/parameters/idOrUUID'
1206 $ref: '#/paths/~1users~1me/put/responses/204'
1207 '/videos/{id}/blacklist':
1209 summary: Put on blacklist a video by its id
1217 - $ref: '#/components/parameters/idOrUUID'
1220 $ref: '#/paths/~1users~1me/put/responses/204'
1222 summary: Delete an entry of the blacklist of a video by its id
1230 - $ref: '#/components/parameters/idOrUUID'
1233 $ref: '#/paths/~1users~1me/put/responses/204'
1236 summary: Get list of videos on blacklist
1244 - $ref: '#/components/parameters/start'
1245 - $ref: '#/components/parameters/count'
1246 - $ref: '#/components/parameters/blacklistsSort'
1249 description: successful operation
1255 $ref: '#/components/schemas/VideoBlacklist'
1256 /videos/{id}/captions:
1258 summary: Get list of video's captions
1262 - $ref: '#/components/parameters/idOrUUID'
1265 description: successful operation
1276 $ref: '#/components/schemas/VideoCaption'
1277 /videos/{id}/captions/{captionLanguage}:
1279 summary: Add or replace a video caption
1283 - $ref: '#/components/parameters/idOrUUID'
1284 - $ref: '#/components/parameters/captionLanguage'
1287 multipart/form-data:
1292 description: The file to upload.
1297 $ref: '#/paths/~1users~1me/put/responses/204'
1299 summary: Delete a video caption
1303 - $ref: '#/components/parameters/idOrUUID'
1304 - $ref: '#/components/parameters/captionLanguage'
1307 $ref: '#/paths/~1users~1me/put/responses/204'
1310 summary: Get list of video channels
1314 - $ref: '#/components/parameters/start'
1315 - $ref: '#/components/parameters/count'
1316 - $ref: '#/components/parameters/sort'
1319 description: successful operation
1325 $ref: '#/components/schemas/VideoChannel'
1327 summary: Creates a video channel for the current user
1334 $ref: '#/paths/~1users~1me/put/responses/204'
1339 $ref: '#/components/schemas/VideoChannelCreate'
1340 '/video-channels/{channelHandle}':
1342 summary: Get a video channel by its id
1346 - $ref: '#/components/parameters/channelHandle'
1349 description: successful operation
1353 $ref: '#/components/schemas/VideoChannel'
1355 summary: Update a video channel by its id
1361 - $ref: '#/components/parameters/channelHandle'
1364 $ref: '#/paths/~1users~1me/put/responses/204'
1369 $ref: '#/components/schemas/VideoChannelUpdate'
1371 summary: Delete a video channel by its id
1377 - $ref: '#/components/parameters/channelHandle'
1380 $ref: '#/paths/~1users~1me/put/responses/204'
1381 '/video-channels/{channelHandle}/videos':
1383 summary: Get videos of a video channel by its id
1388 - $ref: '#/components/parameters/channelHandle'
1391 description: successful operation
1395 $ref: '#/components/schemas/VideoListResponse'
1396 '/accounts/{name}/video-channels':
1398 summary: Get video channels of an account by its name
1402 - $ref: '#/components/parameters/name'
1405 description: successful operation
1411 $ref: '#/components/schemas/VideoChannel'
1412 '/accounts/{name}/ratings':
1414 summary: Get ratings of an account by its name
1420 - $ref: '#/components/parameters/name'
1421 - $ref: '#/components/parameters/start'
1422 - $ref: '#/components/parameters/count'
1423 - $ref: '#/components/parameters/sort'
1427 description: Optionaly filter which ratings to retrieve
1435 description: successful operation
1441 $ref: '#/components/schemas/VideoRating'
1442 '/videos/{id}/comment-threads':
1444 summary: Get the comment threads of a video by its id
1448 - $ref: '#/components/parameters/idOrUUID'
1449 - $ref: '#/components/parameters/start'
1450 - $ref: '#/components/parameters/count'
1451 - $ref: '#/components/parameters/sort'
1454 description: successful operation
1458 $ref: '#/components/schemas/CommentThreadResponse'
1460 summary: 'Creates a comment thread, on a video by its id'
1466 - $ref: '#/components/parameters/idOrUUID'
1469 description: successful operation
1473 $ref: '#/components/schemas/CommentThreadPostResponse'
1474 '/videos/{id}/comment-threads/{threadId}':
1476 summary: 'Get the comment thread by its id, of a video by its id'
1480 - $ref: '#/components/parameters/idOrUUID'
1481 - $ref: '#/components/parameters/threadId'
1484 description: successful operation
1488 $ref: '#/components/schemas/VideoCommentThreadTree'
1489 '/videos/{id}/comments/{commentId}':
1491 summary: 'Creates a comment in a comment thread by its id, of a video by its id'
1497 - $ref: '#/components/parameters/idOrUUID'
1498 - $ref: '#/components/parameters/commentId'
1501 description: successful operation
1505 $ref: '#/components/schemas/CommentThreadPostResponse'
1507 summary: 'Delete 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 $ref: '#/paths/~1users~1me/put/responses/204'
1518 '/videos/{id}/rate':
1520 summary: Vote for a video by its id
1526 - $ref: '#/components/parameters/idOrUUID'
1529 $ref: '#/paths/~1users~1me/put/responses/204'
1534 summary: Get the videos corresponding to a given query
1536 - $ref: '#/components/parameters/start'
1537 - $ref: '#/components/parameters/count'
1538 - $ref: '#/components/parameters/videosSearchSort'
1542 description: String to search
1547 description: successful operation
1551 $ref: '#/components/schemas/VideoListResponse'
1553 - url: 'https://peertube.cpy.re/api/v1'
1554 description: Live Test Server (live data - stable version)
1555 - url: 'https://peertube2.cpy.re/api/v1'
1556 description: Live Test Server (live data - bleeding edge version)
1557 - url: 'https://peertube3.cpy.re/api/v1'
1558 description: Live Test Server (live data - bleeding edge version)
1572 description: Number of items
1579 description: Sort column (-createdAt for example)
1586 description: Sort videos by criteria
1601 description: Sort videos by criteria
1616 description: Sort blacklists by criteria
1632 description: Sort users by criteria
1643 description: Sort abuses by criteria
1655 The name of the account (chocobozzz or chocobozzz@peertube.cpy.re for
1663 description: The user id
1670 description: The video id or uuid
1674 name: captionLanguage
1677 description: The caption language
1684 description: "The video channel handle (example: 'my_username@example.com' or 'my_username')"
1688 name: subscriptionHandle
1691 description: "The subscription handle (example: 'my_username@example.com' or 'my_username')"
1698 description: The thread id (root comment id)
1705 description: The comment id
1712 description: category id of the video
1725 description: tag(s) of the video
1738 description: tag(s) of the video, where all should be present in the video
1751 description: language id of the video
1764 description: licence id of the video
1777 description: whether to include nsfw videos, if any
1788 Special filters (local for instance) which might require special rights:
1789 * `local` - only videos local to the instance
1790 * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
1800 description: list of uris to check if each is part of the user subscriptions
1808 In the header: *Authorization: Bearer <token\>*
1811 Authenticating via OAuth requires the following steps:
1814 - Have an account with sufficient authorization levels
1816 - [Generate](https://docs.joinpeertube.org/#/api-rest-getting-started) a
1819 - Make Authenticated Requests
1823 tokenUrl: 'https://peertube.example.com/api/v1/users/token'
1826 moderator: Moderator scope
1829 VideoConstantNumber:
1835 VideoConstantString:
1847 description: 'The video privacy (Public = 1, Unlisted = 2, Private = 3)'
1848 VideoPrivacyConstant:
1866 description: 'The video state (Published = 1, to transcode = 2, to import = 3)'
1869 VideoResolutionConstant:
1873 description: 'Video resolution (240, 360, 720 ...)'
1876 VideoScheduledUpdate:
1879 $ref: '#/components/schemas/VideoPrivacySet'
1880 description: Video privacy target
1884 description: When to update the video
1887 VideoAccountSummary:
1901 $ref: '#/components/schemas/Avatar'
1902 VideoChannelSummary:
1916 $ref: '#/components/schemas/Avatar'
1930 $ref: '#/components/schemas/VideoResolutionConstant'
1933 description: 'Video file size in bytes'
1936 torrentDownaloadUrl:
1944 VideoStreamingPlaylists:
1952 description: 'Playlist type (HLS = 1)'
1976 originallyPublishedAt:
1979 $ref: '#/components/schemas/VideoConstantNumber'
1981 $ref: '#/components/schemas/VideoConstantNumber'
1983 $ref: '#/components/schemas/VideoConstantString'
1985 $ref: '#/components/schemas/VideoPrivacyConstant'
2012 $ref: '#/components/schemas/VideoStateConstant'
2015 $ref: '#/components/schemas/VideoScheduledUpdate'
2023 $ref: '#/components/schemas/VideoAccountSummary'
2025 $ref: '#/components/schemas/VideoChannelSummary'
2034 $ref: '#/components/schemas/PlaylistElement'
2037 - $ref: '#/components/schemas/Video'
2045 $ref: '#/components/schemas/VideoChannel'
2047 $ref: '#/components/schemas/Account'
2055 $ref: '#/components/schemas/VideoFile'
2067 $ref: '#/components/schemas/VideoStreamingPlaylists'
2068 VideoImportStateConstant:
2076 description: 'The video import state (Pending = 1, Success = 2, Failed = 3)'
2093 $ref: '#/components/schemas/VideoImportStateConstant'
2103 $ref: '#/components/schemas/Video'
2111 $ref: '#/components/schemas/Account'
2187 $ref: '#/components/schemas/Account'
2188 VideoCommentThreadTree:
2191 $ref: '#/components/schemas/VideoComment'
2195 $ref: '#/components/schemas/VideoCommentThreadTree'
2199 $ref: '#/components/schemas/VideoConstantString'
2231 $ref: '#/components/schemas/Avatar'
2234 - $ref: '#/components/schemas/Actor'
2256 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2270 $ref: '#/components/schemas/Account'
2274 $ref: '#/components/schemas/VideoChannel'
2323 $ref: '#/components/schemas/Actor'
2325 $ref: '#/components/schemas/Actor'
2367 VideoUploadResponse:
2376 CommentThreadResponse:
2383 $ref: '#/components/schemas/VideoComment'
2384 CommentThreadPostResponse:
2387 $ref: '#/components/schemas/VideoComment'
2395 $ref: '#/components/schemas/Video'
2400 description: 'The user username '
2403 description: 'The user password '
2406 description: 'The user email '
2409 description: 'The user videoQuota '
2412 description: 'The user daily video quota '
2419 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2431 description: 'The user id '
2434 description: 'The updated email of the user '
2437 description: 'The updated videoQuota of the user '
2440 description: 'The updated daily video quota of the user '
2447 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2458 description: 'Your new password '
2461 description: 'Your new email '
2464 description: 'Your new displayNSFW '
2467 description: 'Your new autoPlayVideo '
2477 description: 'Id of the video '
2480 description: 'Rating of the video '
2487 $ref: '#/components/schemas/Video'
2490 description: 'Rating of the video'
2498 description: 'The username of the user '
2501 description: 'The password of the user '
2504 description: 'The email of the user '
2507 description: 'The user display name'
2513 description: 'The default channel name'
2516 description: 'The default channel display name'
2543 bulkVideosSupportUpdate:
2545 description: 'Update all videos support field of this channel'