|
|
@ -43,7 +43,7 @@ public interface AndroidSenseControllerService {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Path("device/{deviceId}/words")
|
|
|
|
@Path("device/{deviceId}/words")
|
|
|
|
@POST
|
|
|
|
@POST
|
|
|
|
@Feature(code = "keywords", name = "Add Keywords", description = "Send keywords to the device", type = "operation")
|
|
|
|
@Feature(code = "keywords", name = "Add Keywords", description = "Send keywords to the device")
|
|
|
|
Response sendKeyWords(@PathParam("deviceId") String deviceId, @QueryParam("keywords") String keywords);
|
|
|
|
Response sendKeyWords(@PathParam("deviceId") String deviceId, @QueryParam("keywords") String keywords);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -54,14 +54,12 @@ public interface AndroidSenseControllerService {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Path("device/{deviceId}/words/threshold")
|
|
|
|
@Path("device/{deviceId}/words/threshold")
|
|
|
|
@POST
|
|
|
|
@POST
|
|
|
|
@Feature(code = "threshold", name = "Add a Threshold", description = "Set a threshold for word in the device",
|
|
|
|
@Feature(code = "threshold", name = "Add a Threshold", description = "Set a threshold for word in the device")
|
|
|
|
type = "operation")
|
|
|
|
|
|
|
|
Response sendThreshold(@PathParam("deviceId") String deviceId, @QueryParam("threshold") String threshold);
|
|
|
|
Response sendThreshold(@PathParam("deviceId") String deviceId, @QueryParam("threshold") String threshold);
|
|
|
|
|
|
|
|
|
|
|
|
@Path("device/{deviceId}/words")
|
|
|
|
@Path("device/{deviceId}/words")
|
|
|
|
@DELETE
|
|
|
|
@DELETE
|
|
|
|
@Feature(code = "remove", name = "Remove Keywords", description = "Remove the keywords",
|
|
|
|
@Feature(code = "remove", name = "Remove Keywords", description = "Remove the keywords")
|
|
|
|
type = "operation")
|
|
|
|
|
|
|
|
Response removeKeyWords(@PathParam("deviceId") String deviceId, @QueryParam("words") String words);
|
|
|
|
Response removeKeyWords(@PathParam("deviceId") String deviceId, @QueryParam("words") String words);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|