Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update apidoc.json so that it has non-ld endpoints #49

Open
jcoyne opened this issue Oct 29, 2021 · 1 comment
Open

Update apidoc.json so that it has non-ld endpoints #49

jcoyne opened this issue Oct 29, 2021 · 1 comment

Comments

@jcoyne
Copy link

jcoyne commented Oct 29, 2021

No description provided.

@elrayle
Copy link
Member

elrayle commented Nov 3, 2021

The swagger doc at https://lookup.ld4l.org/qa/apidoc/ has been updated to include definitions for locally defined authorities (e.g. property_type) and module defined authorities (e.g. discogs).

This reflects the way things are now.

Local and modules do not include a URI in the results.

Also, while testing the swagger doc, I noticed that the local authorities that use the URI as the ID have a problem retrieving a single term by ID. This is because the ID includes multiple / which get interpreted as being part of the path. We had the same problem for the linked data. I added a fetch action that takes a parameter ?uri=http://the.uri.path instead of extending the path with the id.

If Sinopia needs to do that, I can look into updating QA to allow a fetch action that is happy to receive an id param that can be a simple id (e.g. 123) or a URI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants