Web Service Method: Request Concept Notes
Abstract
Web Service Method: Request Concept Notes
Description |
---|
Returns a list of notes of a concept. |
URL: /PoolParty/api/thesaurus/{project}/notes
Supported Methods |
---|
GET |
Variable | Comment |
---|---|
| The UUID or the URI supplement (textual identifier) of the project to be used. |
Parameter | Comment | Type | Required |
---|---|---|---|
concept | URI of the concept | String | true |
Notes of the requested concept.
Attribute | Type | Comment |
---|---|---|
| String | URI of the concept |
| String | Preferred label |
| Strings | Alternative labels |
| Strings | Hidden labels |
| Strings | Definitions |
| Strings | Broader concepts |
http://<server-url>/PoolParty/api/thesaurus/<projectID>/notes?concept=<concept-uri>
GET Request
http://<server-url>/PoolParty/api/thesaurus/bb2df837-7654-4c89-8994-d23f5468b56b/notes?concept=http://vocabulary.semantic-web.at/doku/Americas
Example Response
[ { "uri": "node1a728uifrx4", "title": "Test history note", "comment": "This note describes the history", "created": "2015-12-21T16:50:16Z", "creator": "huberf", "type": "http://www.w3.org/2004/02/skos/core#historyNote" }, { "uri": "node1a728uifrx3", "title": "An editorial note", "comment": "Containing editorial description.", "created": "2015-12-21T16:49:42Z", "creator": "huberf", "type": "http://www.w3.org/2004/02/skos/core#editorialNote" }, { "uri": "node1a728uifrx2", "title": "A change note", "comment": "With description of latest change", "created": "2015-12-21T16:49:21Z", "creator": "huberf", "type": "http://www.w3.org/2004/02/skos/core#changeNote" } ]