Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

beforeafterdescription
 

GET /realms

GET /realms/a/b

list realms starting at given root:
all realms in the former case, realms rooted at /a/b in the latter case
 GET /realms/a/b/cread realm /a/b/c POST /realms/a/bcreate realm under /a/b
 PUT /realms/a/b/c/d

update realm /a/b/c/d

 DELETE /realms/a/bdelete realm /a/b (and all sub-realms)
GET /usersGET /users
GET /users;realm=/a/b 
list users under the given realm (e.g. assigned to given realm and related sub-realms):
all users in the former case, users in realm /a/b (all all sub-realms) in the latter case
POST /usersPOST /users
POST /users?realm=/a/b 
create user under the given realm:
root realm in the former case, /a/b in the latter case 
 PUT /users/{userId}?realm=/a/bmove user with id {userId} under realm /a/b
GET /users/searchGET /users/search
GET /users/search;realm=/a/b 
search users under the given realm:
root realm in the former case, /a/b in the latter case
GET /rolesGET /groups
GET /groups;realm=/a/b 
see users
POST /roles

POST /groups
POST /groups?realm=/a/b

see users
 PUT /groups/{groupId}?realm=/a/bmove group with id {groupId} under realm /a/b
GET /roles/searchGET /groups/search
GET /groups/search;realm=/a/b 
see users
GET /roles/{roleId}/parent  
GET /roles/{roleId}/children  

...