# Abuse

Type: Abuse

Schema: [Abuse](https://sourcey-peertube.pages.dev/api-rest-reference/models/abuse.md)

- `id` (optional)
  Reference: [id](https://sourcey-peertube.pages.dev/api-rest-reference/models/id.md); Type: id
  
  minimum: 1
  
  Example:
  
  ```json
  42
  ```

- `reason` (optional)
  Type: string
  
  minLength: 2
  
  maxLength: 3000
  
  Example:
  
  ```json
  "The video is a spam"
  ```

- `predefinedReasons` (optional)
  Reference: [AbusePredefinedReasons](https://sourcey-peertube.pages.dev/api-rest-reference/models/abusepredefinedreasons.md); Type: Array<string>
  
  Example:
  
  ```json
  [
    "spamOrMisleading"
  ]
  ```

- `reporterAccount` (optional)
  Reference: [Account](https://sourcey-peertube.pages.dev/api-rest-reference/models/account.md); Type: Actor & any

- `state` (optional)
  Reference: [AbuseStateConstant](https://sourcey-peertube.pages.dev/api-rest-reference/models/abusestateconstant.md); Type: AbuseStateConstant

- `moderationComment` (optional)
  Type: string
  
  minLength: 2
  
  maxLength: 3000
  
  Example:
  
  ```json
  "Decided to ban the server since it spams us regularly"
  ```

- `video` (optional)
  Type: object
  
  - `id` (optional)
    Type: integer
  
  - `uuid` (optional)
    Reference: [UUIDv4](https://sourcey-peertube.pages.dev/api-rest-reference/models/uuidv4.md); Type: UUIDv4, uuid
    
    minLength: 36
    
    maxLength: 36
    
    pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
    
    Example:
    
    ```json
    "9c9de5e8-0a1e-484a-b099-e80766180a6d"
    ```
  
  - `shortUUID` (optional)
    Reference: [shortUUID](https://sourcey-peertube.pages.dev/api-rest-reference/models/shortuuid.md); Type: shortUUID
    
    translation of a uuid v4 with a bigger alphabet to have a shorter uuid
    
    Example:
    
    ```json
    "2y84q2MQUMWPbiEcxNXMgC"
    ```
  
  - `name` (optional)
    Type: string
  
  - `nsfw` (optional)
    Type: boolean
  
  - `startAt` (optional)
    Type: string, date-time
  
  - `endAt` (optional)
    Type: string, date-time
  
  - `deleted` (optional)
    Type: boolean
  
  - `blacklisted` (optional)
    Type: boolean
  
  - `thumbnailPath` (optional)
    Type: string; nullable
    
    Deprecated in PeerTube v8.1, use thumbnails instead. Null if the file is stored in object storage: use the non-deprecated field instead.
    
    deprecated: true
  
  - `thumbnails` (optional)
    Type: Array<Thumbnail>
    
    **PeerTube >= 8.1** Array of thumbnails for the video
    
    Items:
      Reference: [Thumbnail](https://sourcey-peertube.pages.dev/api-rest-reference/models/thumbnail.md); Type: Thumbnail
  
  - `channel` (optional)
    Reference: [VideoChannel](https://sourcey-peertube.pages.dev/api-rest-reference/models/videochannel.md); Type: Actor & object

- `createdAt` (optional)
  Type: string, date-time