aboutsummaryrefslogtreecommitdiff
path: root/swagger.json
diff options
context:
space:
mode:
Diffstat (limited to 'swagger.json')
-rw-r--r--swagger.json11
1 files changed, 4 insertions, 7 deletions
diff --git a/swagger.json b/swagger.json
index 705d887ac..0d887d97c 100644
--- a/swagger.json
+++ b/swagger.json
@@ -17,13 +17,8 @@
],
"paths": {
"/commands": {
+ "summary": "Dispatch commands to device",
"post": {
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
"parameters": [
{
"name": "body",
@@ -37,10 +32,12 @@
"responses": {
"200": {
"description": "OK",
- "headers": {},
"schema": {
"$ref": "#/definitions/Command"
}
+ },
+ "400": {
+ "description": "Could happen when dispatching to the device is offline, the user doesn't have permission or an incorrect command _type_."
}
}
}