diff options
author | Sun Howwrongbum <sun@adrenosapient.com> | 2017-02-12 04:32:22 +0530 |
---|---|---|
committer | Sun Howwrongbum <sun@adrenosapient.com> | 2017-02-12 04:32:22 +0530 |
commit | b52cc02972b671f0a794901c00a4a1f303dcf1e8 (patch) | |
tree | 10aee12621348748c9cb556abf1ae3ec702bf6cf | |
parent | 7787e848c93035678d36531da4d420896c836da8 (diff) | |
download | trackermap-server-b52cc02972b671f0a794901c00a4a1f303dcf1e8.tar.gz trackermap-server-b52cc02972b671f0a794901c00a4a1f303dcf1e8.tar.bz2 trackermap-server-b52cc02972b671f0a794901c00a4a1f303dcf1e8.zip |
[swagger] Update /reports/* with alternate content types
-rw-r--r-- | swagger.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/swagger.json b/swagger.json index 98bb7e774..11358878c 100644 --- a/swagger.json +++ b/swagger.json @@ -827,6 +827,14 @@ "get": { "summary": "Fetch a list of Positions within the time period for the Devices or Groups", "description": "At least one _deviceId_ or one _groupId_ must be passed", + "consumes": [ + "application/json", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + ], + "produces": [ + "application/json", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + ], "parameters": [ { "$ref": "#/parameters/deviceIdArray" @@ -858,6 +866,14 @@ "get": { "summary": "Fetch a list of Events within the time period for the Devices or Groups", "description": "At least one _deviceId_ or one _groupId_ must be passed", + "consumes": [ + "application/json", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + ], + "produces": [ + "application/json", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + ], "parameters": [ { "$ref": "#/parameters/deviceIdArray" @@ -898,6 +914,14 @@ "get": { "summary": "Fetch a list of ReportSummary within the time period for the Devices or Groups", "description": "At least one _deviceId_ or one _groupId_ must be passed", + "consumes": [ + "application/json", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + ], + "produces": [ + "application/json", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + ], "parameters": [ { "$ref": "#/parameters/deviceIdArray" @@ -929,6 +953,14 @@ "get": { "summary": "Fetch a list of ReportTrips within the time period for the Devices or Groups", "description": "At least one _deviceId_ or one _groupId_ must be passed", + "consumes": [ + "application/json", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + ], + "produces": [ + "application/json", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + ], "parameters": [ { "$ref": "#/parameters/deviceIdArray" |