[asterisk-commits] dlee: branch 12 r400508 - in /branches/12: res/ rest-api/api-docs/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 3 23:54:53 CDT 2013


Author: dlee
Date: Thu Oct  3 23:54:51 2013
New Revision: 400508

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400508
Log:
Corrected response class for stopPlayback

Modified:
    branches/12/res/res_ari_playback.c
    branches/12/rest-api/api-docs/playback.json

Modified: branches/12/res/res_ari_playback.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_ari_playback.c?view=diff&rev=400508&r1=400507&r2=400508
==============================================================================
--- branches/12/res/res_ari_playback.c (original)
+++ branches/12/res/res_ari_playback.c Thu Oct  3 23:54:51 2013
@@ -145,7 +145,7 @@
 		break;
 	default:
 		if (200 <= code && code <= 299) {
-			is_valid = ast_ari_validate_playback(
+			is_valid = ast_ari_validate_void(
 				response->message);
 		} else {
 			ast_log(LOG_ERROR, "Invalid error response %d for /playback/{playbackId}\n", code);

Modified: branches/12/rest-api/api-docs/playback.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/playback.json?view=diff&rev=400508&r1=400507&r2=400508
==============================================================================
--- branches/12/rest-api/api-docs/playback.json (original)
+++ branches/12/rest-api/api-docs/playback.json Thu Oct  3 23:54:51 2013
@@ -31,7 +31,7 @@
 					"httpMethod": "DELETE",
 					"summary": "Stop a playback.",
 					"nickname": "stopPlayback",
-					"responseClass": "Playback",
+					"responseClass": "void",
 					"parameters": [
 						{
 							"name": "playbackId",




More information about the asterisk-commits mailing list