filterWords
- Home
- Moderation
- SvcProfanity
- filterWords
filterWords
Filters profanity from the word or words passed to the service.
Parameters
| Name | Description |
| words required | A word or collection of words (in name-value pairs) to filter. |
| nodeID required | The network’s identifier. |
| filterMulti optional | Whether to parse the words input into name-value pairs. |
| output optional | The response output format. Accepts JSON and XML. |
Request Syntax
| https://services.onesite.com/rest/svcProfanity?action=filterWords&nodeID=188234&words=Circles are the best!&devkey=[devkey] |
JSON Response
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
{ "service":"svcProfanity", "action":"filterWords", "code":1, "message":"Profanity filtering complete.", "item":{ "words":"Circles are the best!", "filtered_result":"**** are the best!", "profanity_count":1, "profanity_matches":[ 0 ] } } |
Service Information
| Service | svcProfanity |
| Method | filterWords |
| Type | REST |
| Response Types | JSON, XML |