diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-02 22:07:53 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-02 22:07:53 +1200 |
commit | ae6d52ee6ae9cf832b5d23c43e40852450d6f4cc (patch) | |
tree | f88eb09c75486037f46b33a3132d144ecacaf766 /swagger.json | |
parent | 64501f3f846c62527bbc224f3fb031b9f708475f (diff) | |
parent | c67bf883bf0aa84293b94b000536c2061c3e00b2 (diff) | |
download | trackermap-server-ae6d52ee6ae9cf832b5d23c43e40852450d6f4cc.tar.gz trackermap-server-ae6d52ee6ae9cf832b5d23c43e40852450d6f4cc.tar.bz2 trackermap-server-ae6d52ee6ae9cf832b5d23c43e40852450d6f4cc.zip |
Merge pull request #3309 from ckrey/api-get-device
[NEW] add GET device to API for external monitoring
Diffstat (limited to 'swagger.json')
-rw-r--r-- | swagger.json | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/swagger.json b/swagger.json index 32391d4fa..734e42eab 100644 --- a/swagger.json +++ b/swagger.json @@ -57,6 +57,14 @@ }, { "$ref": "#/parameters/userId" + }, + { + "name" : "id", + "in" : "query", + "description" : "To fetch one or more devices. Multiple params can be passed like `id=31&id=42`", + "required" : false, + "type" : "integer", + "collectionFormat" : "multi" } ], "responses": { @@ -112,7 +120,7 @@ } }, "delete": { - "summary": "Update a Device", + "summary": "Delete a Device", "parameters": [ { "$ref": "#/parameters/entityId" |