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).
111 - name: Instance Configuration
115 - name: Notifications
129 summary: Get the account by name
131 - $ref: '#/components/parameters/name'
132 - $ref: '#/components/parameters/start'
133 - $ref: '#/components/parameters/count'
134 - $ref: '#/components/parameters/sort'
137 description: successful operation
141 $ref: '#/components/schemas/Account'
142 '/accounts/{name}/videos':
147 summary: 'Get videos for an account, provided the name of that account'
149 - $ref: '#/components/parameters/name'
152 description: successful operation
156 $ref: '#/components/schemas/VideoListResponse'
160 fetch('https://peertube2.cpy.re/api/v1/accounts/{name}/videos')
161 .then(function(response) {
162 return response.json()
163 }).then(function(data) {
169 http -b GET https://peertube2.cpy.re/api/v1/accounts/{name}/videos
175 url = URI("https://peertube2.cpy.re/api/v1/accounts/{name}/videos")
177 http = Net::HTTP.new(url.host, url.port)
179 http.verify_mode = OpenSSL::SSL::VERIFY_NONE
181 request = Net::HTTP::Post.new(url)
182 request["content-type"] = 'application/json'
183 response = http.request(request)
184 puts response.read_body
189 conn = http.client.HTTPSConnection("https://peertube2.cpy.re/api/v1")
192 'content-type': "application/json"
195 conn.request("POST", "/accounts/{name}/videos", None, headers)
197 res = conn.getresponse()
200 print(data.decode("utf-8"))
205 summary: Get all accounts
208 description: successful operation
214 $ref: '#/components/schemas/Account'
219 summary: Get the public configuration of the server
222 description: successful operation
226 $ref: '#/components/schemas/ServerConfig'
229 summary: Get the instance about page content
234 description: successful operation
237 summary: Get the runtime configuration of the server
245 description: successful operation
247 summary: Set the runtime configuration of the server
255 description: successful operation
257 summary: Delete the runtime configuration of the server
265 description: successful operation
266 '/feeds/videos.{format}':
269 Get the feed of videos for the server, with optional filter by account
278 The format expected (xml defaults to RSS 2.0, atom to ATOM 1.0 and
279 json to JSON FEED 1.0
291 The id of the local account to filter to (beware, users IDs and not
292 actors IDs which will return empty feeds
298 description: The name of the local account to filter to
303 description: successful operation
306 summary: Get list of jobs
316 description: The state of the job
325 - $ref: '#/components/parameters/start'
326 - $ref: '#/components/parameters/count'
327 - $ref: '#/components/parameters/sort'
330 description: successful operation
336 $ref: '#/components/schemas/Job'
337 '/server/following/{host}':
344 summary: Unfollow a server by hostname
349 description: 'The host to unfollow '
354 description: successful operation
359 summary: Get followers of the server
361 - $ref: '#/components/parameters/start'
362 - $ref: '#/components/parameters/count'
363 - $ref: '#/components/parameters/sort'
366 description: successful operation
372 $ref: '#/components/schemas/Follow'
377 summary: Get servers followed by the server
379 - $ref: '#/components/parameters/start'
380 - $ref: '#/components/parameters/count'
381 - $ref: '#/components/parameters/sort'
384 description: successful operation
390 $ref: '#/components/schemas/Follow'
397 summary: Follow a server
400 $ref: '#/paths/~1users~1me/put/responses/204'
405 $ref: '#/components/schemas/Follow'
408 summary: Creates user
416 description: successful operation
420 $ref: '#/components/schemas/AddUserResponse'
425 $ref: '#/components/schemas/AddUser'
426 description: User to create
429 summary: Get a list of users
435 - $ref: '#/components/parameters/start'
436 - $ref: '#/components/parameters/count'
437 - $ref: '#/components/parameters/usersSort'
440 description: successful operation
446 $ref: '#/components/schemas/User'
449 summary: Delete a user by its id
456 - $ref: '#/components/parameters/id'
459 $ref: '#/paths/~1users~1me/put/responses/204'
461 summary: Get user by its id
467 - $ref: '#/components/parameters/id'
470 description: successful operation
474 $ref: '#/components/schemas/User'
476 summary: Update user profile by its id
482 - $ref: '#/components/parameters/id'
485 $ref: '#/paths/~1users~1me/put/responses/204'
490 $ref: '#/components/schemas/UpdateUser'
494 summary: Get current user information
502 description: successful operation
508 $ref: '#/components/schemas/User'
510 summary: Update current user information
518 description: Successful operation
523 $ref: '#/components/schemas/UpdateMe'
525 /users/me/video-quota-used:
527 summary: Get current user used quota
535 description: successful operation
540 '/users/me/videos/{videoId}/rating':
542 summary: 'Get rating of video by its id, among those of the current user'
551 description: 'The video id '
556 description: successful operation
560 $ref: '#/components/schemas/GetMeVideoRating'
563 summary: Get videos of the current user
570 - $ref: '#/components/parameters/start'
571 - $ref: '#/components/parameters/count'
572 - $ref: '#/components/parameters/sort'
575 description: successful operation
579 $ref: '#/components/schemas/VideoListResponse'
580 /users/me/subscriptions:
582 summary: Get subscriptions of the current user
589 - $ref: '#/components/parameters/start'
590 - $ref: '#/components/parameters/count'
591 - $ref: '#/components/parameters/sort'
594 description: successful operation
596 summary: Add subscription to the current user
604 description: successful operation
605 /users/me/subscriptions/exist:
607 summary: Get if subscriptions exist for the current user
614 - $ref: '#/components/parameters/subscriptionsUris'
617 description: successful operation
622 /users/me/subscriptions/videos:
624 summary: Get videos of subscriptions of the current user
631 - $ref: '#/components/parameters/start'
632 - $ref: '#/components/parameters/count'
633 - $ref: '#/components/parameters/sort'
636 description: successful operation
640 $ref: '#/components/schemas/VideoListResponse'
641 '/users/me/subscriptions/{subscriptionHandle}':
643 summary: Get subscription of the current user for a given uri
650 - $ref: '#/components/parameters/subscriptionHandle'
653 description: successful operation
657 $ref: '#/components/schemas/VideoChannel'
659 summary: Delete subscription of the current user for a given uri
666 - $ref: '#/components/parameters/subscriptionHandle'
669 description: successful operation
672 summary: Register a user
677 $ref: '#/paths/~1users~1me/put/responses/204'
682 $ref: '#/components/schemas/RegisterUser'
684 /users/me/avatar/pick:
686 summary: Update current user avatar
693 description: successful operation
697 $ref: '#/components/schemas/Avatar'
705 description: The file to upload.
710 # only accept png/jpeg
711 contentType: image/png, image/jpeg
714 summary: Get list of videos
718 - $ref: '#/components/parameters/categoryOneOf'
719 - $ref: '#/components/parameters/tagsOneOf'
720 - $ref: '#/components/parameters/tagsAllOf'
721 - $ref: '#/components/parameters/licenceOneOf'
722 - $ref: '#/components/parameters/languageOneOf'
723 - $ref: '#/components/parameters/nsfw'
724 - $ref: '#/components/parameters/filter'
725 - $ref: '#/components/parameters/start'
726 - $ref: '#/components/parameters/count'
727 - $ref: '#/components/parameters/videosSort'
730 description: successful operation
734 $ref: '#/components/schemas/VideoListResponse'
737 summary: Get list of video licences known by the server
742 description: successful operation
751 summary: Get list of video licences known by the server
756 description: successful operation
765 summary: Get list of languages known by the server
770 description: successful operation
779 summary: Get list of privacy policies supported by the server
784 description: successful operation
793 summary: Update metadata for a video by its id
799 - $ref: '#/components/parameters/idOrUUID'
802 description: successful operation
806 $ref: '#/components/schemas/Video'
814 description: Video thumbnail file
817 description: Video preview file
820 description: Video category
823 description: Video licence
826 description: Video language
829 description: Video description
832 description: Whether or not we wait transcoding before publish the video
835 description: Text describing how to support the video uploader
838 description: Whether or not this video contains sensitive content
841 description: Video name
844 description: Video tags (maximum 5 tags each between 2 and 30 characters)
849 description: Enable or disable comments for this video
852 $ref: '#/components/schemas/VideoScheduledUpdate'
854 summary: Get a video by its id
858 - $ref: '#/components/parameters/idOrUUID'
861 description: successful operation
865 $ref: '#/components/schemas/VideoDetails'
867 summary: Delete a video by its id
873 - $ref: '#/components/parameters/idOrUUID'
876 $ref: '#/paths/~1users~1me/put/responses/204'
877 '/videos/{id}/description':
879 summary: Get a video description by its id
883 - $ref: '#/components/parameters/idOrUUID'
886 description: successful operation
891 '/videos/{id}/views':
893 summary: Add a view to the video by its id
897 - $ref: '#/components/parameters/idOrUUID'
900 $ref: '#/paths/~1users~1me/put/responses/204'
901 '/videos/{id}/watching':
903 summary: Set watching progress of a video by its id for a user
909 - $ref: '#/components/parameters/idOrUUID'
914 $ref: '#/components/schemas/UserWatchingVideo'
918 $ref: '#/paths/~1users~1me/put/responses/204'
921 summary: Get list of video ownership changes requests
928 description: successful operation
929 '/videos/ownership/{id}/accept':
931 summary: Refuse ownership change request for video by its id
937 - $ref: '#/components/parameters/idOrUUID'
940 $ref: '#/paths/~1users~1me/put/responses/204'
941 '/videos/ownership/{id}/refuse':
943 summary: Accept ownership change request for video by its id
949 - $ref: '#/components/parameters/idOrUUID'
952 $ref: '#/paths/~1users~1me/put/responses/204'
953 '/videos/{id}/give-ownership':
955 summary: Request change of ownership for a video you own, by its id
961 - $ref: '#/components/parameters/idOrUUID'
965 application/x-www-form-urlencoded:
975 $ref: '#/paths/~1users~1me/put/responses/204'
977 description: 'Changing video ownership to a remote account is not supported yet'
980 summary: Upload a video file with its metadata
987 description: successful operation
991 $ref: '#/components/schemas/VideoUploadResponse'
999 description: Video file
1003 description: Channel id that will contain this video
1006 description: Video thumbnail file
1009 description: Video preview file
1012 $ref: '#/components/schemas/VideoPrivacySet'
1014 description: Video category
1017 description: Video licence
1020 description: Video language
1023 description: Video description
1026 description: Whether or not we wait transcoding before publish the video
1029 description: Text describing how to support the video uploader
1032 description: Whether or not this video contains sensitive content
1035 description: Video name
1038 description: Video tags
1043 description: Enable or disable comments for this video
1046 $ref: '#/components/schemas/VideoScheduledUpdate'
1054 ## DEPENDENCIES: httpie, jq
1055 # pip install httpie
1056 USERNAME="<your_username>"
1057 PASSWORD="<your_password>"
1058 FILE_PATH="<your_file_path>"
1059 CHANNEL_ID="<your_channel_id>"
1062 API_PATH="https://peertube2.cpy.re/api/v1"
1064 client_id=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_id")
1065 client_secret=$(http -b GET "$API_PATH/oauth-clients/local" | jq -r ".client_secret")
1066 token=$(http -b --form POST "$API_PATH/users/token" \
1067 client_id="$client_id" client_secret="$client_secret" grant_type=password response_type=code \
1068 username=$USERNAME \
1069 password=$PASSWORD \
1070 | jq -r ".access_token")
1072 http -b --form POST "$API_PATH/videos/upload" \
1073 videofile@$FILE_PATH \
1074 channelId=$CHANNEL_ID \
1076 "Authorization:Bearer $token"
1079 summary: Import a torrent or magnetURI or HTTP ressource (if enabled by the instance administrator)
1086 description: successful operation
1090 $ref: '#/components/schemas/VideoUploadResponse'
1093 multipart/form-data:
1098 description: Torrent File
1102 description: HTTP target URL
1105 description: Magnet URI
1108 description: Channel id that will contain this video
1111 description: Video thumbnail file
1114 description: Video preview file
1117 $ref: '#/components/schemas/VideoPrivacySet'
1119 description: Video category
1122 description: Video licence
1125 description: Video language
1128 description: Video description
1131 description: Whether or not we wait transcoding before publish the video
1134 description: Text describing how to support the video uploader
1137 description: Whether or not this video contains sensitive content
1140 description: Video name
1143 description: Video tags
1148 description: Enable or disable comments for this video
1151 $ref: '#/components/schemas/VideoScheduledUpdate'
1157 summary: Get list of reported video abuses
1163 - $ref: '#/components/parameters/start'
1164 - $ref: '#/components/parameters/count'
1165 - $ref: '#/components/parameters/abusesSort'
1168 description: successful operation
1174 $ref: '#/components/schemas/VideoAbuse'
1175 '/videos/{id}/abuse':
1177 summary: 'Report an abuse, on a video by its id'
1183 - $ref: '#/components/parameters/idOrUUID'
1186 $ref: '#/paths/~1users~1me/put/responses/204'
1187 '/videos/{id}/blacklist':
1189 summary: Put on blacklist a video by its id
1197 - $ref: '#/components/parameters/idOrUUID'
1200 $ref: '#/paths/~1users~1me/put/responses/204'
1202 summary: Delete an entry of the blacklist of a video by its id
1210 - $ref: '#/components/parameters/idOrUUID'
1213 $ref: '#/paths/~1users~1me/put/responses/204'
1216 summary: Get list of videos on blacklist
1224 - $ref: '#/components/parameters/start'
1225 - $ref: '#/components/parameters/count'
1226 - $ref: '#/components/parameters/blacklistsSort'
1229 description: successful operation
1235 $ref: '#/components/schemas/VideoBlacklist'
1236 /videos/{id}/captions:
1238 summary: Get list of video's captions
1242 - $ref: '#/components/parameters/idOrUUID'
1245 description: successful operation
1256 $ref: '#/components/schemas/VideoCaption'
1257 /videos/{id}/captions/{captionLanguage}:
1259 summary: Add or replace a video caption
1263 - $ref: '#/components/parameters/idOrUUID'
1264 - $ref: '#/components/parameters/captionLanguage'
1267 multipart/form-data:
1272 description: The file to upload.
1277 $ref: '#/paths/~1users~1me/put/responses/204'
1279 summary: Delete a video caption
1283 - $ref: '#/components/parameters/idOrUUID'
1284 - $ref: '#/components/parameters/captionLanguage'
1287 $ref: '#/paths/~1users~1me/put/responses/204'
1290 summary: Get list of video channels
1294 - $ref: '#/components/parameters/start'
1295 - $ref: '#/components/parameters/count'
1296 - $ref: '#/components/parameters/sort'
1299 description: successful operation
1305 $ref: '#/components/schemas/VideoChannel'
1307 summary: Creates a video channel for the current user
1314 $ref: '#/paths/~1users~1me/put/responses/204'
1319 $ref: '#/components/schemas/VideoChannelCreate'
1320 '/video-channels/{channelHandle}':
1322 summary: Get a video channel by its id
1326 - $ref: '#/components/parameters/channelHandle'
1329 description: successful operation
1333 $ref: '#/components/schemas/VideoChannel'
1335 summary: Update a video channel by its id
1341 - $ref: '#/components/parameters/channelHandle'
1344 $ref: '#/paths/~1users~1me/put/responses/204'
1349 $ref: '#/components/schemas/VideoChannelUpdate'
1351 summary: Delete a video channel by its id
1357 - $ref: '#/components/parameters/channelHandle'
1360 $ref: '#/paths/~1users~1me/put/responses/204'
1361 '/video-channels/{channelHandle}/videos':
1363 summary: Get videos of a video channel by its id
1368 - $ref: '#/components/parameters/channelHandle'
1371 description: successful operation
1375 $ref: '#/components/schemas/VideoListResponse'
1376 '/accounts/{name}/video-channels':
1378 summary: Get video channels of an account by its name
1382 - $ref: '#/components/parameters/name'
1385 description: successful operation
1391 $ref: '#/components/schemas/VideoChannel'
1392 '/accounts/{name}/ratings':
1394 summary: Get ratings of an account by its name
1400 - $ref: '#/components/parameters/name'
1401 - $ref: '#/components/parameters/start'
1402 - $ref: '#/components/parameters/count'
1403 - $ref: '#/components/parameters/sort'
1407 description: Optionaly filter which ratings to retrieve
1415 description: successful operation
1421 $ref: '#/components/schemas/VideoRating'
1422 '/videos/{id}/comment-threads':
1424 summary: Get the comment threads of a video by its id
1428 - $ref: '#/components/parameters/idOrUUID'
1429 - $ref: '#/components/parameters/start'
1430 - $ref: '#/components/parameters/count'
1431 - $ref: '#/components/parameters/sort'
1434 description: successful operation
1438 $ref: '#/components/schemas/CommentThreadResponse'
1440 summary: 'Creates a comment thread, on a video by its id'
1446 - $ref: '#/components/parameters/idOrUUID'
1449 description: successful operation
1453 $ref: '#/components/schemas/CommentThreadPostResponse'
1454 '/videos/{id}/comment-threads/{threadId}':
1456 summary: 'Get the comment thread by its id, of a video by its id'
1460 - $ref: '#/components/parameters/idOrUUID'
1461 - $ref: '#/components/parameters/threadId'
1464 description: successful operation
1468 $ref: '#/components/schemas/VideoCommentThreadTree'
1469 '/videos/{id}/comments/{commentId}':
1471 summary: 'Creates a comment in a comment thread by its id, of a video by its id'
1477 - $ref: '#/components/parameters/idOrUUID'
1478 - $ref: '#/components/parameters/commentId'
1481 description: successful operation
1485 $ref: '#/components/schemas/CommentThreadPostResponse'
1487 summary: 'Delete a comment in a comment thread by its id, of a video by its id'
1493 - $ref: '#/components/parameters/idOrUUID'
1494 - $ref: '#/components/parameters/commentId'
1497 $ref: '#/paths/~1users~1me/put/responses/204'
1498 '/videos/{id}/rate':
1500 summary: Vote for a video by its id
1506 - $ref: '#/components/parameters/idOrUUID'
1509 $ref: '#/paths/~1users~1me/put/responses/204'
1514 summary: Get the videos corresponding to a given query
1516 - $ref: '#/components/parameters/start'
1517 - $ref: '#/components/parameters/count'
1518 - $ref: '#/components/parameters/videosSearchSort'
1522 description: String to search
1527 description: successful operation
1531 $ref: '#/components/schemas/VideoListResponse'
1533 - url: 'https://peertube.cpy.re/api/v1'
1534 description: Live Test Server (live data - stable version)
1535 - url: 'https://peertube2.cpy.re/api/v1'
1536 description: Live Test Server (live data - bleeding edge version)
1537 - url: 'https://peertube3.cpy.re/api/v1'
1538 description: Live Test Server (live data - bleeding edge version)
1552 description: Number of items
1559 description: Sort column (-createdAt for example)
1566 description: Sort videos by criteria
1581 description: Sort videos by criteria
1596 description: Sort blacklists by criteria
1612 description: Sort users by criteria
1623 description: Sort abuses by criteria
1635 The name of the account (chocobozzz or chocobozzz@peertube.cpy.re for
1643 description: The user id
1650 description: The video id or uuid
1654 name: captionLanguage
1657 description: The caption language
1664 description: "The video channel handle (example: 'my_username@example.com' or 'my_username')"
1668 name: subscriptionHandle
1671 description: "The subscription handle (example: 'my_username@example.com' or 'my_username')"
1678 description: The thread id (root comment id)
1685 description: The comment id
1692 description: category id of the video
1705 description: tag(s) of the video
1718 description: tag(s) of the video, where all should be present in the video
1731 description: language id of the video
1744 description: licence id of the video
1757 description: whether to include nsfw videos, if any
1768 Special filters (local for instance) which might require special rights:
1769 * `local` - only videos local to the instance
1770 * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
1780 description: list of uris to check if each is part of the user subscriptions
1788 In the header: *Authorization: Bearer <token\>*
1791 Authenticating via OAuth requires the following steps:
1794 - Have an account with sufficient authorization levels
1796 - [Generate](https://docs.joinpeertube.org/#/api-rest-getting-started) a
1799 - Make Authenticated Requests
1803 tokenUrl: 'https://peertube.example.com/api/v1/users/token'
1806 moderator: Moderator scope
1809 VideoConstantNumber:
1815 VideoConstantString:
1827 description: 'The video privacy (Public = 1, Unlisted = 2, Private = 3)'
1828 VideoPrivacyConstant:
1846 description: 'The video state (Published = 1, to transcode = 2, to import = 3)'
1849 VideoResolutionConstant:
1853 description: 'Video resolution (240, 360, 720 ...)'
1856 VideoScheduledUpdate:
1859 $ref: '#/components/schemas/VideoPrivacySet'
1860 description: Video privacy target
1864 description: When to update the video
1867 VideoAccountSummary:
1881 $ref: '#/components/schemas/Avatar'
1882 VideoChannelSummary:
1896 $ref: '#/components/schemas/Avatar'
1910 $ref: '#/components/schemas/VideoResolutionConstant'
1913 description: 'Video file size in bytes'
1916 torrentDownaloadUrl:
1924 VideoStreamingPlaylists:
1932 description: 'Playlist type (HLS = 1)'
1956 originallyPublishedAt:
1959 $ref: '#/components/schemas/VideoConstantNumber'
1961 $ref: '#/components/schemas/VideoConstantNumber'
1963 $ref: '#/components/schemas/VideoConstantString'
1965 $ref: '#/components/schemas/VideoPrivacyConstant'
1992 $ref: '#/components/schemas/VideoStateConstant'
1995 $ref: '#/components/schemas/VideoScheduledUpdate'
2003 $ref: '#/components/schemas/VideoAccountSummary'
2005 $ref: '#/components/schemas/VideoChannelSummary'
2014 $ref: '#/components/schemas/PlaylistElement'
2017 - $ref: '#/components/schemas/Video'
2025 $ref: '#/components/schemas/VideoChannel'
2027 $ref: '#/components/schemas/Account'
2035 $ref: '#/components/schemas/VideoFile'
2047 $ref: '#/components/schemas/VideoStreamingPlaylists'
2055 $ref: '#/components/schemas/Account'
2131 $ref: '#/components/schemas/Account'
2132 VideoCommentThreadTree:
2135 $ref: '#/components/schemas/VideoComment'
2139 $ref: '#/components/schemas/VideoCommentThreadTree'
2143 $ref: '#/components/schemas/VideoConstantString'
2175 $ref: '#/components/schemas/Avatar'
2178 - $ref: '#/components/schemas/Actor'
2200 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2214 $ref: '#/components/schemas/Account'
2218 $ref: '#/components/schemas/VideoChannel'
2267 $ref: '#/components/schemas/Actor'
2269 $ref: '#/components/schemas/Actor'
2311 VideoUploadResponse:
2320 CommentThreadResponse:
2327 $ref: '#/components/schemas/VideoComment'
2328 CommentThreadPostResponse:
2331 $ref: '#/components/schemas/VideoComment'
2339 $ref: '#/components/schemas/Video'
2344 description: 'The user username '
2347 description: 'The user password '
2350 description: 'The user email '
2353 description: 'The user videoQuota '
2356 description: 'The user daily video quota '
2363 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2375 description: 'The user id '
2378 description: 'The updated email of the user '
2381 description: 'The updated videoQuota of the user '
2384 description: 'The updated daily video quota of the user '
2391 description: 'The user role (Admin = 0, Moderator = 1, User = 2)'
2402 description: 'Your new password '
2405 description: 'Your new email '
2408 description: 'Your new displayNSFW '
2411 description: 'Your new autoPlayVideo '
2421 description: 'Id of the video '
2424 description: 'Rating of the video '
2431 $ref: '#/components/schemas/Video'
2434 description: 'Rating of the video'
2442 description: 'The username of the user '
2445 description: 'The password of the user '
2448 description: 'The email of the user '
2451 description: 'The user display name'
2457 description: 'The default channel name'
2460 description: 'The default channel display name'
2487 bulkVideosSupportUpdate:
2489 description: 'Update all videos support field of this channel'