Class RidGeneratorController

java.lang.Object
io.mosip.kernel.ridgenerator.controller.RidGeneratorController

@RestController public class RidGeneratorController extends Object
Controller class for RID generator.
Since:
1.0.0
Author:
Ritesh Sinha
  • 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.