aboutsummaryrefslogtreecommitdiff
path: root/swagger.json
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-07-24 12:12:15 +0500
committerAbyss777 <abyss@fox5.ru>2017-07-24 12:12:15 +0500
commit4292ab3b4bb638895a654e407cc548fd12ff49a8 (patch)
treef6be0a940201debdf76008fd9db73058531ca8ba /swagger.json
parenta8c885e4e3d893181bed355f55d8d79b6722441b (diff)
downloadtrackermap-server-4292ab3b4bb638895a654e407cc548fd12ff49a8.tar.gz
trackermap-server-4292ab3b4bb638895a654e407cc548fd12ff49a8.tar.bz2
trackermap-server-4292ab3b4bb638895a654e407cc548fd12ff49a8.zip
Fix JSON
Diffstat (limited to 'swagger.json')
-rw-r--r--swagger.json79
1 files changed, 39 insertions, 40 deletions
diff --git a/swagger.json b/swagger.json
index d6850fca5..f4e816a5a 100644
--- a/swagger.json
+++ b/swagger.json
@@ -1451,41 +1451,41 @@
}
},
"Permission": {
- "description": "This is a permission map that contain two object indexes. It is used to link/unlink objects. Order is important. Example: { deviceId:8, geofenceId: 16 }",
- "properties": {
- "userId": {
- "description": "User Id, can be only first parameter",
- "type": "integer"
- },
- "deviceId": {
- "description": "Device Id, can be first parameter or second only in combination with userId",
- "type": "integer"
- },
- "groupId": {
- "description": "Group Id, can be first parameter or second only in combination with userId",
- "type": "integer"
- },
- "geofenceId": {
- "description": "Geofence Id, can be second parameter only",
- "type": "integer"
- },
- "calendarId": {
- "description": "Geofence Id, can be second parameter only and only in combination with userId",
- "type": "integer"
- },
- "attributeId": {
- "description": "Computed Attribute Id, can be second parameter only",
- "type": "integer"
- },
- "driverId": {
- "description": "Driver Id, can be second parameter only",
- "type": "integer"
- },
- "managedUserId": {
- "description": "User Id, can be second parameter only and only in combination with userId",
- "type": "integer"
- }
- }
+ "description": "This is a permission map that contain two object indexes. It is used to link/unlink objects. Order is important. Example: { deviceId:8, geofenceId: 16 }",
+ "properties": {
+ "userId": {
+ "description": "User Id, can be only first parameter",
+ "type": "integer"
+ },
+ "deviceId": {
+ "description": "Device Id, can be first parameter or second only in combination with userId",
+ "type": "integer"
+ },
+ "groupId": {
+ "description": "Group Id, can be first parameter or second only in combination with userId",
+ "type": "integer"
+ },
+ "geofenceId": {
+ "description": "Geofence Id, can be second parameter only",
+ "type": "integer"
+ },
+ "calendarId": {
+ "description": "Geofence Id, can be second parameter only and only in combination with userId",
+ "type": "integer"
+ },
+ "attributeId": {
+ "description": "Computed Attribute Id, can be second parameter only",
+ "type": "integer"
+ },
+ "driverId": {
+ "description": "Driver Id, can be second parameter only",
+ "type": "integer"
+ },
+ "managedUserId": {
+ "description": "User Id, can be second parameter only and only in combination with userId",
+ "type": "integer"
+ }
+ }
},
"CommandType": {
"properties": {
@@ -1648,9 +1648,10 @@
},
"driverName": {
"type": "string"
- },
- },
- "ReportStops": {
+ }
+ }
+ },
+ "ReportStops": {
"properties": {
"deviceId": {
"type": "integer"
@@ -1687,7 +1688,6 @@
"engineHours": {
"type": "integer"
}
-
}
},
"Statistics": {
@@ -1804,7 +1804,6 @@
"description": "Can only be used by admins or managers to fetch all entities",
"type": "boolean"
},
- {
"refresh": {
"name": "refresh",
"in": "query",