Web Service Method: Add Term to the Blacklist
Abstract
Web Service Method: Add Term to the Blacklist
Description |
---|
Puts a term on the blacklist of the project. The term needs not to be an entry in one of the corpora. |
URL: /PoolParty/api/corpusmanagement/{project}/blacklist/extractedterm
Request
Supported Methods |
---|
POST |
application/x-www-form-urlencoded
Variable | Comment |
---|---|
| The UUID or the URI supplement (textual identifier) of the project to be used. |
Parameter | Comment | Type | Required |
---|---|---|---|
term | Term that should be blacklisted | String | true |
language | Language of the term | String | true |
Response
http status code 200if OK + JSON formatted success message.
Example
POST Request
http://<server-URL>/PoolParty/api/corpusmanagement/1DCE489D-9695-0001-E272-285217B0181E/blacklist/extractedterm?term=my useless term&language=en
JSON Formatted Response
{ "success": true, "message": "Extracted term blacklisted successfully." }