Web Service Method: Add Concept to a Blacklist

Description

Puts a concept on the blacklist of the project. The concept needs not to be an entry in one of the corpora.

URL: /PoolParty/api/corpusmanagement/{project}/blacklist/concept

Request

Supported Methods

POST

Content-Type

application/x-www-form-urlencoded

Path Variables

Variable

Comment

{project}

The UUID or the URI supplement (textual identifier) of the project to be used.

HTTP Parameters

Parameter

Comment

Type

Required

conceptUri

URI of the concept that should be blacklisted

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/concept?conceptUri=http://test.semantic-web.at/Geo/1234

JSON Formatted Response

{
    "success": true,
    "message": "Concept blacklisted successfully."
}