OCS Resolve API issues (missing ID, verbose response) #1555
Labels
0. Needs triage
Pending approval or rejection. This issue is pending approval.
enhancement
New feature or request
Is your feature request related to a problem? Please describe.
The OCS Resolve endoint (
GET https://example.com/ocs/v2.php/references/resolve?reference=https%3A%2F%2Fexample.com%2Findex.php%2Fapps%2Ftables%2F%23%2Ftable%2F10
) currently returns arichObject
property, that doesn't actually satisfy me.First of all, it includes all data from that table. Given this endpoint gets hit when a user searches for anything, that seems to be a bit too verbose to me.
Also: I expected (and require) the most obvious information: the ID of the object. Sure, I could parse it from the URL, but what if the UI changes at some point in the time? No, I'd like the ID to be present in the response if possible 🙂
Describe the solution you'd like
Drop the
rows
property, the summarizing row count is enough, add theid
property.Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: