Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user_role to Rakismet model attributes. #24

Closed

Conversation

stevenharman
Copy link
Contributor

Another released, but not yet documented, feature for is the user_role
attribute. Specifically this can be used when testing the API and you
need to ensure the response is ham.

From my conversation with Akismet engineers:

To simulate a negative (not spam) result, make a comment-check API call with the user_role set to "administrator", and all other required fields populated with typical values. The Akismet API will always return a false response. Any other response indicates a data or communication problem.

Another released, but not yet documented, feature for is the `user_role`
attribute. Specifically this can be used when testing the API and you
need to ensure the response is ham. Setting `user_role=administrator`
will guarentee ham.
@joshfrench joshfrench closed this Jul 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants