Anti Spam
Decides if a comment is spam. The article context is optional, and if omitted the comment is evaluated for spam on its own, without context. The definition of spam is broad, from obvious commercial sales, through to probable malware (not checked, just signs of it in the comment, do not rely on this for security), through to SEO or link spam and much more.
| Header Parameters |
|---|
X-User-Email email — REQUIREDAccount email address, for authentication |
X-API-Key string — REQUIREDAPI key owned by the user (email), for authentication |
| Request Body — REQUIRED |
|---|
comment string — REQUIREDThe comment text to be evaluated for spam. |
article_context_id uuidOptional. UUID to identify the article context. |
| Responses | ||||
|---|---|---|---|---|
200Successful response - returns JSON result from spam evaluation.
| ||||
400Bad Request - Missing or invalid parameters. | ||||
401Unauthorized - Missing or incorrect authentication. |