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

SPARQL operation different types of responses #3721

Closed
chenejac opened this issue Jun 18, 2022 · 0 comments
Closed

SPARQL operation different types of responses #3721

chenejac opened this issue Jun 18, 2022 · 0 comments

Comments

@chenejac
Copy link
Contributor

Is your feature request related to a problem? Please describe.
SPARQL dynamic action operation should support different format of result for the case of looking for unique resource or fetching all.

Describe the solution you'd like
SPARQL dynamic action should return a record, or an array. Probably we need some flags in definition of operation (whether it is looking for a resource or list), or in definition of provided parameters from the operation. Moreover, the type of a property in response is fixed to String, it is not working well for Integer values - see this line. Therefore, the HTTP request for fetching all geolocations (http://localhost:8080/vivo/api/rest/1.0.0/geolocation/), return
"total": "324^^http://www.w3.org/2001/XMLSchema#integer"
instead of
"total": 324

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant