aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSun Howwrongbum <sun@adrenosapient.com>2017-02-12 04:32:22 +0530
committerSun Howwrongbum <sun@adrenosapient.com>2017-02-12 04:32:22 +0530
commitb52cc02972b671f0a794901c00a4a1f303dcf1e8 (patch)
tree10aee12621348748c9cb556abf1ae3ec702bf6cf
parent7787e848c93035678d36531da4d420896c836da8 (diff)
downloadtraccar-server-b52cc02972b671f0a794901c00a4a1f303dcf1e8.tar.gz
traccar-server-b52cc02972b671f0a794901c00a4a1f303dcf1e8.tar.bz2
traccar-server-b52cc02972b671f0a794901c00a4a1f303dcf1e8.zip
[swagger] Update /reports/* with alternate content types
-rw-r--r--swagger.json32
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"