Package stroom.query.audit.rest
Interface QueryResource
-
- All Known Implementing Classes:
AuditedQueryResourceImpl
,QueryResourceHttpClient
@Path("/queryApi/v1") @Produces("application/json") public interface QueryResource
This is the interface that Stroom Dashboards expect to use when talking to external data sources.
-
-
Method Summary
Modifier and Type Method Description javax.ws.rs.core.Response
destroy(ServiceUser user, QueryKey queryKey)
javax.ws.rs.core.Response
getDataSource(ServiceUser user, DocRef docRef)
javax.ws.rs.core.Response
search(ServiceUser user, SearchRequest request)
-
-
-
Method Detail
-
getDataSource
@POST @Consumes("application/json") @Produces("application/json") @Path("/dataSource") javax.ws.rs.core.Response getDataSource(ServiceUser user, DocRef docRef)
-
search
@POST @Consumes("application/json") @Produces("application/json") @Path("/search") javax.ws.rs.core.Response search(ServiceUser user, SearchRequest request)
-
destroy
@POST @Consumes("application/json") @Produces("application/json") @Path("/destroy") javax.ws.rs.core.Response destroy(ServiceUser user, QueryKey queryKey)
-
-