|
|
@ -401,21 +401,25 @@ public interface DeviceManagementService {
|
|
|
|
name = "tenantDomain",
|
|
|
|
name = "tenantDomain",
|
|
|
|
value = "The tenant domain.",
|
|
|
|
value = "The tenant domain.",
|
|
|
|
required = false)
|
|
|
|
required = false)
|
|
|
|
|
|
|
|
@QueryParam("tenantDomain")
|
|
|
|
String tenantDomain,
|
|
|
|
String tenantDomain,
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "startDate",
|
|
|
|
name = "startDate",
|
|
|
|
value = "The start date.",
|
|
|
|
value = "The start date.",
|
|
|
|
required = false)
|
|
|
|
required = false)
|
|
|
|
|
|
|
|
@QueryParam("startDate")
|
|
|
|
Timestamp startDate,
|
|
|
|
Timestamp startDate,
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "endDate",
|
|
|
|
name = "endDate",
|
|
|
|
value = "The end date.",
|
|
|
|
value = "The end date.",
|
|
|
|
required = false)
|
|
|
|
required = false)
|
|
|
|
|
|
|
|
@QueryParam("endDate")
|
|
|
|
Timestamp endDate,
|
|
|
|
Timestamp endDate,
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "generateBill",
|
|
|
|
name = "generateBill",
|
|
|
|
value = "The generate bill boolean.",
|
|
|
|
value = "The generate bill boolean.",
|
|
|
|
required = false)
|
|
|
|
required = false)
|
|
|
|
|
|
|
|
@QueryParam("generateBill")
|
|
|
|
boolean generateBill,
|
|
|
|
boolean generateBill,
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "offset",
|
|
|
|
name = "offset",
|
|
|
@ -492,21 +496,25 @@ public interface DeviceManagementService {
|
|
|
|
name = "tenantDomain",
|
|
|
|
name = "tenantDomain",
|
|
|
|
value = "The tenant domain.",
|
|
|
|
value = "The tenant domain.",
|
|
|
|
required = false)
|
|
|
|
required = false)
|
|
|
|
|
|
|
|
@QueryParam("tenantDomain")
|
|
|
|
String tenantDomain,
|
|
|
|
String tenantDomain,
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "startDate",
|
|
|
|
name = "startDate",
|
|
|
|
value = "The start date.",
|
|
|
|
value = "The start date.",
|
|
|
|
required = false)
|
|
|
|
required = false)
|
|
|
|
|
|
|
|
@QueryParam("startDate")
|
|
|
|
Timestamp startDate,
|
|
|
|
Timestamp startDate,
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "endDate",
|
|
|
|
name = "endDate",
|
|
|
|
value = "The end date.",
|
|
|
|
value = "The end date.",
|
|
|
|
required = false)
|
|
|
|
required = false)
|
|
|
|
|
|
|
|
@QueryParam("endDate")
|
|
|
|
Timestamp endDate,
|
|
|
|
Timestamp endDate,
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "generateBill",
|
|
|
|
name = "generateBill",
|
|
|
|
value = "The generate bill boolean.",
|
|
|
|
value = "The generate bill boolean.",
|
|
|
|
required = false)
|
|
|
|
required = false)
|
|
|
|
|
|
|
|
@QueryParam("generateBill")
|
|
|
|
boolean generateBill);
|
|
|
|
boolean generateBill);
|
|
|
|
|
|
|
|
|
|
|
|
@GET
|
|
|
|
@GET
|
|
|
@ -862,7 +870,7 @@ public interface DeviceManagementService {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
Response getDeviceLocationInfo(
|
|
|
|
Response getDeviceLocationInfo(
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "device-type",
|
|
|
|
name = "deviceType",
|
|
|
|
value = "The device type, such as ios, android, or windows.",
|
|
|
|
value = "The device type, such as ios, android, or windows.",
|
|
|
|
required = true)
|
|
|
|
required = true)
|
|
|
|
@PathParam("deviceType")
|
|
|
|
@PathParam("deviceType")
|
|
|
@ -1286,14 +1294,14 @@ public interface DeviceManagementService {
|
|
|
|
required = true)
|
|
|
|
required = true)
|
|
|
|
Device device,
|
|
|
|
Device device,
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "device-type",
|
|
|
|
name = "deviceType",
|
|
|
|
value = "The device type, such as ios, android, or windows.",
|
|
|
|
value = "The device type, such as ios, android, or windows.",
|
|
|
|
required = true)
|
|
|
|
required = true)
|
|
|
|
@PathParam("deviceType")
|
|
|
|
@PathParam("deviceType")
|
|
|
|
@Size(max = 45)
|
|
|
|
@Size(max = 45)
|
|
|
|
String deviceType,
|
|
|
|
String deviceType,
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "device-id",
|
|
|
|
name = "deviceId",
|
|
|
|
value = "The device identifier of the device.",
|
|
|
|
value = "The device identifier of the device.",
|
|
|
|
required = true)
|
|
|
|
required = true)
|
|
|
|
@PathParam("deviceId")
|
|
|
|
@PathParam("deviceId")
|
|
|
@ -1315,7 +1323,8 @@ public interface DeviceManagementService {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = Constants.SCOPE, value = "perm:devices:delete")
|
|
|
|
@ExtensionProperty(name = Constants.SCOPE, value = "perm:devices:delete")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
nickname = "deleteDeviceByTypeAndId"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
@ApiResponses(
|
|
|
|
@ApiResponses(
|
|
|
|
value = {
|
|
|
|
value = {
|
|
|
@ -1356,14 +1365,14 @@ public interface DeviceManagementService {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
Response deleteDevice(
|
|
|
|
Response deleteDevice(
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "device-type",
|
|
|
|
name = "deviceType",
|
|
|
|
value = "The device type, such as ios, android, or windows.",
|
|
|
|
value = "The device type, such as ios, android, or windows.",
|
|
|
|
required = true)
|
|
|
|
required = true)
|
|
|
|
@PathParam("deviceType")
|
|
|
|
@PathParam("deviceType")
|
|
|
|
@Size(max = 45)
|
|
|
|
@Size(max = 45)
|
|
|
|
String deviceType,
|
|
|
|
String deviceType,
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "device-id",
|
|
|
|
name = "deviceId",
|
|
|
|
value = "The device identifier of the device.",
|
|
|
|
value = "The device identifier of the device.",
|
|
|
|
required = true)
|
|
|
|
required = true)
|
|
|
|
@PathParam("deviceId")
|
|
|
|
@PathParam("deviceId")
|
|
|
@ -2546,7 +2555,7 @@ public interface DeviceManagementService {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
Response getPolicyCompliance(
|
|
|
|
Response getPolicyCompliance(
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "compliance-status",
|
|
|
|
name = "complianceStatus",
|
|
|
|
value = "Compliance status for devices. If true, devices which are compliant with policies. " +
|
|
|
|
value = "Compliance status for devices. If true, devices which are compliant with policies. " +
|
|
|
|
"If false, devices which are not compliant",
|
|
|
|
"If false, devices which are not compliant",
|
|
|
|
required = true)
|
|
|
|
required = true)
|
|
|
@ -2587,7 +2596,7 @@ public interface DeviceManagementService {
|
|
|
|
@ApiOperation(
|
|
|
|
@ApiOperation(
|
|
|
|
produces = MediaType.APPLICATION_JSON,
|
|
|
|
produces = MediaType.APPLICATION_JSON,
|
|
|
|
httpMethod = "GET",
|
|
|
|
httpMethod = "GET",
|
|
|
|
value = "Getting Policy Compliance Status of all devices",
|
|
|
|
value = "Getting non compliant policy features",
|
|
|
|
notes = "A policy is enforced on the devices that register with Entgra IoTS. " +
|
|
|
|
notes = "A policy is enforced on the devices that register with Entgra IoTS. " +
|
|
|
|
"The server checks if the settings in the device comply with the policy that is enforced on the device using this REST API.",
|
|
|
|
"The server checks if the settings in the device comply with the policy that is enforced on the device using this REST API.",
|
|
|
|
tags = "Device Management",
|
|
|
|
tags = "Device Management",
|
|
|
@ -2665,7 +2674,7 @@ public interface DeviceManagementService {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
Response getApplications(
|
|
|
|
Response getApplications(
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "device-type",
|
|
|
|
name = "deviceType",
|
|
|
|
value = "Device type (platform) of the application",
|
|
|
|
value = "Device type (platform) of the application",
|
|
|
|
required = true)
|
|
|
|
required = true)
|
|
|
|
@PathParam("deviceType")
|
|
|
|
@PathParam("deviceType")
|
|
|
@ -2722,7 +2731,7 @@ public interface DeviceManagementService {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
Response getAppVersions(
|
|
|
|
Response getAppVersions(
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "package-name",
|
|
|
|
name = "packageName",
|
|
|
|
value = "The package name of the app.",
|
|
|
|
value = "The package name of the app.",
|
|
|
|
required = true)
|
|
|
|
required = true)
|
|
|
|
@PathParam("packageName")
|
|
|
|
@PathParam("packageName")
|
|
|
@ -2771,7 +2780,7 @@ public interface DeviceManagementService {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
Response updateOperationStatus(
|
|
|
|
Response updateOperationStatus(
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "device-type",
|
|
|
|
name = "deviceType",
|
|
|
|
value = "The device type, such as ios, android, or windows.")
|
|
|
|
value = "The device type, such as ios, android, or windows.")
|
|
|
|
@PathParam("deviceType") String deviceType,
|
|
|
|
@PathParam("deviceType") String deviceType,
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
@ -2860,17 +2869,20 @@ public interface DeviceManagementService {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
Response getDefaultToken(
|
|
|
|
Response getDefaultToken(
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "client ID",
|
|
|
|
name = "clientId",
|
|
|
|
value = "Client Id.",
|
|
|
|
value = "Client Id.",
|
|
|
|
required = true)
|
|
|
|
required = true)
|
|
|
|
@PathParam("clientId")
|
|
|
|
@PathParam("clientId")
|
|
|
|
String clientId,
|
|
|
|
String clientId,
|
|
|
|
@ApiParam(
|
|
|
|
@ApiParam(
|
|
|
|
name = "client secret",
|
|
|
|
name = "clientSecret",
|
|
|
|
value = "Client Secret",
|
|
|
|
value = "Client Secret",
|
|
|
|
required = true)
|
|
|
|
required = true)
|
|
|
|
@PathParam("clientSecret")
|
|
|
|
@PathParam("clientSecret")
|
|
|
|
String clientSecret,
|
|
|
|
String clientSecret,
|
|
|
|
|
|
|
|
@ApiParam(
|
|
|
|
|
|
|
|
name = "scopes",
|
|
|
|
|
|
|
|
value = "Oauth scopes")
|
|
|
|
@QueryParam("scopes") String scopes
|
|
|
|
@QueryParam("scopes") String scopes
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|