Class RidGeneratorController
java.lang.Object
io.mosip.kernel.ridgenerator.controller.RidGeneratorController
Controller class for RID generator.
- Since:
- 1.0.0
- Author:
- Ritesh Sinha
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateRid(String centerId, String machineId) Api to generate RID.
-
Constructor Details
-
RidGeneratorController
public RidGeneratorController()
-
-
Method Details
-
generateRid
@ResponseFilter @PreAuthorize("hasAnyRole(@authorizedRoles.getGetgenerateridcenteridmachineid())") @GetMapping("/generate/rid/{centerid}/{machineid}") public ResponseWrapper<RidGeneratorResponseDto> generateRid(@PathVariable("centerid") String centerId, @PathVariable("machineid") String machineId) Api to generate RID.- Parameters:
centerId- the registration center id.machineId- the machine id.- Returns:
- the response.
-