List my abuses
Parameters
idintegerqueryonly list the report with this id
sortstring-id-createdAt-statequerySort abuses by criteria
startinteger>= 0queryOffset used to paginate results
countinteger[1, 100]15queryNumber of items to return
Response
successful operation
Response fields application/json
totalinteger1dataArray<Abuse>Show child attributes
idid>= 142reasonstringThe video is a spampredefinedReasonsArray<string>violentOrAbusivehatefulOrAbusivespamOrMisleadingprivacyrightsserverRulesthumbnailscaptions[
"spamOrMisleading"
]reporterAccountActor & anyShow child attributes
idid>= 142urlstring<url>nameusernameimmutable name of the actor, used to find or mention it
Show child attributes
avatarsArray<ActorImage>Show child attributes
pathstring | nulldeprecatedDeprecated in PeerTube v8.0, use fileUrl instead. Null if the file is stored in object storage: use the non-deprecated field instead.
fileUrlstringPeerTube >= 7.1
widthintegerheightintegerPeerTube >= 7.3
createdAtstring<date-time>updatedAtstring<date-time>hoststring<hostname>server on which the actor is resident
hostRedundancyAllowedboolean | nullwhether this actor's host allows redundancy of its videos
followingCountinteger>= 0number of actors subscribed to by this actor, as seen by this instance
followersCountinteger>= 0number of followers of this actor, as seen by this instance
createdAtstring<date-time>updatedAtstring<date-time>displayNamestringeditable name of the account, displayed in its representations
descriptionstring | nulltext or bio displayed on the account's profile
stateAbuseStateConstantShow child attributes
idAbuseStateSet123The abuse state (Pending = 1, Rejected = 2, Accepted = 3)
labelstringmoderationCommentstringDecided to ban the server since it spams us regularlyvideoobjectShow child attributes
idintegeruuidUUIDv4<uuid>9c9de5e8-0a1e-484a-b099-e80766180a6dshortUUIDshortUUIDtranslation of a uuid v4 with a bigger alphabet to have a shorter uuid
2y84q2MQUMWPbiEcxNXMgCnamestringnsfwbooleanstartAtstring<date-time>endAtstring<date-time>deletedbooleanblacklistedbooleanthumbnailPathstring | nulldeprecatedDeprecated in PeerTube v8.1, use thumbnails instead. Null if the file is stored in object storage: use the non-deprecated field instead.
thumbnailsArray<Thumbnail>PeerTube >= 8.1 Array of thumbnails for the video
Show child attributes
fileUrlstringwidthintegerheightintegeraspectRatiostring16:9channelActor & objectShow child attributes
urlstring<url>nameusernameimmutable name of the actor, used to find or mention it
Show child attributes
avatarsArray<ActorImage>Show child attributes
pathstring | nulldeprecatedDeprecated in PeerTube v8.0, use fileUrl instead. Null if the file is stored in object storage: use the non-deprecated field instead.
fileUrlstringPeerTube >= 7.1
widthintegerheightintegerPeerTube >= 7.3
createdAtstring<date-time>updatedAtstring<date-time>hoststring<hostname>server on which the actor is resident
hostRedundancyAllowedboolean | nullwhether this actor's host allows redundancy of its videos
followingCountinteger>= 0number of actors subscribed to by this actor, as seen by this instance
followersCountinteger>= 0number of followers of this actor, as seen by this instance
createdAtstring<date-time>updatedAtstring<date-time>displayNamestringeditable name of the channel, displayed in its representations
Videos of Framasoftdescriptionstring | nullVideos made with <3 by Framasoftsupportstring | nulltext shown by default on all videos of this channel, to tell the audience how to support it
Please support our work on https://soutenir.framasoft.org/en/ <3publicEmailstring<email> | nullPublic email visible in podcast RSS feeds
isLocalbooleanupdatedAtstring<date-time>bannersArray<ActorImage>Show child attributes
pathstring | nulldeprecatedDeprecated in PeerTube v8.0, use fileUrl instead. Null if the file is stored in object storage: use the non-deprecated field instead.
fileUrlstringPeerTube >= 7.1
widthintegerheightintegerPeerTube >= 7.3
createdAtstring<date-time>updatedAtstring<date-time>ownerAccountActor & anyShow child attributes
urlstring<url>nameusernameimmutable name of the actor, used to find or mention it
Show child attributes
avatarsArray<ActorImage>Show child attributes
pathstring | nulldeprecatedDeprecated in PeerTube v8.0, use fileUrl instead. Null if the file is stored in object storage: use the non-deprecated field instead.
fileUrlstringPeerTube >= 7.1
widthintegerheightintegerPeerTube >= 7.3
createdAtstring<date-time>updatedAtstring<date-time>hoststring<hostname>server on which the actor is resident
hostRedundancyAllowedboolean | nullwhether this actor's host allows redundancy of its videos
followingCountinteger>= 0number of actors subscribed to by this actor, as seen by this instance
followersCountinteger>= 0number of followers of this actor, as seen by this instance
createdAtstring<date-time>updatedAtstring<date-time>displayNamestringeditable name of the account, displayed in its representations
descriptionstring | nulltext or bio displayed on the account's profile
videosCountintegeronly included when withStats is true
viewsPerDayArray<object>only included when withStats is true. Chronologically ordered, spans the whole statsDays range. Each point aggregates viewsGroupInterval worth of views, starting at date
Show child attributes
datestring<date-time>viewsintegerviewsGroupIntervalstringdayweekmonthbucket size of viewsPerDay, only included when withStats is true
totalViewsintegerlifetime views of all the channel videos, only included when withStats is true
createdAtstring<date-time>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.