summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
authorScott Emidy <jemidy@digium.com>2015-08-07 14:20:29 -0500
committerScott Emidy <jemidy@digium.com>2015-08-07 14:57:45 -0500
commit12e6f5ac01cac88f1f2ddd60b6dbe3f8755c5ef8 (patch)
treedd0f743affba1c2b33e0bea7886e57c668e5ef16 /rest-api
parentb91ca7ba49ce74152139309fd0ae1a66df695cc0 (diff)
ARI: Retrieve existing log channels
An http request can be sent to get the existing Asterisk logs. The command "curl -v -u user:pass -X GET 'http://localhost:8088 /ari/asterisk/logging'" can be run in the terminal to access the newly implemented functionality. * Retrieve all existing log channels ASTERISK-25252 Change-Id: I7bb08b93e3b938c991f3f56cc5d188654768a808
Diffstat (limited to 'rest-api')
-rw-r--r--rest-api/api-docs/asterisk.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/rest-api/api-docs/asterisk.json b/rest-api/api-docs/asterisk.json
index fe361ad02..0db206227 100644
--- a/rest-api/api-docs/asterisk.json
+++ b/rest-api/api-docs/asterisk.json
@@ -297,6 +297,18 @@
]
},
{
+ "path": "/asterisk/logging",
+ "description": "Asterisk log channels",
+ "operations": [
+ {
+ "httpMethod": "GET",
+ "summary": "Gets Asterisk log channel information.",
+ "nickname": "listLogChannels",
+ "responseClass": "List[LogChannel]"
+ }
+ ]
+ },
+ {
"path": "/asterisk/logging/{logChannelName}",
"description": "Asterisk log channel",
"operations": [