Interface IUserSettings


@Path("/users/{containerUid}") public interface IUserSettings
  • Method Details

    • set

      @POST @Path("{uid}/_settings") void set(@PathParam("uid") String uid, Map<String,String> settings) throws ServerFault
      Set User settings
      Parameters:
      uid - uid of the user
      settings - settings values
      Throws:
      ServerFault
    • get

      @GET @Path("{uid}/_settings") Map<String,String> get(@PathParam("uid") String uid) throws ServerFault
      Get User settings
      Parameters:
      uid - uid of the user
      Returns:
      <Map<String, String>> user settings
      Throws:
      ServerFault
    • setOne

      @POST @Path("{uid}/_setting/{name}") void setOne(@PathParam("uid") String uid, @PathParam("name") String name, String value) throws ServerFault
      Create or update one User setting
      Parameters:
      uid - uid of the user
      name - setting name
      value - setting value
      Throws:
      ServerFault
    • getOne

      @GET @Path("{uid}/_setting/{name}") String getOne(@PathParam("uid") String uid, @PathParam("name") String name) throws ServerFault
      Get one User setting value
      Parameters:
      uid - uid of the user
      name - setting name
      Returns:
      String setting value
      Throws:
      ServerFault