mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Add new doc.
This commit is contained in:
parent
2d58e9a0f5
commit
b4005c8159
@ -1,11 +1,25 @@
|
|||||||
REST Services
|
REST Services
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
Obtaining user information by email:
|
Introduction
|
||||||
|
-------------
|
||||||
|
|
||||||
curl "http://localhost:8080/service/admin/users/email/{user.email}.json" --get --basic -u "admin@wisemapping.org:admin"
|
All WiseMapping services are exposed as REST services. Those services are the same used by the WiseMapping when you are using it.
|
||||||
|
In the following section, all supported services are listed. The following variables should be replaced:
|
||||||
|
|
||||||
|
- host.name: Host name where WiseMapping is deployed. Default Value: localhost
|
||||||
|
- host.post: Post number where WiseMapping is deployed. Default Value: 8080
|
||||||
|
- context.path: Context Path name where the application is deployed. Default Value: wisemapping
|
||||||
|
|
||||||
|
Supported Operations
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
Obtaining user information by email:
|
||||||
|
* Template Path: /service/admin/users/email/{user.email}.json
|
||||||
|
* Example: curl "http://{host.name}:{host.port}/{context.path}/service/admin/users/email/{user.email}.json" --get --basic -u "admin@wisemapping.org:admin"
|
||||||
|
|
||||||
Deleting a based on the user id:
|
Deleting a based on the user id:
|
||||||
curl "http://localhost:8080/service/admin/users/{userId}" --request delete --basic -u "admin@wisemapping.org:admin"
|
* Template Path: /service/admin/users/{userId}
|
||||||
|
* curl "http://{host.name}:{host.port}/{context.path}/service/admin/users/{userId}" --request delete --basic -u "admin@wisemapping.org:admin"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user