You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: