Web Service Method: Request Details of Multiple Concepts
Web Service Method: Request Details of Multiple Concepts
Description |
---|
Returns a description of one or more concepts. |
URL: /PoolParty/api/thesaurus/{project}/concepts
Supported Methods |
---|
GET |
POST |
Variable | Comment |
---|---|
| The UUID or the URI supplement (textual identifier) of the project to be used. |
Parameter | Comment | Type | Required |
---|---|---|---|
concepts | URI of the concept | String | true |
properties | List of concept properties that should be fetched. E.g. you can choose a list like: See full list of Retrieve Properties in API Requests. | String | false |
language | Only concepts with labels in this language will be displayed. If no language is given, the default language of the project will be used. | String | false |
workflowStatus | Set to | boolean | false |
List of concepts within the respective PoolParty project.
Attribute | Type | Comment |
---|---|---|
| String | URI of the concept |
| String | Preferred label |
| Array of Strings | Alternative labels |
| Array of Strings | Hidden labels |
| Array of Strings | Definitions |
| Array of Strings | Broader concepts |
| Array of Strings | Narrower concepts |
| Array of Strings | Related concepts |
| Array of Strings | Concept schemes |
Example Request
http://<server-url>/PoolParty/api/thesaurus/1DDFEF08-2277-0001-2C3A-1A005A00E7A0/concepts?concepts=http://vocabulary.semantic-web.at/cocktails/ea946e07-e812-4492-a0ed-124d73bfbba7,http://vocabulary.semantic-web.at/cocktails/698723d7-e8b8-410e-91a8-9bdc867b3f8a
POST request uses parameters in request body as form-data:
Example Response
[ { uri: "http://vocabulary.semantic-web.at/cocktails/ea946e07-e812-4492-a0ed-124d73bfbba7", prefLabel: "Kir Royale" }, { uri: "http://vocabulary.semantic-web.at/cocktails/698723d7-e8b8-410e-91a8-9bdc867b3f8a", prefLabel: "Bellini" } ]