Video Comments
List comments on user's videos
GET
https://peertube2.cpy.re/api/v1/users/me/videos/comments
PeerTube >= 6.2
Parameters
searchstringqueryPlain text search, applied to various parts of the model depending on endpoint
searchAccountstringqueryFilter comments by searching on the account
searchVideostringqueryFilter comments by searching on the video
videoIdintegerqueryLimit results on this specific video
videoChannelIdintegerqueryLimit results on this specific video channel
autoTagOneOfstring | Array<string>queryPeerTube >= 6.2 filter on comments that contain one of these automatic tags
isHeldForReviewbooleanqueryonly display comments that are held for review
includeCollaborationsbooleanqueryPeerTube >= 8.0 Include objects from collaborated channels
Response
200OKobject
successful operation
Authorization
OAuth2oauth2Authenticating via OAuth requires the following steps:
- Have an activated account
- Generate an access token for that account at
/api/v1/users/token. - Make requests with the Authorization: Bearer <token> header
- Profit, depending on the role assigned to the account
Note that the access token is valid for 1 day and is given along with a refresh token valid for 2 weeks.