Project: datamanagement
Issue DM-3478: Design API for passing query type
User should be able to pass hint with a query indicating what query type it is. Based on that the return result will either be the query result, or queryId. This story involves designing the API (sql and RESTful).
Story points: 3