5 description: Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.
6 host: peertube.example.com
24 description: 'The id of the account'
29 description: 'starting page'
34 description: 'stopping page'
39 description: 'sorting'
42 description: successful operation
44 $ref: '#/definitions/Account'
55 description: successful operation
59 $ref: '#/definitions/Account'
70 description: successful operation
72 $ref: '#/definitions/ServerConfig'
86 description: 'The id of the account'
91 description: 'starting page'
101 description: 'sorting'
104 description: successful operation
108 $ref: '#/definitions/Job'
109 '/server/following/{host}':
122 description: 'The host to unfollow '
125 description: successful operation
139 description: 'starting page'
144 description: 'stopping page'
149 description: 'sorting'
152 description: successful operation
156 $ref: '#/definitions/Follow'
170 description: 'starting page'
175 description: 'stopping page'
180 description: 'sorting'
183 description: successful operation
187 $ref: '#/definitions/Follow'
199 $ref: '#/definitions/Follow'
202 description: successful operation
215 description: 'User to create'
217 $ref: '#/definitions/AddUser'
220 description: successful operation
222 $ref: '#/definitions/AddUserResponse'
235 description: 'starting page'
240 description: 'stopping page'
245 description: 'sorting'
248 description: successful operation
252 $ref: '#/definitions/User'
266 description: 'The user id '
269 description: successful operation
282 description: 'The user id '
285 description: successful operation
287 $ref: '#/definitions/User'
300 description: 'The user id '
305 $ref: '#/definitions/UpdateUser'
308 description: successful operation
319 description: successful operation
323 $ref: '#/definitions/User'
336 $ref: '#/definitions/UpdateMe'
339 description: successful operation
340 /users/me/video-quota-used:
351 description: successful operation
354 '/users/me/videos/{videoId}/rating':
367 description: 'The video id '
370 description: successful operation
372 $ref: '#/definitions/GetMeVideoRating'
386 description: 'starting page'
391 description: 'stopping page'
396 description: 'sorting'
399 description: successful operation
403 $ref: '#/definitions/Video'
417 $ref: '#/definitions/RegisterUser'
420 description: successful operation
421 /users/me/avatar/pick:
426 - multipart/form-data
433 description: The file to upload.
436 description: successful operation
438 $ref: '#/definitions/Avatar'
452 description: 'starting page'
457 description: 'stopping page'
462 description: 'sorting'
465 description: successful operation
469 $ref: '#/definitions/Video'
480 description: successful operation
495 description: successful operation
510 description: successful operation
525 description: successful operation
543 description: 'starting page'
548 description: 'stopping page'
553 description: 'sorting'
556 description: successful operation
560 $ref: '#/definitions/Video'
566 - multipart/form-data
574 description: 'The video id'
575 - name: thumbnailfile
578 description: 'Video thumbnail file'
582 description: 'Video preview file'
586 description: 'Video category'
590 description: 'Video licence'
594 description: 'Video language'
598 description: 'Video description'
602 description: 'Text describing how to support the video uploader'
606 description: 'Whether or not this video contains sensitive content'
610 description: 'Video name'
614 description: 'Video tags'
615 - name: commentsEnabled
618 description: 'Enable or disable comments for this video'
622 enum: [Public, Unlisted]
623 description: 'Video privacy'
626 description: successful operation
628 $ref: '#/definitions/Video'
641 description: 'The video id '
644 description: successful operation
646 $ref: '#/definitions/Video'
659 description: 'The video id '
662 description: successful operation
663 "/videos/{id}/description":
676 description: 'The video id '
679 description: successful operation
682 "/videos/{id}/views":
695 description: 'The video id '
698 description: successful operation
704 - multipart/form-data
712 description: 'Video file'
713 - name: thumbnailfile
717 description: 'Video thumbnail file'
722 description: 'Video preview file'
726 description: 'Video category'
730 description: 'Video licence'
734 description: 'Video language'
738 description: 'Video description'
742 description: 'Text describing how to support the video uploader'
747 description: 'Channel id that will contain this video'
752 description: 'Whether or not this video contains sensitive content'
757 description: 'Video name'
761 description: 'Video tags'
762 - name: commentsEnabled
765 description: 'Enable or disable comments for this video'
770 enum: [Public, Unlisted, Private]
771 description: 'Video privacy'
774 description: successful operation
776 $ref: '#/definitions/VideoUploadResponse'
790 description: 'starting page'
795 description: 'stopping page'
800 description: 'sorting'
803 description: successful operation
807 $ref: '#/definitions/VideoAbuse'
808 "/videos/{id}/abuse":
821 description: 'The video id '
824 description: successful operation
825 "/videos/{videoId}/blacklist":
838 description: 'The video id '
841 description: successful operation
854 description: 'The video id '
857 description: successful operation
871 description: 'starting page'
876 description: 'stopping page'
881 description: 'sorting'
884 description: successful operation
888 $ref: '#/definitions/VideoBlacklist'
902 description: 'starting page'
907 description: 'stopping page'
912 description: 'sorting'
915 description: successful operation
919 $ref: '#/definitions/VideoChannel'
931 $ref: '#/definitions/VideoChannelInput'
934 description: successful operation
935 "/videos/channels/{id}":
948 description: 'The video id '
951 description: successful operation
953 $ref: '#/definitions/VideoChannel'
966 description: 'The video id '
970 $ref: '#/definitions/VideoChannelInput'
973 description: successful operation
986 description: 'The video id '
989 description: successful operation
990 /videos/accounts/{accountId}/channels:
1003 description: 'The account id '
1006 description: successful operation
1010 $ref: '#/definitions/VideoChannel'
1011 "/videos/{videoId}/comment-threads":
1024 description: 'The video id '
1029 description: 'starting page'
1034 description: 'stopping page'
1039 description: 'sorting'
1042 description: successful operation
1044 $ref: '#/definitions/CommentThreadResponse'
1057 description: 'The video id '
1060 description: successful operation
1062 $ref: '#/definitions/CommentThreadPostResponse'
1063 "/videos/{videoId}/comment-threads/{threadId}":
1076 description: 'The video id '
1081 description: 'The thread id '
1084 description: successful operation
1086 $ref: '#/definitions/VideoCommentThreadTree'
1087 "/videos/{videoId}/comments/{commentId}":
1100 description: 'The video id '
1105 description: 'The comment id '
1108 description: successful operation
1110 $ref: '#/definitions/CommentThreadPostResponse'
1123 description: 'The video id '
1128 description: 'The comment id '
1131 description: successful operation
1132 "/videos/{id}/rate":
1145 description: 'The video id '
1148 description: successful operation
1158 enum: [Public, Unlisted, Private]
1172 $ref: "#/definitions/VideoConstant"
1174 $ref: "#/definitions/VideoConstant"
1176 $ref: "#/definitions/VideoConstant"
1178 $ref: "#/definitions/VideoPrivacy"
1213 $ref: "#/definitions/Avatar"
1221 $ref: "#/definitions/Account"
1279 $ref: "#/definitions/Video"
1301 $ref: "#/definitions/Account"
1302 VideoCommentThreadTree:
1305 $ref: "#/definitions/VideoComment"
1309 $ref: "#/definitions/VideoCommentThreadTree"
1339 $ref: "#/definitions/Avatar"
1342 - $ref: "#/definitions/Actor"
1360 enum: [User, Moderator, Administrator]
1366 $ref: "#/definitions/Account"
1370 $ref: "#/definitions/VideoChannel"
1415 $ref: "#/definitions/Actor"
1417 $ref: "#/definitions/Actor"
1422 enum: [pending, accepted]
1433 enum: [pending, processing, error, success]
1436 enum: [transcoding, activitypub-http]
1453 VideoUploadResponse:
1462 CommentThreadResponse:
1469 $ref: "#/definitions/VideoComment"
1470 CommentThreadPostResponse:
1473 $ref: "#/definitions/VideoComment"
1480 description: 'The user username '
1483 description: 'The user password '
1486 description: 'The user email '
1489 description: 'The user videoQuota '
1492 description: 'The user role '
1503 description: 'The user id '
1506 description: 'The updated email of the user '
1509 description: 'The updated videoQuota of the user '
1512 description: 'The updated role of the user '
1522 description: 'Your new password '
1525 description: 'Your new email '
1528 description: 'Your new displayNSFW '
1531 description: 'Your new autoPlayVideo '
1541 description: 'Id of the video '
1544 description: 'Rating of the video '
1552 description: 'The username of the user '
1555 description: 'The password of the user '
1558 description: 'The email of the user '