v1

latestOpenAPI 3.0.0AGPLv3.02026-07-14186117194.3 KB
Abuses

List abuses

get/api/v1/abuses

Query parameters

idinteger

only list the report with this id

predefinedReasonstring[]

Reason categories that help triage reports

predefined reason the listed reports should contain

searchstring

plain search that will match with video titles, reporter names and more

state1 | 2 | 3

The abuse state (Pending = 1, Rejected = 2, Accepted = 3)

searchReporterstring

only list reports of a specific reporter

searchReporteestring

only list reports of a specific reportee

searchVideostring

only list reports of a specific video

searchVideoChannelstring

only list reports of a specific video channel

videoIs'deleted' | 'blacklisted'

only list deleted or blocklisted videos

filter'video' | 'comment' | 'account'

only list account, comment or video reports

startinteger

Offset used to paginate results

countinteger

Number of items to return

sort'-id' | '-createdAt' | '-state'

Sort abuses by criteria

Response

successful operation

totalinteger