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

prepare REST api for handle resolution with metadata #760

Closed
Paurikova2 opened this issue Sep 13, 2024 · 0 comments · Fixed by #761
Closed

prepare REST api for handle resolution with metadata #760

Paurikova2 opened this issue Sep 13, 2024 · 0 comments · Fixed by #761
Assignees

Comments

@Paurikova2
Copy link
Collaborator

Paurikova2 commented Sep 13, 2024

The new Handle server project (link) uses this code or this code to get a URL for a specific handle.

The endpoint "/resolve/" can be found in HdlResolverRestController.java and here.

I want to modify this endpoint so that if a parameter is provided (or in some other way, such as updating the URL, HTTP request parameters, etc.), it will return a List Map, i.e., instead of https://dev-5.pc:8443/server/resolve/11234/1-5419 which returns ["AAA"], it should return [{"url": "AAA", OTHER METADATA}] where other metadata is like in http://hdl.handle.net/11025/57448?noredirect which is in HandlePlugin.java.

NOTE: (Note, you restarted Docker during the import and handle.remote-resolver.enabled = true is set to false, which is why /resolve/ does not work.)

SUMMARY: Instead of ["string"], I want /resolve/* [{}].

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

Successfully merging a pull request may close this issue.

3 participants