hbz / lobid

Linking Open Bibliographic Data
https://lobid.org/
Eclipse Public License 2.0
16 stars 4 forks source link

Return 404 not found for URIs with no RDF response #63

Closed acka47 closed 8 years ago

acka47 commented 10 years ago

Examples:

fsteeg commented 8 years ago

We don't have a clear separation between searches and getting single resources in the API 1.x code. Supporting 404 on getting single resources would require some major refactoring. Giving 404 on empty searches too seems wrong and would break current API. Since we're phasing out the 1.x API anyway, I suggest we leave it as it is in 1.x and implement it correctly for 2.0, as it already is for the beta organisations API: curl l -v -L http://beta.lobid.org/organisations/DE

acka47 commented 8 years ago

+1 Should we close this one then?