Reclassifing Comments

Our API is used to test comments for spam. Sometimes we make mistakes, so to deal with that we allow a comment to be resubmitted for training.

To submit a comment for reclassification POST a JSON-encoded hash to the following URL:

  • http://test.blogspam.net:9999/classify

The hash you submit should be exactly the same as that used for classifyComment, with the extra key "train".

train valueDescription
spamThe comment should be trained as SPAM.
okThe comment should not have been rejected.