diff options
author | Scott Emidy <jemidy@digium.com> | 2015-08-07 14:20:29 -0500 |
---|---|---|
committer | Scott Emidy <jemidy@digium.com> | 2015-08-07 14:57:45 -0500 |
commit | 12e6f5ac01cac88f1f2ddd60b6dbe3f8755c5ef8 (patch) | |
tree | dd0f743affba1c2b33e0bea7886e57c668e5ef16 /rest-api/api-docs/asterisk.json | |
parent | b91ca7ba49ce74152139309fd0ae1a66df695cc0 (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/api-docs/asterisk.json')
-rw-r--r-- | rest-api/api-docs/asterisk.json | 12 |
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": [ |