/accounts/self/preferences REST API
Allow clients to manage account preferences using a REST API style invocation. Some of these preferences are likely to be renamed or disappear in the near future so the API is not documented. Change-Id: I70d0981e84555ac3fa977b86b56bdb9e5289d01e
This commit is contained in:
@@ -59,6 +59,8 @@ public class Module extends RestApiModule {
|
||||
get(ACCOUNT_KIND, "avatar.change.url").to(GetAvatarChangeUrl.class);
|
||||
child(ACCOUNT_KIND, "capabilities").to(Capabilities.class);
|
||||
get(ACCOUNT_KIND, "groups").to(GetGroups.class);
|
||||
get(ACCOUNT_KIND, "preferences").to(GetPreferences.class);
|
||||
post(ACCOUNT_KIND, "preferences").to(SetPreferences.class);
|
||||
get(ACCOUNT_KIND, "preferences.diff").to(GetDiffPreferences.class);
|
||||
put(ACCOUNT_KIND, "preferences.diff").to(SetDiffPreferences.class);
|
||||
get(CAPABILITY_KIND).to(GetCapabilities.CheckOne.class);
|
||||
|
||||
Reference in New Issue
Block a user