In our application we offer list queries with sorting and filtering and now we were discussing if we should also offer single item queries with the id as parameter.
I've googled a bit and found that very often both queries, list and single item, are implemented.
I'm just wondering why. Wouldn't/Shouldn't a single item query with id as parameter be the same as a list query filtered for id? In both cases the UI should be able to select all properties throughout the graph, right?
Why would the backend care to offer a single item query when the list is already sufficient?
Looking for best practices here.