Extension:SpamBlacklist/API
(Redirected from API:Spamblacklist)
spamblacklist | |
---|---|
This module cannot be used as a generator. | |
Prefix | none |
Required rights | none |
Post only? | No |
Generated help | Current |
You can use the API (action=spamblacklist) to check a url's status against the SpamBlacklist.
Parameters
editurl
: A pipe-separated list of URLs to check against
Example
editCheck "http://example.net" against the blacklist
Result |
---|
<?xml version="1.0"?>
<api>
<spamblacklist result="blacklisted">
<matches>
<match>example.net</match>
</matches>
</spamblacklist>
</api>
|
Returned fields
editresult
: "ok" if not blacklisted, "blacklisted" if blacklisted.matches
: If blacklisted, a collection of the strings that matched a regular expression