aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSun Howwrongbum <sun@adrenosapient.com>2017-02-12 04:26:38 +0530
committerSun Howwrongbum <sun@adrenosapient.com>2017-02-12 04:26:38 +0530
commit95e2076ef12286ffaff882ec709d0813794d3aa9 (patch)
treeb5ddae318a6842a3534afb94be18a2fe98a32c44
parentbc44f365301c094d6698e2af8e73ac022c0008ef (diff)
downloadtrackermap-server-95e2076ef12286ffaff882ec709d0813794d3aa9.tar.gz
trackermap-server-95e2076ef12286ffaff882ec709d0813794d3aa9.tar.bz2
trackermap-server-95e2076ef12286ffaff882ec709d0813794d3aa9.zip
[swagger] Update /positions with alternate content types
-rw-r--r--swagger.json10
1 files changed, 9 insertions, 1 deletions
diff --git a/swagger.json b/swagger.json
index e2ce04847..ba036f99f 100644
--- a/swagger.json
+++ b/swagger.json
@@ -1617,7 +1617,7 @@
},
"data": {
"type": "string",
- "description": "base64 encoded file in iCalendar format"
+ "description": "base64 encoded in iCalendar format"
},
"atributes": {}
}
@@ -1736,6 +1736,14 @@
"$ref": "#/definitions/AttributeAlias"
}
},
+ "Calendar": {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Calendar"
+ }
+ },
"deviceIdArray": {
"name": "deviceId",
"in": "query",