ModerationTemplateRule

  • configuration
    Type: object · ModerationTemplateRuleConfiguration
    required
    • appliesTo
      Type: string enum
      values
      • first_image
      • all_images
    • approvalFeedbackMessage
      Type: string | null
      max length:  
      2000
    • description
      Type: string
      max length:  
      5000
    • details
      Type: string
      max length:  
      5000
    • label
      Type: string
      max length:  
      256
    • referenceImages
      Type: array · ModerationTemplateReferenceImage[] …50
    • unpublishOnViolation
      Type: boolean
  • enabled
    Type: boolean
    required
  • id
    Type: string Format: uuid
    required
  • ruleType
    Type: string
    required
  • sortOrder
    Type: integer
    required

    Integer numbers.

  • templateId
    Type: string Format: uuid
    required
  • createdAt
    Type: string Format: date-time

    the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • severity
    Type: string · ModerationSeverityenumnullable
    values
    • high
    • medium
    • low
  • updatedAt
    Type: string Format: date-time

    the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z