Skip to main content

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

Request

Supported Methods

GET

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

concept

URI of the concept

String

true

Response

Notes of the requested concept.

Attribute

Type

Comment

uri

String

URI of the concept

title

String

Preferred label

comment

Strings

Alternative labels

created

Strings

Hidden labels

creator

Strings

Definitions

type

Strings

Broader concepts

URL Pattern
http://<server-url>/PoolParty/api/thesaurus/<projectID>/notes?concept=<concept-uri>
Example

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"
    }
]