aboutsummaryrefslogtreecommitdiff
path: root/swagger.json
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-07-24 11:40:10 +0500
committerAbyss777 <abyss@fox5.ru>2017-07-24 11:44:42 +0500
commita8c885e4e3d893181bed355f55d8d79b6722441b (patch)
treedcef2b5fbbbe8e690d94cff282db67f8c5b86425 /swagger.json
parentd54ea579899e7d03a3065fbc3e119ca4e676696a (diff)
downloadtrackermap-server-a8c885e4e3d893181bed355f55d8d79b6722441b.tar.gz
trackermap-server-a8c885e4e3d893181bed355f55d8d79b6722441b.tar.bz2
trackermap-server-a8c885e4e3d893181bed355f55d8d79b6722441b.zip
Add Stops report
Diffstat (limited to 'swagger.json')
-rw-r--r--swagger.json53
1 files changed, 53 insertions, 0 deletions
diff --git a/swagger.json b/swagger.json
index fcc9f5153..d6850fca5 100644
--- a/swagger.json
+++ b/swagger.json
@@ -1579,6 +1579,10 @@
"type": "number",
"description": "in meters"
},
+ "spentFuel": {
+ "type": "number",
+ "description": "in liters"
+ },
"engineHours": {
"type": "integer"
}
@@ -1604,6 +1608,10 @@
"type": "number",
"description": "in meters"
},
+ "spentFuel": {
+ "type": "number",
+ "description": "in liters"
+ },
"duration": {
"type": "integer"
},
@@ -1634,7 +1642,52 @@
},
"endLon": {
"type": "number"
+ },
+ "driverUniqueId": {
+ "type": "integer"
+ },
+ "driverName": {
+ "type": "string"
+ },
+ },
+ "ReportStops": {
+ "properties": {
+ "deviceId": {
+ "type": "integer"
+ },
+ "deviceName": {
+ "type": "string"
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"
+ },
+ "address": {
+ "type": "string"
+ },
+ "lat": {
+ "type": "number"
+ },
+ "lon": {
+ "type": "number"
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "in IS0 8601 format. eg. `1963-11-22T18:30:00Z`"
+ },
+ "spentFuel": {
+ "type": "number",
+ "description": "in liters"
+ },
+ "engineHours": {
+ "type": "integer"
}
+
}
},
"Statistics": {