diff options
Diffstat (limited to 'rest-api')
-rw-r--r-- | rest-api/api-docs/asterisk.json | 12 | ||||
-rw-r--r-- | rest-api/api-docs/channels.json | 8 |
2 files changed, 20 insertions, 0 deletions
diff --git a/rest-api/api-docs/asterisk.json b/rest-api/api-docs/asterisk.json index cbed1895c..723c6d820 100644 --- a/rest-api/api-docs/asterisk.json +++ b/rest-api/api-docs/asterisk.json @@ -55,6 +55,12 @@ "allowMultiple": false, "dataType": "string" } + ], + "errorResponses": [ + { + "code": 400, + "reason": "Missing variable parameter." + } ] }, { @@ -79,6 +85,12 @@ "allowMultiple": false, "dataType": "string" } + ], + "errorResponses": [ + { + "code": 400, + "reason": "Missing variable parameter." + } ] } ] diff --git a/rest-api/api-docs/channels.json b/rest-api/api-docs/channels.json index 41b6cc08c..0f3b8e20e 100644 --- a/rest-api/api-docs/channels.json +++ b/rest-api/api-docs/channels.json @@ -754,6 +754,10 @@ ], "errorResponses": [ { + "code": 400, + "reason": "Missing variable parameter." + }, + { "code": 404, "reason": "Channel not found" }, @@ -796,6 +800,10 @@ ], "errorResponses": [ { + "code": 400, + "reason": "Missing variable parameter." + }, + { "code": 404, "reason": "Channel not found" }, |