mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
Add rest service doc.
This commit is contained in:
parent
efe562f057
commit
a7316d516c
@ -25,3 +25,10 @@ Deleting a based on the user id:
|
||||
Changing Password:
|
||||
Template Path: /service/admin/users/{userId}/password
|
||||
* curl "http://{host.name}:{host.port}/{context.path}/service/admin/users/{userId}/password" --request put --basic -u "admin@wisemapping.org:admin" -H "Content-Type:text/plain" --data "<new_password>"
|
||||
|
||||
Creating a new user:
|
||||
* Template Path: /service/admin/users/
|
||||
* Method: Post
|
||||
* curl "http://{host.name}:{host.port}/{context.path}/service/admin/users/" --request post --basic -u "admin@wisemapping.org:admin" -H "Content-Type:text/json" --data "{email:"some email", lastname:"last name",fistname="my first name",password:"password"}"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user