aboutsummaryrefslogtreecommitdiff
path: root/swagger.json
diff options
context:
space:
mode:
Diffstat (limited to 'swagger.json')
-rw-r--r--swagger.json21
1 files changed, 20 insertions, 1 deletions
diff --git a/swagger.json b/swagger.json
index 32391d4fa..4f62bdf96 100644
--- a/swagger.json
+++ b/swagger.json
@@ -92,6 +92,25 @@
}
},
"/devices/{id}": {
+ "get": {
+ "summary": "Get a Device",
+ "parameters": [
+ {
+ "$ref": "#/parameters/entityId"
+ },
+ {
+ "$ref": "#/parameters/Device"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Device"
+ }
+ }
+ }
+ },
"put": {
"summary": "Update a Device",
"parameters": [
@@ -112,7 +131,7 @@
}
},
"delete": {
- "summary": "Update a Device",
+ "summary": "Delete a Device",
"parameters": [
{
"$ref": "#/parameters/entityId"