aboutsummaryrefslogtreecommitdiff
path: root/swagger.json
diff options
context:
space:
mode:
authorSun Howwrongbum <sun@adrenosapient.com>2017-02-12 05:00:45 +0530
committerSun Howwrongbum <sun@adrenosapient.com>2017-02-12 05:00:45 +0530
commitebc2ec28d63be9e1533f8b55c28080c885884c53 (patch)
tree10123355470419ab438d44895ce55ab9b5599a66 /swagger.json
parent9a5b0f0f8cf6ace7ef642eacfed848dbfb11d369 (diff)
downloadtrackermap-server-ebc2ec28d63be9e1533f8b55c28080c885884c53.tar.gz
trackermap-server-ebc2ec28d63be9e1533f8b55c28080c885884c53.tar.bz2
trackermap-server-ebc2ec28d63be9e1533f8b55c28080c885884c53.zip
[swagger] Update /users with params
Diffstat (limited to 'swagger.json')
-rw-r--r--swagger.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/swagger.json b/swagger.json
index 58dcb9cfd..f2647ef84 100644
--- a/swagger.json
+++ b/swagger.json
@@ -614,6 +614,15 @@
"/users": {
"get": {
"summary": "Fetch a list of Users",
+ "parameters": [
+ {
+ "name": "userId",
+ "in": "query",
+ "description": "Can only be used by admin or manger users",
+ "required": false,
+ "type": "string"
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -1476,6 +1485,16 @@
}
}
},
+ "UserPermission": {
+ "properties": {
+ "userId": {
+ "type": "integer"
+ },
+ "managedUserId": {
+ "type": "integer"
+ }
+ }
+ },
"GroupGeofence": {
"properties": {
"groupId": {