v1

latestOpenAPI 3.1.02026-07-24318141.2 MB

Update comment quality rules

patch/applications/{client_id}/comment-quality-rules/{uuid}/

Path parameters

client_idstring required
uuidstring required

Headers

Authorizationstring required

Request body

min_char_countnumber

Minimum number of non-whitespace characters in a comment for it to be evaluated as a quality comment. Default value is 0 which means this check is ignored.

emoji_ratio_thresholdnumber float

Max ratio of emojis to text content in a comment for it to be evaluated as a quality comment. Default value is 0.7 which means at max 70% of the comment can be filled with emojis.

disallowed_charsstring

Characters in a comment that can lead to it being discarded from quality comment evaluation. Example: "F*ck". Default value is ""

min_sentiment_scorenumber float

Minimum sentiment score for a comment to be evaluated as a high quality comment. This can range from -1 to 1 with -1 being the most negative and 1 being the most positive. The default value for this is 0.2. Can be set to None to disable this check.

max_toxicity_scorenumber float

Maximum toxicity score for a comment to be evaluated as a high quality comment. This can range from 0 to 1 with 0 being the least toxic and 1 being the most toxic. Default value for this is 0.1. Can be set to None to disable this check.

exclude_gifboolean

If enabled, comments that contain GIF content will be excluded from quality comments evaluation.

Response

OK

object required