Fixing the api issues

revert-70aa11f8
geethkokila 9 years ago
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…
Cancel
Save