public interface SruConsumerServiceAPI
extends org.gcube.rest.commons.resourceawareservice.ResourceAwareServiceRestAPI
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
explain(String scope,
String resourceID) |
javax.ws.rs.core.Response |
ping() |
javax.ws.rs.core.Response |
query(String scope,
String resourceID,
String queryString,
Long maxRecords,
Boolean result,
Boolean useRR) |
@GET @Path(value="/ping") @Produces(value="application/json; charset=UTF-8") javax.ws.rs.core.Response ping()
@GET
@Path(value="/{id}/query")
@Produces(value="application/json; charset=UTF-8")
javax.ws.rs.core.Response query(@HeaderParam(value="gcube-scope")
String scope,
@PathParam(value="id")
String resourceID,
@QueryParam(value="queryString")
String queryString,
@QueryParam(value="maxRecords")
Long maxRecords,
@QueryParam(value="result") @DefaultValue(value="false")
Boolean result,
@QueryParam(value="useRR") @DefaultValue(value="true")
Boolean useRR)
Copyright © 2017. All Rights Reserved.