API completely implemented
authorMathieu Baudier <mbaudier@argeo.org>
Sat, 19 Sep 2009 11:13:23 +0000 (11:13 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sat, 19 Sep 2009 11:13:23 +0000 (11:13 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@2978 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

security/doc/services-api.txt

index 6e0ce4219d83a6ffa0361471b74067005cdc2ae8..a914007a9610fd7f5c0d4e54bb14a65d7e4bc450 100644 (file)
@@ -11,20 +11,20 @@ getUsersList.security
 > return : users[] <json> : containing username and roles, and depending on the value of getNatures, the natures.
 
 userExists.security
-> param : userName <string>
+> param : username <string>
 
 deleteUser.security (ADMIN only)
-> param : userName <string>
+> param : username <string>
 
 getUserDetails.security
 > param : userName <string>
 > return : userDetails <json> : full details (roles, natures, etc).
 
 createUser.security (ADMIN only)
-> params : userName <string>, password <string> 
+> params : username <string>, password <string> 
 
 updateUserPassword.security (ADMIN only)
-> param : userName <string>, password <string>
+> param : username <string>, password <string>
 
 updatePassword.security
 > param : password <string>, oldpassword <string>
@@ -35,17 +35,17 @@ ROLES
 ******************
 getRolesList.security
 > param : aucun
-> return : roles[] <json>
+> return : roles[] <string>
 
 #getUsersForRole.security
 > param : roleName <string>, getNatures <true|false>
 > return : users[] <json> (username and eventually natures)
 
 createRole.security (ADMIN only)
-> param : roleName  <string>
+> param : role  <string>
 
 deleteRole.security (ADMIN only)
-> param : roleName  <string>
+> param : role  <string>
 
 #updateUserRoleLink.security
 > params : <string> roleName,  <string> username, <string> action="set|unset"