mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Update status history path
This commit is contained in:
parent
d2bc463284
commit
7747d7b425
@ -2011,7 +2011,7 @@ public interface DeviceManagementService {
|
||||
|
||||
@GET
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@Path("/{type}/{id}/getstatushistory")
|
||||
@Path("/{type}/{id}/status-history")
|
||||
@ApiOperation(
|
||||
produces = MediaType.APPLICATION_JSON,
|
||||
httpMethod = "GET",
|
||||
@ -2079,7 +2079,7 @@ public interface DeviceManagementService {
|
||||
|
||||
@GET
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@Path("/{type}/{id}/getenrolmentstatushistory")
|
||||
@Path("/{type}/{id}/enrolment-status-history")
|
||||
@ApiOperation(
|
||||
produces = MediaType.APPLICATION_JSON,
|
||||
httpMethod = "GET",
|
||||
|
||||
@ -1344,7 +1344,7 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
|
||||
* @return {@link Response} object
|
||||
*/
|
||||
@GET
|
||||
@Path("/{type}/{id}/getstatushistory")
|
||||
@Path("/{type}/{id}/status-history")
|
||||
public Response getDeviceStatusHistory(@PathParam("type") @Size(max = 45) String type,
|
||||
@PathParam("id") @Size(max = 45) String id) {
|
||||
//TODO check authorization for this
|
||||
@ -1376,7 +1376,7 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
|
||||
* @return {@link Response} object
|
||||
*/
|
||||
@GET
|
||||
@Path("/{type}/{id}/getenrolmentstatushistory")
|
||||
@Path("/{type}/{id}/enrolment-status-history")
|
||||
public Response getCurrentEnrolmentDeviceStatusHistory(@PathParam("type") @Size(max = 45) String type,
|
||||
@PathParam("id") @Size(max = 45) String id) {
|
||||
//TODO check authorization for this or current enrolment should be based on for the enrolment associated with the user
|
||||
|
||||
Loading…
Reference in New Issue
Block a user