mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixing the api issues
This commit is contained in:
parent
0221782533
commit
ecc8b5e6f2
@ -114,7 +114,8 @@ public interface DeviceInformation {
|
|||||||
value = "Get the locations of devices",
|
value = "Get the locations of devices",
|
||||||
notes = "This will return the locations of devices including latitude and longitude as well the "
|
notes = "This will return the locations of devices including latitude and longitude as well the "
|
||||||
+ "physical address for the supplied device identifiers",
|
+ "physical address for the supplied device identifiers",
|
||||||
response = DeviceLocation.class)
|
response = DeviceLocation.class,
|
||||||
|
responseContainer = "List")
|
||||||
@ApiResponses(value = {
|
@ApiResponses(value = {
|
||||||
@ApiResponse(code = 200, message = ""),
|
@ApiResponse(code = 200, message = ""),
|
||||||
@ApiResponse(code = 400, message = ""),
|
@ApiResponse(code = 400, message = ""),
|
||||||
|
|||||||
@ -99,6 +99,7 @@ public class DeviceInformationImpl implements DeviceInformation {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Path("location/list")
|
||||||
public Response getDeviceLocations(@ApiParam(name = "deviceIdentifiers", value = "List of device identifiers",
|
public Response getDeviceLocations(@ApiParam(name = "deviceIdentifiers", value = "List of device identifiers",
|
||||||
required = true) List<DeviceIdentifier> deviceIdentifiers) {
|
required = true) List<DeviceIdentifier> deviceIdentifiers) {
|
||||||
DeviceInformationManager informationManager;
|
DeviceInformationManager informationManager;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user