aboutsummaryrefslogtreecommitdiff
path: root/swagger.json
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-04-30 23:20:06 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-04-30 23:20:06 -0700
commit8098c2ba47e36b1aa7293a5e3987fd24e94fecf4 (patch)
tree26cd34c9e2cf68eb3885ede2ea70339a68975719 /swagger.json
parent996815954219a96aa864559271a17e24f7dfac77 (diff)
downloadtrackermap-server-8098c2ba47e36b1aa7293a5e3987fd24e94fecf4.tar.gz
trackermap-server-8098c2ba47e36b1aa7293a5e3987fd24e94fecf4.tar.bz2
trackermap-server-8098c2ba47e36b1aa7293a5e3987fd24e94fecf4.zip
Add API to get command types by protocol
Diffstat (limited to 'swagger.json')
-rw-r--r--swagger.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/swagger.json b/swagger.json
index d3851a8df..53414c016 100644
--- a/swagger.json
+++ b/swagger.json
@@ -168,11 +168,22 @@
{
"name": "deviceId",
"in": "query",
+ "description" : "Internal device identifier. Only works if device has already reported some locations",
+ "required" : false,
"type": "integer"
},
{
+ "name": "protocol",
+ "in": "query",
+ "description" : "Protocol name. Can be used instead of device id",
+ "required" : false,
+ "type": "string"
+ },
+ {
"name": "textChannel",
"in": "query",
+ "description" : "When `true` return SMS commands. If not specified or `false` return data commands",
+ "required" : false,
"type": "boolean"
}
],