123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>Asterisk Project : Asterisk 13 Playbacks REST API</title>
- <link rel="stylesheet" href="styles/site.css" type="text/css" />
- <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
- </head>
- <body class="theme-default aui-theme-default">
- <div id="page">
- <div id="main" class="aui-page-panel">
- <div id="main-header">
- <div id="breadcrumb-section">
- <ol id="breadcrumbs">
- <li class="first">
- <span><a href="index.html">Asterisk Project</a></span>
- </li>
- <li>
- <span><a href="Asterisk-13-Command-Reference_29394274.html">Asterisk 13 Command Reference</a></span>
- </li>
- <li>
- <span><a href="Asterisk-13-ARI_29394283.html">Asterisk 13 ARI</a></span>
- </li>
- </ol>
- </div>
- <h1 id="title-heading" class="pagetitle">
- <span id="title-text">
- Asterisk Project : Asterisk 13 Playbacks REST API
- </span>
- </h1>
- </div>
- <div id="content" class="view">
- <div class="page-metadata">
-
-
-
-
-
-
-
- Created by <span class='author'> wikibot</span> on Aug 08, 2014
- </div>
- <div id="main-content" class="wiki-content group">
- <h1 id="Asterisk13PlaybacksRESTAPI-Playbacks">Playbacks</h1>
- <div class="table-wrap"><table class="confluenceTable"><tbody>
- <tr>
- <th class="confluenceTh"><p> Method </p></th>
- <th class="confluenceTh"><p> Path </p></th>
- <th class="confluenceTh"><p> Return Model </p></th>
- <th class="confluenceTh"><p> Summary </p></th>
- </tr>
- <tr>
- <td class="confluenceTd"><p> GET </p></td>
- <td class="confluenceTd"><p> <a href="Asterisk-13-Playbacks-REST-API_29394317.html">/playbacks/{playbackId}</a> </p></td>
- <td class="confluenceTd"><p> <a href="Asterisk-13-REST-Data-Models_29394316.html#Asterisk13RESTDataModels-Playback">Playback</a> </p></td>
- <td class="confluenceTd"><p> Get a playback's details. </p></td>
- </tr>
- <tr>
- <td class="confluenceTd"><p> DELETE </p></td>
- <td class="confluenceTd"><p> <a href="Asterisk-13-Playbacks-REST-API_29394317.html">/playbacks/{playbackId}</a> </p></td>
- <td class="confluenceTd"><p> void </p></td>
- <td class="confluenceTd"><p> Stop a playback. </p></td>
- </tr>
- <tr>
- <td class="confluenceTd"><p> POST </p></td>
- <td class="confluenceTd"><p> <a href="Asterisk-13-Playbacks-REST-API_29394317.html">/playbacks/{playbackId}/control</a> </p></td>
- <td class="confluenceTd"><p> void </p></td>
- <td class="confluenceTd"><p> Control a playback. </p></td>
- </tr>
- </tbody></table></div>
- <p><span class="confluence-anchor-link" id="Asterisk13PlaybacksRESTAPI-get"></span></p>
- <h2 id="Asterisk13PlaybacksRESTAPI-GET/playbacks/{playbackId}">GET /playbacks/{playbackId}</h2>
- <p>Get a playback's details.</p>
- <h3 id="Asterisk13PlaybacksRESTAPI-Pathparameters">Path parameters</h3>
- <ul>
- <li>playbackId: string - Playback's id</li>
- </ul>
- <h3 id="Asterisk13PlaybacksRESTAPI-ErrorResponses">Error Responses</h3>
- <ul>
- <li>404 - The playback cannot be found</li>
- </ul>
- <p><span class="confluence-anchor-link" id="Asterisk13PlaybacksRESTAPI-stop"></span></p>
- <h2 id="Asterisk13PlaybacksRESTAPI-DELETE/playbacks/{playbackId}">DELETE /playbacks/{playbackId}</h2>
- <p>Stop a playback.</p>
- <h3 id="Asterisk13PlaybacksRESTAPI-Pathparameters.1">Path parameters</h3>
- <ul>
- <li>playbackId: string - Playback's id</li>
- </ul>
- <h3 id="Asterisk13PlaybacksRESTAPI-ErrorResponses.1">Error Responses</h3>
- <ul>
- <li>404 - The playback cannot be found</li>
- </ul>
- <p><span class="confluence-anchor-link" id="Asterisk13PlaybacksRESTAPI-control"></span></p>
- <h2 id="Asterisk13PlaybacksRESTAPI-POST/playbacks/{playbackId}/control">POST /playbacks/{playbackId}/control</h2>
- <p>Control a playback.</p>
- <h3 id="Asterisk13PlaybacksRESTAPI-Pathparameters.2">Path parameters</h3>
- <ul>
- <li>playbackId: string - Playback's id</li>
- </ul>
- <h3 id="Asterisk13PlaybacksRESTAPI-Queryparameters">Query parameters</h3>
- <ul>
- <li>operation: string - <strong>(required)</strong> Operation to perform on the playback.</li>
- </ul>
- <h3 id="Asterisk13PlaybacksRESTAPI-ErrorResponses.2">Error Responses</h3>
- <ul>
- <li>400 - The provided operation parameter was invalid</li>
- <li>404 - The playback cannot be found</li>
- <li>409 - The operation cannot be performed in the playback's current state</li>
- </ul>
- </div>
-
-
- </div> </div>
- <div id="footer">
- <section class="footer-body">
- <p>Document generated by Confluence on Aug 11, 2014 13:41</p>
- </section>
- </div>
- </div> </body>
- </html>
|