<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Recordings+REST+API">Asterisk 12 Recordings REST API</a></h2>
<h4>Page <b>added</b> by <a href="https://wiki.asterisk.org/wiki/display/~dlee">David M. Lee</a>
</h4>
<br/>
<div class="notificationGreySide">
<div>
<ul>
<li><a href='#Asterisk12RecordingsRESTAPI-Recordings'>Recordings</a></li>
<ul>
<li><a href='#Asterisk12RecordingsRESTAPI-GET%2Frecordings'>GET /recordings</a></li>
<li><a href='#Asterisk12RecordingsRESTAPI-GET%2Frecordings%2F%5C'>GET /recordings/{recordingId}</a></li>
<ul>
<li><a href='#Asterisk12RecordingsRESTAPI-Pathparameters'>Path parameters</a></li>
</ul>
<li><a href='#Asterisk12RecordingsRESTAPI-DELETE%2Frecordings%2F%5C'>DELETE /recordings/{recordingId}</a></li>
<ul>
<li><a href='#Asterisk12RecordingsRESTAPI-Pathparameters'>Path parameters</a></li>
</ul>
<li><a href='#Asterisk12RecordingsRESTAPI-POST%2Frecordings%2F%5C%2Fstop'>POST /recordings/{recordingId}/stop</a></li>
<ul>
<li><a href='#Asterisk12RecordingsRESTAPI-Pathparameters'>Path parameters</a></li>
</ul>
<li><a href='#Asterisk12RecordingsRESTAPI-POST%2Frecordings%2F%5C%2Fpause'>POST /recordings/{recordingId}/pause</a></li>
<ul>
<li><a href='#Asterisk12RecordingsRESTAPI-Pathparameters'>Path parameters</a></li>
</ul>
<li><a href='#Asterisk12RecordingsRESTAPI-POST%2Frecordings%2F%5C%2Funpause'>POST /recordings/{recordingId}/unpause</a></li>
<ul>
<li><a href='#Asterisk12RecordingsRESTAPI-Pathparameters'>Path parameters</a></li>
</ul>
<li><a href='#Asterisk12RecordingsRESTAPI-POST%2Frecordings%2F%5C%2Fmute'>POST /recordings/{recordingId}/mute</a></li>
<ul>
<li><a href='#Asterisk12RecordingsRESTAPI-Pathparameters'>Path parameters</a></li>
</ul>
<li><a href='#Asterisk12RecordingsRESTAPI-POST%2Frecordings%2F%5C%2Funmute'>POST /recordings/{recordingId}/unmute</a></li>
<ul>
<li><a href='#Asterisk12RecordingsRESTAPI-Pathparameters'>Path parameters</a></li>
</ul>
</ul>
</ul></div>
<h1><a name="Asterisk12RecordingsRESTAPI-Recordings"></a>Recordings</h1>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Method </th>
<th class='confluenceTh'> Path </th>
<th class='confluenceTh'> Return Model </th>
<th class='confluenceTh'> Summary </th>
</tr>
<tr>
<td class='confluenceTd'> GET </td>
<td class='confluenceTd'> <a href="#Asterisk12RecordingsRESTAPI-getRecordings">/recordings</a> </td>
<td class='confluenceTd'> List[Recording] </td>
<td class='confluenceTd'> List recordings </td>
</tr>
<tr>
<td class='confluenceTd'> GET </td>
<td class='confluenceTd'> <a href="#Asterisk12RecordingsRESTAPI-getRecording">/recordings/{recordingId}</a> </td>
<td class='confluenceTd'> Recording </td>
<td class='confluenceTd'> Get recording details </td>
</tr>
<tr>
<td class='confluenceTd'> DELETE </td>
<td class='confluenceTd'> <a href="#Asterisk12RecordingsRESTAPI-deleteRecording">/recordings/{recordingId}</a> </td>
<td class='confluenceTd'> </td>
<td class='confluenceTd'> Delete recording </td>
</tr>
<tr>
<td class='confluenceTd'> POST </td>
<td class='confluenceTd'> <a href="#Asterisk12RecordingsRESTAPI-stopRecording">/recordings/{recordingId}/stop</a> </td>
<td class='confluenceTd'> </td>
<td class='confluenceTd'> Stop recording </td>
</tr>
<tr>
<td class='confluenceTd'> POST </td>
<td class='confluenceTd'> <a href="#Asterisk12RecordingsRESTAPI-pauseRecording">/recordings/{recordingId}/pause</a> </td>
<td class='confluenceTd'> </td>
<td class='confluenceTd'> Pause recording </td>
</tr>
<tr>
<td class='confluenceTd'> POST </td>
<td class='confluenceTd'> <a href="#Asterisk12RecordingsRESTAPI-unpauseRecording">/recordings/{recordingId}/unpause</a> </td>
<td class='confluenceTd'> </td>
<td class='confluenceTd'> Unpause recording </td>
</tr>
<tr>
<td class='confluenceTd'> POST </td>
<td class='confluenceTd'> <a href="#Asterisk12RecordingsRESTAPI-muteRecording">/recordings/{recordingId}/mute</a> </td>
<td class='confluenceTd'> </td>
<td class='confluenceTd'> Mute recording </td>
</tr>
<tr>
<td class='confluenceTd'> POST </td>
<td class='confluenceTd'> <a href="#Asterisk12RecordingsRESTAPI-unmuteRecording">/recordings/{recordingId}/unmute</a> </td>
<td class='confluenceTd'> </td>
<td class='confluenceTd'> Unmute recording </td>
</tr>
</tbody></table>
</div>
<p><a name="Asterisk12RecordingsRESTAPI-getRecordings"></a></p>
<h2><a name="Asterisk12RecordingsRESTAPI-GET%2Frecordings"></a>GET /recordings</h2>
<p>List recordings</p>
<p><a name="Asterisk12RecordingsRESTAPI-getRecording"></a></p>
<h2><a name="Asterisk12RecordingsRESTAPI-GET%2Frecordings%2F%5C"></a>GET /recordings/{recordingId}</h2>
<p>Get recording details</p>
<h3><a name="Asterisk12RecordingsRESTAPI-Pathparameters"></a>Path parameters</h3>
<ul>
        <li>recordingId: string- Recording's id</li>
