@ApiResponses(value={@ApiResponse(code=200,message="List of Operations on a device."),
@ApiResponses(value={@ApiResponse(code=200,message="List of Operations on a device."),
@ApiResponse(code=500,message="Error occurred while fetching the operations for the "+
@ApiResponse(code=500,message="Error occurred while fetching the operations for the "+
"device.")})
"device.")})
ResponsegetDeviceOperations(@ApiParam(name="type",value="Define the device type as the value for {type}. "+
ResponsegetAllDeviceOperations(@ApiParam(name="type",value="Define the device type as the value for {type}. "+
"Example: ios, android or windows.",
"Example: ios, android or windows.",
required=true)@PathParam("type")Stringtype,
required=true)@PathParam("type")Stringtype,
@ApiParam(name="id",value="Define the device ID",
@ApiParam(name="id",value="Define the device ID",
@ -111,9 +105,9 @@ public interface Operation {
responseContainer="List",
responseContainer="List",
notes="Get the list of applications that a device has subscribed.",
notes="Get the list of applications that a device has subscribed.",
response=Application.class)
response=Application.class)
@ApiResponses(value={@ApiResponse(code=200,message="List of installed application details of a device."),
@ApiResponses(value={@ApiResponse(code=200,message="List of installed application details of a device.",response=Application.class,responseContainer="List"),
@ApiResponse(code=500,message="Error occurred while fetching the apps of the device"+
@ApiResponse(code=500,message="Error occurred while fetching the apps of the device"+
".")})
".")})
ResponsegetInstalledApps(@ApiParam(name="type",value="Define the device type as the value for {type}. "+
ResponsegetInstalledApps(@ApiParam(name="type",value="Define the device type as the value for {type}. "+
"Example: ios, android or windows.",
"Example: ios, android or windows.",
required=true)@PathParam("type")Stringtype,
required=true)@PathParam("type")Stringtype,
@ -128,8 +122,8 @@ public interface Operation {
httpMethod="POST",
httpMethod="POST",
value="Installing an Application on a Device.",
value="Installing an Application on a Device.",
notes="Install a selected application on a device.")
notes="Install a selected application on a device.")
@ApiResponses(value={@ApiResponse(code=200,message="Operation was successfully added to the queue."),
@ApiResponses(value={@ApiResponse(code=200,message="Operation was successfully added to the queue."),
@ApiResponse(code=500,message="Error occurred while saving the operation.")})
@ApiResponse(code=500,message="Error occurred while saving the operation.")})
ResponseinstallApplication(@ApiParam(name="applicationWrapper",value="Details about the application and the"+
ResponseinstallApplication(@ApiParam(name="applicationWrapper",value="Details about the application and the"+
" users and roles it should be "+
" users and roles it should be "+
"installed on.",
"installed on.",
@ -147,8 +141,8 @@ public interface Operation {
httpMethod="POST",
httpMethod="POST",
value="Uninstalling an Application from a Device.",
value="Uninstalling an Application from a Device.",
notes="Uninstall a selected application from a device.")
notes="Uninstall a selected application from a device.")
@ApiResponses(value={@ApiResponse(code=200,message="Operation was successfully added to the queue."),
@ApiResponses(value={@ApiResponse(code=200,message="Operation was successfully added to the queue."),
@ApiResponse(code=500,message="Error occurred while saving the operation.")})
@ApiResponse(code=500,message="Error occurred while saving the operation.")})
ResponseuninstallApplication(@ApiParam(name="applicationWrapper",value="Details about the application and"+
ResponseuninstallApplication(@ApiParam(name="applicationWrapper",value="Details about the application and"+
" the users and roles it should be "+
" the users and roles it should be "+
"uninstalled.",
"uninstalled.",
@ -167,8 +161,8 @@ public interface Operation {
httpMethod="POST",
httpMethod="POST",
value="Retrieving the operation details.",
value="Retrieving the operation details.",
notes="This will return the operation details including the responses from the devices")
notes="This will return the operation details including the responses from the devices")