Class SupportController

java.lang.Object
de.bytestore.hostinger.internal.api.space.SupportController

@RestController @Configuration @RequestMapping("/internal/support") public class SupportController extends Object
  • Constructor Details

    • SupportController

      public SupportController(io.jmix.core.DataManager dataManager)
  • Method Details

    • pinGet

      @GetMapping("/{uuid}/pin") public String pinGet(@PathVariable UUID uuid)
      Retrieves the support PIN for a specific license.
      Parameters:
      uuid - The UUID of the license.
      Returns:
      The JSON representation of the response message which contains the support PIN.
    • generatePin

      public static String generatePin()
      Generates a random PIN with the format "XXXX-XXXX-XXXX".
      Returns:
      The randomly generated PIN.
    • pinRenew

      @PostMapping("/{uuid}/pin") public String pinRenew(@PathVariable UUID uuid)
      Renew the support PIN for a given license.
      Parameters:
      uuid - The UUID of the license to renew the support PIN for.
      Returns:
      The JSON representation of the response message.