Class ApiKeyService

java.lang.Object
org.rostore.service.ApiKeyService

@Path("/admin") @Produces("application/json") @RequestScoped public class ApiKeyService extends Object
  • Constructor Details

    • ApiKeyService

      public ApiKeyService()
  • Method Details

    • createApiKey

      @POST @Consumes("application/json") @Path("/api-key") public jakarta.ws.rs.core.Response createApiKey(@HeaderParam("options") String options, @HeaderParam("ttl") Long ttl, @HeaderParam("eol") Long unixEOL, ApiKeyPermissions permissions)
    • updateApiKey

      @PUT @Consumes("application/json") @Path("/api-key/{request-api-key}") public jakarta.ws.rs.core.Response updateApiKey(@PathParam("request-api-key") String requestApiKey, @HeaderParam("options") String options, @HeaderParam("ttl") Long ttl, @HeaderParam("eol") Long unixEOL, @HeaderParam("version") Long versionHeader, ApiKeyPermissions permissions)
    • repairRoot

      @GET @Path("/api-key/repair-root") public jakarta.ws.rs.core.Response repairRoot()
    • getApiKey

      @GET @Path("/api-key/{request-api-key}") public jakarta.ws.rs.core.Response getApiKey(@PathParam("request-api-key") String requestApiKey, @HeaderParam("version") Long versionHeader)
    • listApiKey

      @GET @Path("/api-key/list") public jakarta.ws.rs.core.Response listApiKey(@QueryParam("start-api-key") String startApiKey)