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: 'stoping 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: 'stoping page'
149 description: 'sorting'
152 description: successful operation
156 $ref: '#/definitions/Follow'
170 description: 'starting page'
175 description: 'stoping page'
180 description: 'sorting'
183 description: successful operation
187 $ref: '#/definitions/Follow'
199 $ref: '#/definitions/Follow'
202 description: successful operation
216 $ref: '#/definitions/AddUser'
219 description: successful operation
221 $ref: '#/definitions/AddUserResponse'
234 description: 'starting page'
239 description: 'stoping page'
244 description: 'sorting'
247 description: successful operation
251 $ref: '#/definitions/User'
265 description: 'The user id '
268 description: successful operation
281 description: 'The user id '
284 description: successful operation
286 $ref: '#/definitions/User'
299 description: 'The user id '
304 $ref: '#/definitions/UpdateUser'
307 description: successful operation
318 description: successful operation
322 $ref: '#/definitions/User'
335 $ref: '#/definitions/UpdateMe'
338 description: successful operation
339 /users/me/video-quota-used:
350 description: successful operation
353 '/users/me/videos/{videoId}/rating':
366 description: 'The video id '
369 description: successful operation
371 $ref: '#/definitions/GetMeVideoRating'
385 description: 'starting page'
390 description: 'stoping page'
395 description: 'sorting'
398 description: successful operation
402 $ref: '#/definitions/Video'
416 $ref: '#/definitions/RegisterUser'
419 description: successful operation
420 /users/me/avatar/pick:
425 - multipart/form-data
432 description: The file to upload.
435 description: successful operation
437 $ref: '#/definitions/Avatar'
451 description: 'starting page'
456 description: 'stoping page'
461 description: 'sorting'
464 description: successful operation
468 $ref: '#/definitions/Video'
479 description: successful operation
494 description: successful operation
509 description: successful operation
524 description: successful operation
542 description: 'starting page'
547 description: 'stoping page'
552 description: 'sorting'
555 description: successful operation
559 $ref: '#/definitions/Video'
573 description: 'The video id '
576 description: successful operation
578 $ref: '#/definitions/Video'
591 description: 'The video id '
594 description: successful operation
596 $ref: '#/definitions/Video'
609 description: 'The video id '
612 description: successful operation
613 "/videos/{id}/description":
626 description: 'The video id '
629 description: successful operation
632 "/videos/{id}/views":
645 description: 'The video id '
648 description: successful operation
654 - multipart/form-data
661 description: The file to upload.
664 description: successful operation
666 $ref: '#/definitions/VideoUploadResponse'
680 description: 'starting page'
685 description: 'stoping page'
690 description: 'sorting'
693 description: successful operation
697 $ref: '#/definitions/VideoAbuse'
698 "/videos/{id}/abuse":
711 description: 'The video id '
714 description: successful operation
715 "/videos/{videoId}/blacklist":
728 description: 'The video id '
731 description: successful operation
744 description: 'The video id '
747 description: successful operation
761 description: 'starting page'
766 description: 'stoping page'
771 description: 'sorting'
774 description: successful operation
778 $ref: '#/definitions/VideoBlacklist'
792 description: 'starting page'
797 description: 'stoping page'
802 description: 'sorting'
805 description: successful operation
809 $ref: '#/definitions/VideoChannel'
821 $ref: '#/definitions/VideoChannelInput'
824 description: successful operation
825 "/videos/channels/{id}":
838 description: 'The video id '
841 description: successful operation
843 $ref: '#/definitions/VideoChannel'
856 description: 'The video id '
860 $ref: '#/definitions/VideoChannelInput'
863 description: successful operation
876 description: 'The video id '
879 description: successful operation
880 /videos/accounts/{accountId}/channels:
893 description: 'The account id '
896 description: successful operation
900 $ref: '#/definitions/VideoChannel'
901 "/videos/{videoId}/comment-threads":
914 description: 'The video id '
919 description: 'starting page'
924 description: 'stoping page'
929 description: 'sorting'
932 description: successful operation
934 $ref: '#/definitions/CommentThreadResponse'
947 description: 'The video id '
950 description: successful operation
952 $ref: '#/definitions/CommentThreadPostResponse'
953 "/videos/{videoId}/comment-threads/{threadId}":
966 description: 'The video id '
971 description: 'The thread id '
974 description: successful operation
976 $ref: '#/definitions/VideoCommentThreadTree'
977 "/videos/{videoId}/comments/{commentId}":
990 description: 'The video id '
995 description: 'The comment id '
998 description: successful operation
1000 $ref: '#/definitions/CommentThreadPostResponse'
1013 description: 'The video id '
1018 description: 'The comment id '
1021 description: successful operation
1022 "/videos/{id}/rate":
1035 description: 'The video id '
1038 description: successful operation
1090 $ref: "#/definitions/Avatar"
1098 $ref: "#/definitions/Account"
1150 $ref: "#/definitions/Video"
1172 $ref: "#/definitions/Account"
1173 VideoCommentThreadTree:
1176 $ref: "#/definitions/VideoComment"
1180 $ref: "#/definitions/VideoCommentThreadTree"
1210 $ref: "#/definitions/Avatar"
1213 - $ref: "#/definitions/Actor"
1231 enum: [User, Moderator, Administrator]
1237 $ref: "#/definitions/Account"
1241 $ref: "#/definitions/VideoChannel"
1286 $ref: "#/definitions/Actor"
1288 $ref: "#/definitions/Actor"
1293 enum: [pending, accepted]
1304 enum: [pending, processing, error, success]
1307 enum: [transcoding, activitypub-http]
1324 VideoUploadResponse:
1330 CommentThreadResponse:
1337 $ref: "#/definitions/VideoComment"
1338 CommentThreadPostResponse:
1341 $ref: "#/definitions/VideoComment"
1348 description: 'The user username '
1351 description: 'The user password '
1354 description: 'The user email '
1357 description: 'The user videoQuota '
1360 description: 'The user role '
1371 description: 'The user id '
1374 description: 'The updated email of the user '
1377 description: 'The updated videoQuota of the user '
1380 description: 'The updated role of the user '
1390 description: 'Your new password '
1393 description: 'Your new email '
1396 description: 'Your new displayNSFW '
1399 description: 'Your new autoPlayVideo '
1409 description: 'Id of the video '
1412 description: 'Rating of the video '
1420 description: 'The username of the user '
1423 description: 'The password of the user '
1426 description: 'The email of the user '