diff options
author | Joshua Colp <jcolp@digium.com> | 2015-02-21 20:48:17 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2015-02-21 20:48:17 +0000 |
commit | bedf51b2cebab8284aafa20237c883e9db6f6bb2 (patch) | |
tree | a57047b299e363a1bb5ad777437c698fdf1cc2e7 /rest-api | |
parent | 87b7060f3657f00e32d8da3673fa407157e5eebf (diff) |
res_ari_channels: Return a 404 response when a requested channel variable does not exist.
This change makes it so that if a channel variable is requested and it does not exist
a 404 response will be returned instead of an allocation failed response. This makes
it easier to debug and figure out what is going on for a user.
ASTERISK-24677 #close
Reported by: Joshua Colp
........
Merged revisions 432154 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@432155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api')
-rw-r--r-- | rest-api/api-docs/channels.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest-api/api-docs/channels.json b/rest-api/api-docs/channels.json index 9a0a4f356..9bcfda978 100644 --- a/rest-api/api-docs/channels.json +++ b/rest-api/api-docs/channels.json @@ -1199,7 +1199,7 @@ }, { "code": 404, - "reason": "Channel not found" + "reason": "Channel or variable not found" }, { "code": 409, |