Skip to main content

Web Service Method: Request Blacklisted Terms

Abstract

Web Service Method: Request Blacklisted Terms

Description

Returns a list of terms that are blacklisted.

Note

This service is an equivalent to the functionality of reviewing Blacklist Concepts and Terms in the user interface.

URL: /PoolParty/api/corpusmanagement/{project}/results/blacklist/terms

Request

Supported Methods

GET

Path Variables

Variable

Comment

{project}

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

Response

Returns

Array of blacklisted terms.

Attribute

Type

Comment

Required

startIndex

String

Index of first blacklisted term. The service retrieves 20 terms, starting with the given startIndex.

Default value is 0.

false

URL Pattern

https://<server-url>/PoolParty/api/corpusmanagement/<project-id>/results/blacklist/terms

Examples

Example Request

https://workingontologist.poolparty.biz/PoolParty/api/corpusmanagement/1DDFD0C2-5CF8-0001-A83E-300711A0150B/results/blacklist/terms?startIndex=120 

Example Response

[
 {
 "uri": {
 "uri": "http://schema.semantic-web.at/blacklist/American/en"
 },
 "term": "American",
 "language": "en"
 },
 {
 "uri": {
 "uri": "http://schema.semantic-web.at/blacklist/AT/en"
 },
 "term": "AT",
 "language": "en"
 }
]