Use GraphQL queries from REST services

In the v3 there is none really, in both REST and GraphQL we fetch everything from the database (effectively a select * from ....) but the v4 has changed this for both, see these RFCs: