trainOnContent


Train classifier on given content.

Parameters

Name Description
xrefType required Xref Type of the content.
xrefID required Xref ID of the content.
spam optional Whether the content is classified as spam.
output optional The response output format. Accepts JSON and XML.

Request Syntax

https://services.onesite.com/rest/svcSpamClassify?action=trainOnContent&xrefType=blog_post&xrefID=117101923&spam&devkey=[devkey]

JSON Response