mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Commiting permission-scope mapping improvements
This commit is contained in:
parent
ccf117b21d
commit
aa68d5242e
@ -63,7 +63,7 @@ public interface VirtualFireAlarmService {
|
||||
*/
|
||||
@POST
|
||||
@Path("device/{deviceId}/buzz")
|
||||
@Scope(key = "device:firealarm:enroll", name = "", description = "")
|
||||
//@Scope(key = "device:firealarm:enroll", name = "", description = "")
|
||||
Response switchBuzzer(@PathParam("deviceId") String deviceId,
|
||||
@FormParam("state") String state);
|
||||
|
||||
@ -72,7 +72,7 @@ public interface VirtualFireAlarmService {
|
||||
*/
|
||||
@Path("device/stats/{deviceId}")
|
||||
@GET
|
||||
@Scope(key = "device:firealarm:enroll", name = "", description = "")
|
||||
//@Scope(key = "device:firealarm:enroll", name = "", description = "")
|
||||
@Consumes("application/json")
|
||||
@Produces("application/json")
|
||||
Response getVirtualFirealarmStats(@PathParam("deviceId") String deviceId, @QueryParam("from") long from,
|
||||
@ -81,7 +81,7 @@ public interface VirtualFireAlarmService {
|
||||
@Path("device/download")
|
||||
@GET
|
||||
@Produces("application/zip")
|
||||
@Scope(key = "device:firealarm:enroll", name = "", description = "")
|
||||
//@Scope(key = "device:firealarm:enroll", name = "", description = "")
|
||||
Response downloadSketch(@QueryParam("deviceName") String deviceName, @QueryParam("sketchType") String sketchType);
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user