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:55:53 -0500 |
commit | df9ce3636695781be6ab2479f90766a56747dbd7 (patch) | |
tree | 48963ab145b594360a26dc3ea9085c1e2c5dd970 /rest-api | |
parent | e9f1bc08cbda7759707c30b8883b266555d0fefc (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.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 6b2c89655..44bf024f8 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": [ |