aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSun Howwrongbum <sun@adrenosapient.com>2016-12-03 03:15:36 +0530
committerSun Howwrongbum <sun@adrenosapient.com>2016-12-03 03:15:36 +0530
commit1d77cf61d6e7303ea79f2cfcdedbca49e9f768fa (patch)
treead883f6c42514834202da4130bb4ddaec8df2583
parent95c6403aefa394d1814430cdac02b9420e63a514 (diff)
downloadtraccar-server-1d77cf61d6e7303ea79f2cfcdedbca49e9f768fa.tar.gz
traccar-server-1d77cf61d6e7303ea79f2cfcdedbca49e9f768fa.tar.bz2
traccar-server-1d77cf61d6e7303ea79f2cfcdedbca49e9f768fa.zip
Update api specs with param id for /positions
-rw-r--r--swagger.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/swagger.json b/swagger.json
index cdf710c30..24bab6821 100644
--- a/swagger.json
+++ b/swagger.json
@@ -603,6 +603,13 @@
"in": "query",
"required": false,
"type": "string"
+ }, {
+ "name" : "id",
+ "in" : "query",
+ "description" : "To fetch one or more Positions. Multiple params can be passed like `id=31&id=42`",
+ "required" : false,
+ "type" : "integer",
+ "collectionFormat" : "multi"
}
],
"responses": {