Get endpoint¶
Endpoint for retrieving SKOS concepts by their unique identifier.
- GET /get¶
Get SKOS concepts by their URI
Example request:
GET /get?uri=http://id.worldcat.org/fast/869764 HTTP/1.1 Host: 127.0.0.1 Accept: application/json
Example request with multiple URIs:
GET /get?uri=http://id.worldcat.org/fast/1902995&uri=http://id.worldcat.org/fast/869764 Host: 127.0.0.1 Accept: application/json
Example response:
HTTP/1.1 200 OK Content-Type: application/json { "_links": {"self": {"href":"/search?uri=http://id.worldcat.org/fast/1902995&uri=http://id.worldcat.org/fast/869764"}}, "_embedded": {"concepts": [{"uri":"http://id.worldcat.org/fast/1902995", "prefLabel":"Depressions in motion pictures", "altLabels":[],"related":[]}, {"uri":"http://id.worldcat.org/fast/869764", "prefLabel":"Commodore 64 (Computer)", "altLabels":[], "related":[{"label":"Electronic digital computers","uri":"http://id.worldcat.org/fast/907122"},{"label":"Commodore computers","uri":"http://id.worldcat.org/fast/869771"}]} ]}}
Expect the same response if only one concept is requested (i.e. a list of one concept).
Query Parameters: - uri – unique identifier of a SKOS concept
Status Codes: - 200 OK – request done
- 400 Bad Request – Bad request (if you don’t pass the parameter)
- 500 Internal Server Error – an exception occured