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
17 The PeerTube API is built on HTTP(S) and is RESTful. You can use your favorite
18 HTTP/REST library for your programming language to use PeerTube. No official
19 SDK is currently provided, but the spec API is fully compatible with
20 [openapi-generator](https://github.com/OpenAPITools/openapi-generator/wiki/API-client-generator-HOWTO)
21 which generates a client SDK in the language of your choice.
23 See the [Quick Start guide](https://docs.joinpeertube.org/#/api-rest-getting-started) so you can play with the PeerTube API.
27 When you sign up for an account, you are given the possibility to generate
28 sessions, and authenticate using this session token. One session token can
29 currently be used at a time.
33 The API uses standard HTTP status codes to indicate the success or failure
34 of the API call. The body of the response will be JSON in the following
39 "code": "unauthorized_request", // example inner error code
40 "error": "Token is invalid." // example exposed error message
44 url: https://docs.joinpeertube.org/api-rest-reference.html
48 Using some features of PeerTube require authentication, for which Accounts
49 provide different levels of permission as well as associated user
50 information. Accounts also encompass remote accounts discovered across the federation.
53 Each server exposes public information regarding supported videos and
57 Jobs are long-running tasks enqueued and processed by the instance
58 itself. No additional worker registration is currently available.
59 - name: Instance Follows
61 Managing servers which the instance interacts with is crucial to the
62 concept of federation in PeerTube and external video indexation. The PeerTube
63 server then deals with inter-server ActivityPub operations and propagates
64 information across its social graph by posting activities to actors' inbox
68 Video abuses deal with reports of local or remote videos alike.
71 Operations dealing with listing, uploading, fetching or modifying videos.
74 The search helps to find _videos_ from within the instance and beyond.
75 Videos from other instances federated by the instance (that is, instances
76 followed by the instance) can be found via keywords and other criteria of
78 - name: Video Comments
80 Operations dealing with comments to a video. Comments are organized in
82 - name: Video Playlists
84 Operations dealing with playlists of videos. Playlists are bound to users
86 - name: Video Channels
88 Operations dealing with creation, modification and video listing of a
90 - name: Video Blacklist
92 Operations dealing with blacklisting videos (removing them from view and
93 preventing interactions).
113 - Video Ownership Change
121 - name: Instance Configuration
133 summary: Get an account
135 - $ref: '#/components/parameters/name'
138 description: successful operation
142 $ref: '#/components/schemas/Account'
143 '/accounts/{name}/videos':
148 summary: 'List videos of an 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 uri = URI.parse("https://peertube2.cpy.re/api/v1/accounts/{name}/videos")
178 http = Net::HTTP.new(uri.host, uri.port)
181 response = http.get(uri.request_uri)
183 puts JSON.parse(response.read_body)
188 r = requests.get("https://peertube2.cpy.re/api/v1//accounts/{name}/videos")
196 summary: List accounts
198 - $ref: '#/components/parameters/start'
199 - $ref: '#/components/parameters/count'
200 - $ref: '#/components/parameters/sort'
203 description: successful operation
209 $ref: '#/components/schemas/Account'
214 summary: Get instance public configuration
217 description: successful operation
221 $ref: '#/components/schemas/ServerConfig'
224 summary: Get instance "About" information
229 description: successful operation
233 $ref: '#/components/schemas/ServerConfigAbout'
236 summary: Get instance runtime configuration
244 description: successful operation
248 $ref: '#/components/schemas/ServerConfigCustom'
250 summary: Set instance runtime configuration
258 description: successful operation
260 summary: Delete instance runtime configuration
268 description: successful operation
271 summary: List instance jobs
281 description: The state of the job
290 - $ref: '#/components/parameters/start'
291 - $ref: '#/components/parameters/count'
292 - $ref: '#/components/parameters/sort'
295 description: successful operation
301 $ref: '#/components/schemas/Job'
302 '/server/following/{host}':
309 summary: Unfollow a server
314 description: 'The host to unfollow '
319 description: successful operation
324 summary: List instance followers
326 - $ref: '#/components/parameters/start'
327 - $ref: '#/components/parameters/count'
328 - $ref: '#/components/parameters/sort'
331 description: successful operation
337 $ref: '#/components/schemas/Follow'
342 summary: List instance followings
344 - $ref: '#/components/parameters/start'
345 - $ref: '#/components/parameters/count'
346 - $ref: '#/components/parameters/sort'
349 description: successful operation
355 $ref: '#/components/schemas/Follow'
362 summary: Follow a server
365 $ref: '#/paths/~1users~1me/put/responses/204'
370 $ref: '#/components/schemas/Follow'
373 summary: Create a user
381 description: successful operation
385 $ref: '#/components/schemas/AddUserResponse'
390 $ref: '#/components/schemas/AddUser'
391 description: User to create
400 - $ref: '#/components/parameters/start'
401 - $ref: '#/components/parameters/count'
402 - $ref: '#/components/parameters/usersSort'
405 description: successful operation
411 $ref: '#/components/schemas/User'
414 summary: Delete a user
421 - $ref: '#/components/parameters/id'
424 $ref: '#/paths/~1users~1me/put/responses/204'
432 - $ref: '#/components/parameters/id'
435 description: successful operation
439 $ref: '#/components/schemas/User'
441 summary: Update a user
447 - $ref: '#/components/parameters/id'
450 $ref: '#/paths/~1users~1me/put/responses/204'
455 $ref: '#/components/schemas/UpdateUser'
459 summary: Register a user
464 $ref: '#/paths/~1users~1me/put/responses/204'
469 $ref: '#/components/schemas/RegisterUser'
473 summary: Get my user information
481 description: successful operation
487 $ref: '#/components/schemas/User'
489 summary: Update my user information
497 description: successful operation
502 $ref: '#/components/schemas/UpdateMe'
504 /users/me/videos/imports:
506 summary: Get video imports of my user
514 - $ref: '#/components/parameters/start'
515 - $ref: '#/components/parameters/count'
516 - $ref: '#/components/parameters/sort'
519 description: successful operation
523 $ref: '#/components/schemas/VideoImport'
524 /users/me/video-quota-used:
526 summary: Get my user used quota
534 description: successful operation
539 '/users/me/videos/{videoId}/rating':
541 summary: Get rate of my user of a video
551 description: 'The video id '
556 description: successful operation
560 $ref: '#/components/schemas/GetMeVideoRating'
563 summary: Get videos of my user
571 - $ref: '#/components/parameters/start'
572 - $ref: '#/components/parameters/count'
573 - $ref: '#/components/parameters/sort'
576 description: successful operation
580 $ref: '#/components/schemas/VideoListResponse'
581 /users/me/subscriptions:
583 summary: Get my user subscriptions
590 - $ref: '#/components/parameters/start'
591 - $ref: '#/components/parameters/count'
592 - $ref: '#/components/parameters/sort'
595 description: successful operation
597 summary: Add subscription to my user
605 description: successful operation
606 /users/me/subscriptions/exist:
608 summary: Get if subscriptions exist for my user
615 - $ref: '#/components/parameters/subscriptionsUris'
618 description: successful operation
623 /users/me/subscriptions/videos:
625 summary: List videos of subscriptions of my user
633 - $ref: '#/components/parameters/start'
634 - $ref: '#/components/parameters/count'
635 - $ref: '#/components/parameters/sort'
638 description: successful operation
642 $ref: '#/components/schemas/VideoListResponse'
643 '/users/me/subscriptions/{subscriptionHandle}':
645 summary: Get subscription of my user
652 - $ref: '#/components/parameters/subscriptionHandle'
655 description: successful operation
659 $ref: '#/components/schemas/VideoChannel'
661 summary: Delete subscription of my user
668 - $ref: '#/components/parameters/subscriptionHandle'
671 description: successful operation
672 /users/me/avatar/pick:
674 summary: Update my user avatar
681 description: successful operation
685 $ref: '#/components/schemas/Avatar'
693 description: The file to upload.
698 contentType: image/png, image/jpeg
701 summary: List video ownership changes
703 - Video Ownership Change
708 description: successful operation
709 '/videos/ownership/{id}/accept':
711 summary: Accept ownership change request
713 - Video Ownership Change
717 - $ref: '#/components/parameters/idOrUUID'
720 $ref: '#/paths/~1users~1me/put/responses/204'
721 '/videos/ownership/{id}/refuse':
723 summary: Refuse ownership change request
725 - Video Ownership Change
729 - $ref: '#/components/parameters/idOrUUID'
732 $ref: '#/paths/~1users~1me/put/responses/204'
733 '/videos/{id}/give-ownership':
735 summary: Request ownership change
737 - Video Ownership Change
741 - $ref: '#/components/parameters/idOrUUID'
745 application/x-www-form-urlencoded:
755 $ref: '#/paths/~1users~1me/put/responses/204'
757 description: 'Changing video ownership to a remote account is not supported yet'
764 - $ref: '#/components/parameters/categoryOneOf'
765 - $ref: '#/components/parameters/tagsOneOf'
766 - $ref: '#/components/parameters/tagsAllOf'
767 - $ref: '#/components/parameters/licenceOneOf'
768 - $ref: '#/components/parameters/languageOneOf'
769 - $ref: '#/components/parameters/nsfw'
770 - $ref: '#/components/parameters/filter'
771 - $ref: '#/components/parameters/start'
772 - $ref: '#/components/parameters/count'
773 - $ref: '#/components/parameters/videosSort'
776 description: successful operation
780 $ref: '#/components/schemas/VideoListResponse'
783 summary: List available video categories
788 description: successful operation
797 summary: List available video licences
802 description: successful operation
811 summary: List available video languages
816 description: successful operation
825 summary: List available video privacies
830 description: successful operation
839 summary: Update a video
845 - $ref: '#/components/parameters/idOrUUID'
848 description: successful operation
856 description: Video thumbnail file
860 description: Video preview file
864 description: Video category
867 description: Video licence
870 description: Video language
873 description: Video description
876 description: Whether or not we wait transcoding before publish the video
879 description: Text describing how to support the video uploader
882 description: Whether or not this video contains sensitive content
885 description: Video name
888 description: Video tags (maximum 5 tags each between 2 and 30 characters)
897 description: Enable or disable comments for this video
899 originallyPublishedAt:
900 description: Date when the content was originally published
904 $ref: '#/components/schemas/VideoScheduledUpdate'
907 contentType: image/jpeg
909 contentType: image/jpeg
915 - $ref: '#/components/parameters/idOrUUID'
918 description: successful operation
922 $ref: '#/components/schemas/VideoDetails'
924 summary: Delete a video
930 - $ref: '#/components/parameters/idOrUUID'
933 $ref: '#/paths/~1users~1me/put/responses/204'
934 '/videos/{id}/description':
936 summary: Get complete video description
940 - $ref: '#/components/parameters/idOrUUID'
943 description: successful operation
948 '/videos/{id}/views':
950 summary: Add a view to a video
954 - $ref: '#/components/parameters/idOrUUID'
957 $ref: '#/paths/~1users~1me/put/responses/204'
958 '/videos/{id}/watching':
960 summary: Set watching progress of a video
966 - $ref: '#/components/parameters/idOrUUID'
971 $ref: '#/components/schemas/UserWatchingVideo'
975 $ref: '#/paths/~1users~1me/put/responses/204'
978 summary: Upload a video
985 description: successful operation
989 $ref: '#/components/schemas/VideoUploadResponse'
991 description: 'The user video quota is exceeded with this video.'
993 description: 'Upload has timed out'
995 description: 'Invalid input file.'
1003 description: Video file
1007 description: Channel id that will contain this video
1010 description: Video thumbnail file
1014 description: Video preview file
1018 $ref: '#/components/schemas/VideoPrivacySet'
1020 description: Video category
1023 description: Video licence
1026 description: Video language
1029 description: Video description
1032 description: Whether or not we wait transcoding before publish the video
1035 description: Text describing how to support the video uploader
1038 description: Whether or not this video contains sensitive content
1041 description: Video name
1044 description: Video tags (maximum 5 tags each between 2 and 30 characters)
1053 description: Enable or disable comments for this video
1055 originallyPublishedAt:
1056 description: Date when the content was originally published
1060 $ref: '#/components/schemas/VideoScheduledUpdate'
1067 contentType: video/mp4, video/webm, video/ogg, video/avi, video/quicktime, video/x-msvideo, video/x-flv, video/x-matroska, application/octet-stream
1069 contentType: image/jpeg
1071 contentType: image/jpeg
1075 ## DEPENDENCIES: httpie, jq
1076 # pip install httpie
1077 USERNAME="<your_username>"
1078 PASSWORD="<your_password>"
1079 FILE_PATH="<your_file_path>"
1080 CHANNEL_ID="<your_channel_id>"
1083 API_PATH="https://peertube2.cpy.re/api/v1"
1085 client_id=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_id")
1086 client_secret=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_secret")
1087 token=$(http -b --form POST "$API_PATH/users/token" \
1088 client_id="$client_id" client_secret="$client_secret" grant_type=password response_type=code \
1089 username=$USERNAME \
1090 password=$PASSWORD \
1091 | jq -r ".access_token")
1093 http -b --form POST "$API_PATH/videos/upload" \
1094 videofile@$FILE_PATH \
1095 channelId=$CHANNEL_ID \
1097 "Authorization:Bearer $token"
1100 summary: Import a video
1101 description: Import a torrent or magnetURI or HTTP resource (if enabled by the instance administrator)
1108 description: successful operation
1112 $ref: '#/components/schemas/VideoUploadResponse'
1115 multipart/form-data:
1120 description: Torrent File
1124 description: HTTP target URL
1127 description: Magnet URI
1130 description: Channel id that will contain this video
1133 description: Video thumbnail file
1137 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 (maximum 5 tags each between 2 and 30 characters)
1176 description: Enable or disable comments for this video
1179 $ref: '#/components/schemas/VideoScheduledUpdate'
1185 contentType: application/x-bittorrent
1187 contentType: image/jpeg
1189 contentType: image/jpeg
1192 summary: List video abuses
1200 - $ref: '#/components/parameters/start'
1201 - $ref: '#/components/parameters/count'
1202 - $ref: '#/components/parameters/abusesSort'
1205 description: successful operation
1211 $ref: '#/components/schemas/VideoAbuse'
1212 '/videos/{id}/abuse':
1214 summary: Report an abuse
1220 - $ref: '#/components/parameters/idOrUUID'
1223 $ref: '#/paths/~1users~1me/put/responses/204'
1224 '/videos/{id}/blacklist':
1226 summary: Blacklist a video
1234 - $ref: '#/components/parameters/idOrUUID'
1237 $ref: '#/paths/~1users~1me/put/responses/204'
1239 summary: Delete an entry of the blacklist of a video by its id
1247 - $ref: '#/components/parameters/idOrUUID'
1250 $ref: '#/paths/~1users~1me/put/responses/204'
1253 summary: List blacklisted videos
1261 - $ref: '#/components/parameters/start'
1262 - $ref: '#/components/parameters/count'
1263 - $ref: '#/components/parameters/blacklistsSort'
1266 description: successful operation
1272 $ref: '#/components/schemas/VideoBlacklist'
1273 /videos/{id}/captions:
1275 summary: List captions of a video
1279 - $ref: '#/components/parameters/idOrUUID'
1282 description: successful operation
1293 $ref: '#/components/schemas/VideoCaption'
1294 /videos/{id}/captions/{captionLanguage}:
1296 summary: Add or replace a video caption
1300 - $ref: '#/components/parameters/idOrUUID'
1301 - $ref: '#/components/parameters/captionLanguage'
1304 multipart/form-data:
1309 description: The file to upload.
1314 contentType: text/vtt, application/x-subrip, text/plain
1317 $ref: '#/paths/~1users~1me/put/responses/204'
1319 summary: Delete a video caption
1323 - $ref: '#/components/parameters/idOrUUID'
1324 - $ref: '#/components/parameters/captionLanguage'
1327 $ref: '#/paths/~1users~1me/put/responses/204'
1330 summary: List video channels
1334 - $ref: '#/components/parameters/start'
1335 - $ref: '#/components/parameters/count'
1336 - $ref: '#/components/parameters/sort'
1339 description: successful operation
1345 $ref: '#/components/schemas/VideoChannel'
1347 summary: Create a video channel
1354 $ref: '#/paths/~1users~1me/put/responses/204'
1359 $ref: '#/components/schemas/VideoChannelCreate'
1360 '/video-channels/{channelHandle}':
1362 summary: Get a video channel
1366 - $ref: '#/components/parameters/channelHandle'
1369 description: successful operation
1373 $ref: '#/components/schemas/VideoChannel'
1375 summary: Update a video channel
1381 - $ref: '#/components/parameters/channelHandle'
1384 $ref: '#/paths/~1users~1me/put/responses/204'
1389 $ref: '#/components/schemas/VideoChannelUpdate'
1391 summary: Delete a video channel
1397 - $ref: '#/components/parameters/channelHandle'
1400 $ref: '#/paths/~1users~1me/put/responses/204'
1401 '/video-channels/{channelHandle}/videos':
1403 summary: List videos of a video channel
1408 - $ref: '#/components/parameters/channelHandle'
1411 description: successful operation
1415 $ref: '#/components/schemas/VideoListResponse'
1418 summary: List video playlists
1422 - $ref: '#/components/parameters/start'
1423 - $ref: '#/components/parameters/count'
1424 - $ref: '#/components/parameters/sort'
1427 description: successful operation
1433 $ref: '#/components/schemas/VideoPlaylist'
1434 '/accounts/{name}/video-channels':
1436 summary: List video channels of an account
1441 - $ref: '#/components/parameters/name'
1444 description: successful operation
1450 $ref: '#/components/schemas/VideoChannel'
1451 '/accounts/{name}/ratings':
1453 summary: List ratings of an account
1459 - $ref: '#/components/parameters/name'
1460 - $ref: '#/components/parameters/start'
1461 - $ref: '#/components/parameters/count'
1462 - $ref: '#/components/parameters/sort'
1466 description: Optionally filter which ratings to retrieve
1474 description: successful operation
1480 $ref: '#/components/schemas/VideoRating'
1481 '/videos/{id}/comment-threads':
1483 summary: List threads of a video
1487 - $ref: '#/components/parameters/idOrUUID'
1488 - $ref: '#/components/parameters/start'
1489 - $ref: '#/components/parameters/count'
1490 - $ref: '#/components/parameters/commentsSort'
1493 description: successful operation
1497 $ref: '#/components/schemas/CommentThreadResponse'
1499 summary: Create a thread
1505 - $ref: '#/components/parameters/idOrUUID'
1508 description: successful operation
1512 $ref: '#/components/schemas/CommentThreadPostResponse'
1513 '/videos/{id}/comment-threads/{threadId}':
1515 summary: Get a thread
1519 - $ref: '#/components/parameters/idOrUUID'
1520 - $ref: '#/components/parameters/threadId'
1523 description: successful operation
1527 $ref: '#/components/schemas/VideoCommentThreadTree'
1528 '/videos/{id}/comments/{commentId}':
1530 summary: Reply to a thread of a video
1536 - $ref: '#/components/parameters/idOrUUID'
1537 - $ref: '#/components/parameters/commentId'
1540 description: successful operation
1544 $ref: '#/components/schemas/CommentThreadPostResponse'
1546 summary: Delete a comment or a reply
1552 - $ref: '#/components/parameters/idOrUUID'
1553 - $ref: '#/components/parameters/commentId'
1556 $ref: '#/paths/~1users~1me/put/responses/204'
1557 '/videos/{id}/rate':
1559 summary: Like/dislike a video
1565 - $ref: '#/components/parameters/idOrUUID'
1568 $ref: '#/paths/~1users~1me/put/responses/204'
1573 summary: Search videos
1575 - $ref: '#/components/parameters/start'
1576 - $ref: '#/components/parameters/count'
1577 - $ref: '#/components/parameters/videosSearchSort'
1581 description: String to search
1586 description: successful operation
1590 $ref: '#/components/schemas/VideoListResponse'
1592 - url: 'https://peertube.cpy.re/api/v1'
1593 description: Live Test Server (live data - stable version)
1594 - url: 'https://peertube2.cpy.re/api/v1'
1595 description: Live Test Server (live data - latest nighlty version)
1596 - url: 'https://peertube3.cpy.re/api/v1'
1597 description: Live Test Server (live data - latest RC version)
1611 description: Number of items
1618 description: Sort column (-createdAt for example)
1625 description: Sort videos by criteria
1640 description: Sort videos by criteria
1655 description: Sort comments by criteria
1665 description: Sort blacklists by criteria
1681 description: Sort users by criteria
1692 description: Sort abuses by criteria
1704 The name of the account (chocobozzz or chocobozzz@peertube.cpy.re for
1712 description: The user id
1719 description: The video id or uuid
1723 name: captionLanguage
1726 description: The caption language
1733 description: "The video channel handle (example: 'my_username@example.com' or 'my_username')"
1737 name: subscriptionHandle
1740 description: "The subscription handle (example: 'my_username@example.com' or 'my_username')"
1747 description: The thread id (root comment id)
1754 description: The comment id
1761 description: category id of the video
1774 description: tag(s) of the video
1787 description: tag(s) of the video, where all should be present in the video
1800 description: language id of the video
1813 description: licence id of the video
1826 description: whether to include nsfw videos, if any
1837 Special filters (local for instance) which might require special rights:
1838 * `local` - only videos local to the instance
1839 * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
1849 description: list of uris to check if each is part of the user subscriptions
1857 In the header: *Authorization: Bearer <token\>*
1860 Authenticating via OAuth requires the following steps:
1863 - Have an account with sufficient authorization levels
1865 - [Generate](https://docs.joinpeertube.org/#/api-rest-getting-started) a
1868 - Make Authenticated Requests
1872 tokenUrl: 'https://peertube.example.com/api/v1/users/token'
1875 moderator: Moderator scope
1878 VideoConstantNumber:
1884 VideoConstantString:
1896 description: 'The video privacy (Public = 1, Unlisted = 2, Private = 3)'
1897 VideoPrivacyConstant:
1915 description: 'The video state (Published = 1, to transcode = 2, to import = 3)'
1918 VideoResolutionConstant:
1922 description: 'Video resolution (240, 360, 720 ...)'
1925 VideoScheduledUpdate:
1928 $ref: '#/components/schemas/VideoPrivacySet'
1929 description: Video privacy target
1933 description: When to update the video
1936 VideoAccountSummary:
1950 $ref: '#/components/schemas/Avatar'
1951 VideoChannelSummary:
1965 $ref: '#/components/schemas/Avatar'
1976 $ref: '#/components/schemas/Video'
1982 $ref: '#/components/schemas/VideoResolutionConstant'
1985 description: 'Video file size in bytes'
1996 VideoStreamingPlaylists:
2004 description: 'Playlist type (HLS = 1)'
2028 originallyPublishedAt:
2031 $ref: '#/components/schemas/VideoConstantNumber'
2033 $ref: '#/components/schemas/VideoConstantNumber'
2035 $ref: '#/components/schemas/VideoConstantString'
2037 $ref: '#/components/schemas/VideoPrivacyConstant'
2064 $ref: '#/components/schemas/VideoStateConstant'
2067 $ref: '#/components/schemas/VideoScheduledUpdate'
2075 $ref: '#/components/schemas/VideoAccountSummary'
2077 $ref: '#/components/schemas/VideoChannelSummary'
2086 - $ref: '#/components/schemas/Video'
2094 $ref: '#/components/schemas/VideoChannel'
2096 $ref: '#/components/schemas/Account'
2104 $ref: '#/components/schemas/VideoFile'
2116 $ref: '#/components/schemas/VideoStreamingPlaylists'
2117 VideoImportStateConstant:
2125 description: 'The video import state (Pending = 1, Success = 2, Failed = 3)'
2142 $ref: '#/components/schemas/VideoImportStateConstant'
2152 $ref: '#/components/schemas/Video'
2160 $ref: '#/components/schemas/Account'
2280 totalRepliesFromVideoAuthor:
2285 $ref: '#/components/schemas/Account'
2286 VideoCommentThreadTree:
2289 $ref: '#/components/schemas/VideoComment'
2293 $ref: '#/components/schemas/VideoCommentThreadTree'
2297 $ref: '#/components/schemas/VideoConstantString'
2327 $ref: '#/components/schemas/Avatar'
2330 - $ref: '#/components/schemas/Actor'
2356 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2370 $ref: '#/components/schemas/Account'
2374 $ref: '#/components/schemas/VideoChannel'
2444 allowedForCurrentIP:
2446 requiresEmailVerification:
2649 requiresEmailVerification:
2673 allowAdditionalExtensions:
2741 $ref: '#/components/schemas/Actor'
2743 $ref: '#/components/schemas/Actor'
2785 VideoUploadResponse:
2794 CommentThreadResponse:
2801 $ref: '#/components/schemas/VideoComment'
2802 CommentThreadPostResponse:
2805 $ref: '#/components/schemas/VideoComment'
2813 $ref: '#/components/schemas/Video'
2818 description: 'The user username '
2821 description: 'The user password. If the smtp server is configured, you can leave empty and an email will be sent '
2824 description: 'The user email '
2827 description: 'The user videoQuota '
2830 description: 'The user daily video quota '
2837 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2849 description: 'The user id '
2852 description: 'The updated email of the user '
2855 description: 'The updated videoQuota of the user '
2858 description: 'The updated daily video quota of the user '
2865 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2876 description: 'Your new password '
2879 description: 'Your new email '
2882 description: 'Your new displayNSFW '
2885 description: 'Your new autoPlayVideo '
2895 description: 'Id of the video '
2898 description: 'Rating of the video '
2905 $ref: '#/components/schemas/Video'
2908 description: 'Rating of the video'
2916 description: 'The username of the user '
2919 description: 'The password of the user '
2922 description: 'The email of the user '
2925 description: 'The user display name'
2931 description: 'The default channel name'
2934 description: 'The default channel display name'
2961 bulkVideosSupportUpdate:
2963 description: 'Update all videos support field of this channel'