mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Improve app subscribing API URLs
This commit is contained in:
parent
aef5b84b16
commit
fcc9531805
@ -82,7 +82,7 @@ public interface SubscriptionManagementAPI {
|
||||
String SCOPE = "scope";
|
||||
|
||||
@POST
|
||||
@Path("/install/{uuid}/devices/{action}")
|
||||
@Path("/{uuid}/devices/{action}")
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@Consumes(MediaType.APPLICATION_JSON)
|
||||
@ApiOperation(
|
||||
@ -124,7 +124,7 @@ public interface SubscriptionManagementAPI {
|
||||
);
|
||||
|
||||
@POST
|
||||
@Path("/install/{uuid}/{subType}/{action}")
|
||||
@Path("/{uuid}/{subType}/{action}")
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@Consumes(MediaType.APPLICATION_JSON)
|
||||
@ApiOperation(
|
||||
|
||||
@ -49,7 +49,7 @@ public class SubscriptionManagementAPIImpl implements SubscriptionManagementAPI{
|
||||
|
||||
@Override
|
||||
@POST
|
||||
@Path("/install/{uuid}/devices/{action}")
|
||||
@Path("/{uuid}/devices/{action}")
|
||||
public Response performAppOperationForDevices(
|
||||
@PathParam("uuid") String uuid,
|
||||
@PathParam("action") String action,
|
||||
@ -83,7 +83,7 @@ public class SubscriptionManagementAPIImpl implements SubscriptionManagementAPI{
|
||||
|
||||
@Override
|
||||
@POST
|
||||
@Path("/install/{uuid}/{subType}/{action}")
|
||||
@Path("/{uuid}/{subType}/{action}")
|
||||
public Response performBulkAppOperation(
|
||||
@PathParam("uuid") String uuid,
|
||||
@PathParam("subType") String subType,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user