Skip to main content

Web Service Method: Change URI of a Concept

Abstract

Web Service Method: Change URI of a Concept

Description

Changes the URI of a concept.

URL: /PoolParty/api/thesaurus/{project}/changeUri

Request

Supported Methods

POST

Content-Type

application/json

Path Variables

Variable

Comment

{project}

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

JSON UriChangeRequest

Attribute

Type

Comment

oldUri

String

Existing URI of the concept

newUri

String

NewURI of the concept

Response

http status code:

200 if OK.

Example

POST Request

POST http://<server-url>/PoolParty/api/thesaurus/APItests/changeUri


{
  "newUri" : "https://semantic-web.com/api/newUri#6211",
  "oldUri" : "https://semantic-web.com/api/oldUri#16511"
}