</ul>
<p><a name="Asterisk12RecordingsRESTAPI-deleteRecording"></a></p>
<h2><a name="Asterisk12RecordingsRESTAPI-DELETE%2Frecordings%2F%5C"></a>DELETE /recordings/{recordingId}</h2>
<p>Delete recording</p>
<h3><a name="Asterisk12RecordingsRESTAPI-Pathparameters"></a>Path parameters</h3>
<ul>
        <li>recordingId: string- Recording's id</li>
</ul>
<p><a name="Asterisk12RecordingsRESTAPI-stopRecording"></a></p>
<h2><a name="Asterisk12RecordingsRESTAPI-POST%2Frecordings%2F%5C%2Fstop"></a>POST /recordings/{recordingId}/stop</h2>
<p>Stop recording</p>
<h3><a name="Asterisk12RecordingsRESTAPI-Pathparameters"></a>Path parameters</h3>
<ul>
        <li>recordingId: string- Recording's id</li>
</ul>
<p><a name="Asterisk12RecordingsRESTAPI-pauseRecording"></a></p>
<h2><a name="Asterisk12RecordingsRESTAPI-POST%2Frecordings%2F%5C%2Fpause"></a>POST /recordings/{recordingId}/pause</h2>
<p>Pause recording</p>
<h3><a name="Asterisk12RecordingsRESTAPI-Pathparameters"></a>Path parameters</h3>
<ul>
        <li>recordingId: string- Recording's id</li>
</ul>
<p><a name="Asterisk12RecordingsRESTAPI-unpauseRecording"></a></p>
<h2><a name="Asterisk12RecordingsRESTAPI-POST%2Frecordings%2F%5C%2Funpause"></a>POST /recordings/{recordingId}/unpause</h2>
<p>Unpause recording</p>
<h3><a name="Asterisk12RecordingsRESTAPI-Pathparameters"></a>Path parameters</h3>
<ul>
        <li>recordingId: string- Recording's id</li>
</ul>
<p><a name="Asterisk12RecordingsRESTAPI-muteRecording"></a></p>
<h2><a name="Asterisk12RecordingsRESTAPI-POST%2Frecordings%2F%5C%2Fmute"></a>POST /recordings/{recordingId}/mute</h2>
<p>Mute recording</p>
<h3><a name="Asterisk12RecordingsRESTAPI-Pathparameters"></a>Path parameters</h3>
<ul>
        <li>recordingId: string- Recording's id</li>
</ul>
<p><a name="Asterisk12RecordingsRESTAPI-unmuteRecording"></a></p>
<h2><a name="Asterisk12RecordingsRESTAPI-POST%2Frecordings%2F%5C%2Funmute"></a>POST /recordings/{recordingId}/unmute</h2>
<p>Unmute recording</p>
<h3><a name="Asterisk12RecordingsRESTAPI-Pathparameters"></a>Path parameters</h3>
<ul>
        <li>recordingId: string- Recording's id</li>
</ul>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Recordings+REST+API">View Online</a>
|
<a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Recordings+REST+API?showComments=true&showCommentArea=true#addcomment">Add Comment</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>