Interface UserProfileResource


@Consumes("application/json") @Produces("application/json") public interface UserProfileResource
Author:
Vlastimil Elias <velias@redhat.com>
  • Method Details

    • getConfiguration

      @GET @Consumes("application/json") UPConfig getConfiguration()
      Returns:
      user profile configuration
    • getMetadata

      @GET @Path("/metadata") @Consumes("application/json") UserProfileMetadata getMetadata()
    • update

      @PUT @Produces("application/json") void update(UPConfig config)
      Updates user profile configuration. Using null as an argument could mean restart of the configuration to the default configuration
      Parameters:
      config - Could be null, which can mean restart to the default user-profile configuration (Can depend on the implementation)