[asterisk-commits] dlee: branch dlee/stasis-http r383045 - /team/dlee/stasis-http/rest-api/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Mar 13 17:13:25 CDT 2013
Author: dlee
Date: Wed Mar 13 17:13:21 2013
New Revision: 383045
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=383045
Log:
Documented error responses for channel/{id}/continue
Modified:
team/dlee/stasis-http/rest-api/channels.json
Modified: team/dlee/stasis-http/rest-api/channels.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/channels.json?view=diff&rev=383045&r1=383044&r2=383045
==============================================================================
--- team/dlee/stasis-http/rest-api/channels.json (original)
+++ team/dlee/stasis-http/rest-api/channels.json Wed Mar 13 17:13:21 2013
@@ -144,6 +144,16 @@
"required": true,
"allowMultiple": false,
"dataType": "string"
+ }
+ ],
+ "errorResponses": [
+ {
+ "code": 404,
+ "reason": "Channel not found"
+ },
+ {
+ "code": 409,
+ "reason": "Channel not in Stasis application"
}
]
}
More information about the asterisk-commits
mailing list