Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 1.18 KB

API.textile

File metadata and controls

40 lines (22 loc) · 1.18 KB

About

Description of API provided by gndWS

RestFul Services

Replace domain with appropriate url

http://domain/loddiggr/api

Services

GND Person ID Request

Service takes first name(s) and last name of a person and returns an ID from the Gemeinsame Norm Datei (GND) if applicable

Param: firstName, lastName

Returns: a list of matching person data, each with: ID, preferred name, biographic details*, year of birth*, academic title*, wikipedia url*

  • if applicable

Response Formmats

application/xml
application/json

Example Calls

XML via POST
curl -v -H "Accept: application/xml" -X POST --url "http://localhost:8080/loddiggr/api/personInfo?firstName=Loki&lastName=Schmidt"

JSONP via GET
curl 'http://localhost:8080/loddiggr/api/personInfo?firstName=Andres&lastName=Quast&callback=jQuery191014007193349014002_1387286344636&_=1387286344637' -H 'Accept: application/x-javascript'

Known Issues

  • actually XMLRootelement and Person List element are the same
  • Sparql-request Results with columns containing blank nodes will be skipped: Do not define an Sparql-request template that returns a blank node column: was a feature to reduce results, maybe its a bug?