aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSun Howwrongbum <sun@adrenosapient.com>2017-02-12 04:27:42 +0530
committerSun Howwrongbum <sun@adrenosapient.com>2017-02-12 04:27:42 +0530
commit7787e848c93035678d36531da4d420896c836da8 (patch)
tree78863df8e0626062e8caa597f4d27ef913ff542d
parent95e2076ef12286ffaff882ec709d0813794d3aa9 (diff)
downloadtrackermap-server-7787e848c93035678d36531da4d420896c836da8.tar.gz
trackermap-server-7787e848c93035678d36531da4d420896c836da8.tar.bz2
trackermap-server-7787e848c93035678d36531da4d420896c836da8.zip
[swagger] Fix typo and define Calendar params
-rw-r--r--swagger.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/swagger.json b/swagger.json
index ba036f99f..98bb7e774 100644
--- a/swagger.json
+++ b/swagger.json
@@ -419,6 +419,16 @@
"get": {
"summary" : "Fetches a list of Positions",
"description" : "Without any params, it returns a list of last known positions for all the user's Devices. _from_ and _to_ fields are not required with _id_",
+ "consumes": [
+ "application/json",
+ "text/csv",
+ "application/gpx+xml"
+ ],
+ "produces": [
+ "application/json",
+ "text/csv",
+ "application/gpx+xml"
+ ],
"parameters": [
{
"name": "deviceId",