|
|
@ -76,13 +76,24 @@ public interface DeviceManagementService {
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 304,
|
|
|
|
code = 304,
|
|
|
|
message = "Not Modified. \n Empty body because the client has already the latest version of the requested resource."),
|
|
|
|
message = "Not Modified. \n Empty body because the client has already the latest version of " +
|
|
|
|
|
|
|
|
"the requested resource."),
|
|
|
|
|
|
|
|
@ApiResponse(
|
|
|
|
|
|
|
|
code = 400,
|
|
|
|
|
|
|
|
message = "The incoming request has more than one selection criteria defined through query" +
|
|
|
|
|
|
|
|
" parameters.",
|
|
|
|
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
|
|
|
|
@ApiResponse(
|
|
|
|
|
|
|
|
code = 404,
|
|
|
|
|
|
|
|
message = "No device is currently enrolled with the server.",
|
|
|
|
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 406,
|
|
|
|
code = 406,
|
|
|
|
message = "Not Acceptable.\n The requested media type is not supported"),
|
|
|
|
message = "Not Acceptable.\n The requested media type is not supported"),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 500,
|
|
|
|
code = 500,
|
|
|
|
message = "Internal Server ErrorResponse. \n Server error occurred while fetching the device list.")
|
|
|
|
message = "Internal Server ErrorResponse. \n Server error occurred while fetching the device list.",
|
|
|
|
|
|
|
|
response = ErrorResponse.class)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
@Permission(scope = "device-list", permissions = {"/permission/admin/device-mgt/admin/devices/list"})
|
|
|
|
@Permission(scope = "device-list", permissions = {"/permission/admin/device-mgt/admin/devices/list"})
|
|
|
|
Response getDevices(
|
|
|
|
Response getDevices(
|
|
|
@ -127,141 +138,6 @@ public interface DeviceManagementService {
|
|
|
|
required = false)
|
|
|
|
required = false)
|
|
|
|
@QueryParam("limit") int limit);
|
|
|
|
@QueryParam("limit") int limit);
|
|
|
|
|
|
|
|
|
|
|
|
// @GET
|
|
|
|
|
|
|
|
// @Path("{type}/{id}/info")
|
|
|
|
|
|
|
|
// @ApiOperation(
|
|
|
|
|
|
|
|
// consumes = MediaType.APPLICATION_JSON,
|
|
|
|
|
|
|
|
// produces = MediaType.APPLICATION_JSON,
|
|
|
|
|
|
|
|
// httpMethod = "GET",
|
|
|
|
|
|
|
|
// value = "Retrieve devices information from the supplied device identifier.",
|
|
|
|
|
|
|
|
// notes = "This will return device information such as CPU usage, memory usage etc for supplied device " +
|
|
|
|
|
|
|
|
// "identifier.",
|
|
|
|
|
|
|
|
// tags = "Device Management")
|
|
|
|
|
|
|
|
// @ApiResponses(
|
|
|
|
|
|
|
|
// value = {
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 200,
|
|
|
|
|
|
|
|
// message = "OK. \n Information of the submitted list of devices is returned",
|
|
|
|
|
|
|
|
// response = DeviceInfo.class,
|
|
|
|
|
|
|
|
// responseHeaders = {
|
|
|
|
|
|
|
|
// @ResponseHeader(
|
|
|
|
|
|
|
|
// name = "Content-Type",
|
|
|
|
|
|
|
|
// description = "The content type of the body"),
|
|
|
|
|
|
|
|
// @ResponseHeader(
|
|
|
|
|
|
|
|
// name = "ETag",
|
|
|
|
|
|
|
|
// description = "Entity Tag of the response resource.\n" +
|
|
|
|
|
|
|
|
// "Used by caches, or in conditional requests."),
|
|
|
|
|
|
|
|
// @ResponseHeader(
|
|
|
|
|
|
|
|
// name = "Last-Modified",
|
|
|
|
|
|
|
|
// description = "Date and time the resource has been modified the last time.\n" +
|
|
|
|
|
|
|
|
// "Used by caches, or in conditional requests.")}),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 303,
|
|
|
|
|
|
|
|
// message = "See Other. \n Source can be retrieved from the URL specified at the Location header.",
|
|
|
|
|
|
|
|
// responseHeaders = {
|
|
|
|
|
|
|
|
// @ResponseHeader(
|
|
|
|
|
|
|
|
// name = "Content-Location",
|
|
|
|
|
|
|
|
// description = "The Source URL of the document.")}),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 304,
|
|
|
|
|
|
|
|
// message = "Not Modified. \n " +
|
|
|
|
|
|
|
|
// "Empty body because the client already has the latest version of the requested resource."),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 400,
|
|
|
|
|
|
|
|
// message = "Bad Request. \n Invalid request or validation error."),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 404,
|
|
|
|
|
|
|
|
// message = "Not Found. \n No device is found under the provided type and id."),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 406,
|
|
|
|
|
|
|
|
// message = "Not Acceptable. \n The requested media type is not supported."),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 500,
|
|
|
|
|
|
|
|
// message = "Internal Server ErrorResponse. \n " +
|
|
|
|
|
|
|
|
// "Server error occurred while retrieving information of the list of the devices submitted.",
|
|
|
|
|
|
|
|
// response = ErrorResponse.class)
|
|
|
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
// @Permission(scope = "device-info", permissions = {"/permission/admin/device-mgt/admin/devices/list"})
|
|
|
|
|
|
|
|
// Response getDeviceInfo(
|
|
|
|
|
|
|
|
// @ApiParam(
|
|
|
|
|
|
|
|
// name = "type",
|
|
|
|
|
|
|
|
// value = "The device type, such as ios, android or windows.",
|
|
|
|
|
|
|
|
// required = true)
|
|
|
|
|
|
|
|
// @PathParam("type") String type,
|
|
|
|
|
|
|
|
// @ApiParam(
|
|
|
|
|
|
|
|
// name = "id",
|
|
|
|
|
|
|
|
// value = "The device identifier of the device.",
|
|
|
|
|
|
|
|
// required = true)
|
|
|
|
|
|
|
|
// @PathParam("id") String id,
|
|
|
|
|
|
|
|
// @ApiParam(
|
|
|
|
|
|
|
|
// name = "If-Modified-Since",
|
|
|
|
|
|
|
|
// value = "Validates if the requested variant has not been modified since the time specified",
|
|
|
|
|
|
|
|
// required = false)
|
|
|
|
|
|
|
|
// @HeaderParam("If-Modified-Since") String ifModifiedSince);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @POST
|
|
|
|
|
|
|
|
// @Path("/get-info")
|
|
|
|
|
|
|
|
// @ApiOperation(
|
|
|
|
|
|
|
|
// consumes = MediaType.APPLICATION_JSON,
|
|
|
|
|
|
|
|
// produces = MediaType.APPLICATION_JSON,
|
|
|
|
|
|
|
|
// httpMethod = "POST",
|
|
|
|
|
|
|
|
// value = "Retrieve devices information from the supplied device identifies.",
|
|
|
|
|
|
|
|
// notes = "This will return device information such as CPU usage, memory usage etc for supplied device " +
|
|
|
|
|
|
|
|
// "identifiers.",
|
|
|
|
|
|
|
|
// tags = "Device Management")
|
|
|
|
|
|
|
|
// @ApiResponses(
|
|
|
|
|
|
|
|
// value = {
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 200,
|
|
|
|
|
|
|
|
// message = "OK. \n Information of the submitted list of devices is returned",
|
|
|
|
|
|
|
|
// response = DeviceInfo.class,
|
|
|
|
|
|
|
|
// responseContainer = "List",
|
|
|
|
|
|
|
|
// responseHeaders = {
|
|
|
|
|
|
|
|
// @ResponseHeader(
|
|
|
|
|
|
|
|
// name = "Content-Type",
|
|
|
|
|
|
|
|
// description = "The content type of the body"),
|
|
|
|
|
|
|
|
// @ResponseHeader(
|
|
|
|
|
|
|
|
// name = "ETag",
|
|
|
|
|
|
|
|
// description = "Entity Tag of the response resource.\n" +
|
|
|
|
|
|
|
|
// "Used by caches, or in conditional requests."),
|
|
|
|
|
|
|
|
// @ResponseHeader(
|
|
|
|
|
|
|
|
// name = "Last-Modified",
|
|
|
|
|
|
|
|
// description = "Date and time the resource has been modified the last time.\n" +
|
|
|
|
|
|
|
|
// "Used by caches, or in conditional requests.")}),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 303,
|
|
|
|
|
|
|
|
// message = "See Other. \n Source can be retrieved from the URL specified at the Location header.",
|
|
|
|
|
|
|
|
// responseHeaders = {
|
|
|
|
|
|
|
|
// @ResponseHeader(
|
|
|
|
|
|
|
|
// name = "Content-Location",
|
|
|
|
|
|
|
|
// description = "The Source URL of the document.")}),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 304,
|
|
|
|
|
|
|
|
// message = "Not Modified. \n " +
|
|
|
|
|
|
|
|
// "Empty body because the client already has the latest version of the requested resource."),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 400,
|
|
|
|
|
|
|
|
// message = "Bad Request. \n Invalid request or validation error."),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 406,
|
|
|
|
|
|
|
|
// message = "Not Acceptable. \n The requested media type is not supported."),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 500,
|
|
|
|
|
|
|
|
// message = "Internal Server ErrorResponse. \n " +
|
|
|
|
|
|
|
|
// "Server error occurred while retrieving information of the list of the devices submitted.")
|
|
|
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
// @Permission(scope = "device-info", permissions = {"/permission/admin/device-mgt/admin/devices/list"})
|
|
|
|
|
|
|
|
// Response getDevicesInfo(
|
|
|
|
|
|
|
|
// @ApiParam(
|
|
|
|
|
|
|
|
// name = "If-Modified-Since",
|
|
|
|
|
|
|
|
// value = "Timestamp of the last modified date",
|
|
|
|
|
|
|
|
// required = false)
|
|
|
|
|
|
|
|
// @HeaderParam("If-Modified-Since") String timestamp,
|
|
|
|
|
|
|
|
// @ApiParam(
|
|
|
|
|
|
|
|
// name = "deviceIds",
|
|
|
|
|
|
|
|
// value = "List of device identifiers",
|
|
|
|
|
|
|
|
// required = true) List<DeviceIdentifier> deviceIds);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GET
|
|
|
|
@GET
|
|
|
|
@Path("/{type}/{id}")
|
|
|
|
@Path("/{type}/{id}")
|
|
|
@ -292,11 +168,16 @@ public interface DeviceManagementService {
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 304,
|
|
|
|
code = 304,
|
|
|
|
message = "Not Modified. \n " +
|
|
|
|
message = "Not Modified. Empty body because the client already has the latest " +
|
|
|
|
"Empty body because the client already has the latest version of the requested resource."),
|
|
|
|
"version of the requested resource."),
|
|
|
|
|
|
|
|
@ApiResponse(
|
|
|
|
|
|
|
|
code = 400,
|
|
|
|
|
|
|
|
message = "Bad Request. \n Invalid request or validation error.",
|
|
|
|
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 404,
|
|
|
|
code = 404,
|
|
|
|
message = "Not Found. \n No device is found under the provided type and id."),
|
|
|
|
message = "Not Found. \n No device is found under the provided type and id.",
|
|
|
|
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 500,
|
|
|
|
code = 500,
|
|
|
|
message = "Internal Server ErrorResponse. \n " +
|
|
|
|
message = "Internal Server ErrorResponse. \n " +
|
|
|
@ -323,94 +204,6 @@ public interface DeviceManagementService {
|
|
|
|
required = false)
|
|
|
|
required = false)
|
|
|
|
@HeaderParam("If-Modified-Since") String ifModifiedSince);
|
|
|
|
@HeaderParam("If-Modified-Since") String ifModifiedSince);
|
|
|
|
|
|
|
|
|
|
|
|
// @GET
|
|
|
|
|
|
|
|
// @Path("/{type}/{id}/location")
|
|
|
|
|
|
|
|
// @ApiOperation(
|
|
|
|
|
|
|
|
// consumes = MediaType.APPLICATION_JSON,
|
|
|
|
|
|
|
|
// produces = MediaType.APPLICATION_JSON,
|
|
|
|
|
|
|
|
// httpMethod = "GET",
|
|
|
|
|
|
|
|
// value = "Get the device location of a given device and a device type.",
|
|
|
|
|
|
|
|
// notes = "This will return the device location including latitude and longitude as well the "
|
|
|
|
|
|
|
|
// + "physical address.",
|
|
|
|
|
|
|
|
// tags = "Device Management")
|
|
|
|
|
|
|
|
// @ApiResponses(
|
|
|
|
|
|
|
|
// value = {
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 200,
|
|
|
|
|
|
|
|
// message = "Successfully fetched the device location.",
|
|
|
|
|
|
|
|
// response = DeviceLocation.class),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 304,
|
|
|
|
|
|
|
|
// message = "Not Modified. \n " +
|
|
|
|
|
|
|
|
// "Empty body because the client already has the latest version of the requested resource."),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 404,
|
|
|
|
|
|
|
|
// message = "Not Found. \n No device is found under the provided type and id."),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 500,
|
|
|
|
|
|
|
|
// message = "ErrorResponse occurred while getting the device location.",
|
|
|
|
|
|
|
|
// response = ErrorResponse.class)
|
|
|
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
// @Permission(scope = "device-info", permissions = {"/permission/admin/device-mgt/admin/devices/list"})
|
|
|
|
|
|
|
|
// Response getDeviceLocation(
|
|
|
|
|
|
|
|
// @ApiParam(
|
|
|
|
|
|
|
|
// name = "type",
|
|
|
|
|
|
|
|
// value = "The device type, such as ios, android or windows.",
|
|
|
|
|
|
|
|
// required = true)
|
|
|
|
|
|
|
|
// @PathParam("type") String type,
|
|
|
|
|
|
|
|
// @ApiParam(
|
|
|
|
|
|
|
|
// name = "id",
|
|
|
|
|
|
|
|
// value = "The device identifier of the device.",
|
|
|
|
|
|
|
|
// required = true)
|
|
|
|
|
|
|
|
// @PathParam("id") String id,
|
|
|
|
|
|
|
|
// @ApiParam(
|
|
|
|
|
|
|
|
// name = "If-Modified-Since",
|
|
|
|
|
|
|
|
// value = "Validates if the requested variant has not been modified since the time specified",
|
|
|
|
|
|
|
|
// required = false)
|
|
|
|
|
|
|
|
// @HeaderParam("If-Modified-Since") String ifModifiedSince);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @POST
|
|
|
|
|
|
|
|
// @Path("/locations")
|
|
|
|
|
|
|
|
// @ApiOperation(
|
|
|
|
|
|
|
|
// consumes = MediaType.APPLICATION_JSON,
|
|
|
|
|
|
|
|
// produces = MediaType.APPLICATION_JSON,
|
|
|
|
|
|
|
|
// httpMethod = "POST",
|
|
|
|
|
|
|
|
// value = "Get the device location of a given devices and a device type.",
|
|
|
|
|
|
|
|
// notes = "This will return the device locations including latitude and longitude as well the "
|
|
|
|
|
|
|
|
// + "physical address of the given devices.",
|
|
|
|
|
|
|
|
// tags = "Device Management")
|
|
|
|
|
|
|
|
// @ApiResponses(
|
|
|
|
|
|
|
|
// value = {
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 200,
|
|
|
|
|
|
|
|
// message = "Successfully fetched the device location.",
|
|
|
|
|
|
|
|
// response = DeviceLocation.class,
|
|
|
|
|
|
|
|
// responseContainer = "List"),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 304,
|
|
|
|
|
|
|
|
// message = "Not Modified. \n " +
|
|
|
|
|
|
|
|
// "Empty body because the client already has the latest version of the requested resource."),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 404,
|
|
|
|
|
|
|
|
// message = "Location details are not available for the given devices."),
|
|
|
|
|
|
|
|
// @ApiResponse(
|
|
|
|
|
|
|
|
// code = 500,
|
|
|
|
|
|
|
|
// message = "ErrorResponse occurred while getting the device location.",
|
|
|
|
|
|
|
|
// response = ErrorResponse.class)
|
|
|
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
// @Permission(scope = "device-info", permissions = {"/permission/admin/device-mgt/admin/devices/list"})
|
|
|
|
|
|
|
|
// Response getDeviceLocations(
|
|
|
|
|
|
|
|
// @ApiParam(
|
|
|
|
|
|
|
|
// name = "deviceIds",
|
|
|
|
|
|
|
|
// value = "List of device identifiers",
|
|
|
|
|
|
|
|
// required = true) List<DeviceIdentifier> deviceIds,
|
|
|
|
|
|
|
|
// @ApiParam(
|
|
|
|
|
|
|
|
// name = "If-Modified-Since",
|
|
|
|
|
|
|
|
// value = "Validates if the requested variant has not been modified since the time specified",
|
|
|
|
|
|
|
|
// required = false)
|
|
|
|
|
|
|
|
// @HeaderParam("If-Modified-Since") String ifModifiedSince);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GET
|
|
|
|
@GET
|
|
|
|
@Path("/{type}/{id}/features")
|
|
|
|
@Path("/{type}/{id}/features")
|
|
|
|
@ApiOperation(
|
|
|
|
@ApiOperation(
|
|
|
@ -459,7 +252,8 @@ public interface DeviceManagementService {
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 404,
|
|
|
|
code = 404,
|
|
|
|
message = "Not Found. \n Device of which the feature list is requested, is not found."),
|
|
|
|
message = "Not Found. \n Device of which the feature list is requested, is not found.",
|
|
|
|
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 406,
|
|
|
|
code = 406,
|
|
|
|
message = "Not Acceptable. \n The requested media type is not supported."),
|
|
|
|
message = "Not Acceptable. \n The requested media type is not supported."),
|
|
|
@ -525,6 +319,11 @@ public interface DeviceManagementService {
|
|
|
|
code = 400,
|
|
|
|
code = 400,
|
|
|
|
message = "Bad Request. \n Invalid request or validation error.",
|
|
|
|
message = "Bad Request. \n Invalid request or validation error.",
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
|
|
|
|
@ApiResponse(
|
|
|
|
|
|
|
|
code = 404,
|
|
|
|
|
|
|
|
message = "Not Acceptable.\n TIt is likely that no device is found upon the " +
|
|
|
|
|
|
|
|
"provided filters",
|
|
|
|
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 406,
|
|
|
|
code = 406,
|
|
|
|
message = "Not Acceptable.\n The requested media type is not supported"),
|
|
|
|
message = "Not Acceptable.\n The requested media type is not supported"),
|
|
|
@ -600,7 +399,8 @@ public interface DeviceManagementService {
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 404,
|
|
|
|
code = 404,
|
|
|
|
message = "Not Found. \n Device of which the application list is requested, is not found."),
|
|
|
|
message = "Not Found. \n Device of which the application list is requested, is not found.",
|
|
|
|
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 406,
|
|
|
|
code = 406,
|
|
|
|
message = "Not Acceptable. \n The requested media type is not supported."),
|
|
|
|
message = "Not Acceptable. \n The requested media type is not supported."),
|
|
|
@ -688,7 +488,8 @@ public interface DeviceManagementService {
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 404,
|
|
|
|
code = 404,
|
|
|
|
message = "Not Found. \n Device of which the operation list is requested, is not found."),
|
|
|
|
message = "Not Found. \n Device of which the operation list is requested, is not found.",
|
|
|
|
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 406,
|
|
|
|
code = 406,
|
|
|
|
message = "Not Acceptable. \n The requested media type is not supported."),
|
|
|
|
message = "Not Acceptable. \n The requested media type is not supported."),
|
|
|
@ -775,7 +576,8 @@ public interface DeviceManagementService {
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 404,
|
|
|
|
code = 404,
|
|
|
|
message = "Not Found. \n Device of which the effective policy is requested, is not found."),
|
|
|
|
message = "Not Found. \n Device of which the effective policy is requested, is not found.",
|
|
|
|
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 406,
|
|
|
|
code = 406,
|
|
|
|
message = "Not Acceptable. \n The requested media type is not supported."),
|
|
|
|
message = "Not Acceptable. \n The requested media type is not supported."),
|
|
|
|