diff options
author | Joshua Colp <jcolp@digium.com> | 2015-08-07 10:41:22 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2015-08-07 10:41:22 -0500 |
commit | cf272003919f04c1aaf3d0e921a0385be1e45e4b (patch) | |
tree | aa34515cc0a9d6c18778bebde3c0bd2082e5f3f3 /rest-api | |
parent | 4b1bd40d7ed639d884a62c2b70129d0fee32fa08 (diff) | |
parent | 78364132ce94d9ded24ae6e6ab44b97d256b506d (diff) |
Merge "ARI: Deleting log channels" into 13
Diffstat (limited to 'rest-api')
-rw-r--r-- | rest-api/api-docs/asterisk.json | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/rest-api/api-docs/asterisk.json b/rest-api/api-docs/asterisk.json index 6e0dd6c0d..c251dfaf9 100644 --- a/rest-api/api-docs/asterisk.json +++ b/rest-api/api-docs/asterisk.json @@ -297,6 +297,34 @@ ] }, { + "path": "/asterisk/logging/{logChannelName}", + "description": "Asterisk log channel", + "operations": [ + { + "httpMethod": "DELETE", + "summary": "Deletes a log channel.", + "nickname": "deleteLog", + "responseClass": "void", + "parameters": [ + { + "name": "logChannelName", + "description": "Log channels name", + "paramType": "path", + "required": true, + "allowMultiple": false, + "dataType": "string" + } + ], + "errorResponses": [ + { + "code": 404, + "reason": "Log channel does not exist." + } + ] + } + ] + }, + { "path": "/asterisk/logging/{logChannelName}/rotate", "description": "Asterisk log channel", "operations": [ @@ -565,7 +593,7 @@ "id": "LogChannel", "description": "Details of an Asterisk log channel", "properties": { - "name": { + "channel": { "type": "string", "description": "The log channel path", "required": true @@ -581,7 +609,7 @@ "required": true }, "configuration": { - "type": "string", + "type": "List[string]", "description": "The various log levels", "required": true } |