@Path(value="/users/{containerUid}")
public interface IUserSettings
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
get(java.lang.String uid)
Get
User settings |
java.lang.String |
getOne(java.lang.String uid,
java.lang.String name)
Get one
User setting value |
void |
set(java.lang.String uid,
java.util.Map<java.lang.String,java.lang.String> settings)
Set
User settings |
void |
setOne(java.lang.String uid,
java.lang.String name,
java.lang.String value)
Create or update one
User setting |
@POST @Path(value="{uid}/_settings") void set(@PathParam(value="uid") java.lang.String uid, java.util.Map<java.lang.String,java.lang.String> settings) throws ServerFault
User
settingsuid
- uid of the usersettings
- settings valuesServerFault
@GET @Path(value="{uid}/_settings") java.util.Map<java.lang.String,java.lang.String> get(@PathParam(value="uid") java.lang.String uid) throws ServerFault
User
settingsuid
- uid of the userServerFault
@POST @Path(value="{uid}/_setting/{name}") void setOne(@PathParam(value="uid") java.lang.String uid, @PathParam(value="name") java.lang.String name, java.lang.String value) throws ServerFault
User
settinguid
- uid of the username
- setting namevalue
- setting valueServerFault
@GET @Path(value="{uid}/_setting/{name}") java.lang.String getOne(@PathParam(value="uid") java.lang.String uid, @PathParam(value="name") java.lang.String name) throws ServerFault
User
setting valueuid
- uid of the username
- setting nameServerFault
Copyright © 2021. All Rights Reserved.