123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>Asterisk Project : Asterisk 13 Asterisk 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 Asterisk 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="Asterisk13AsteriskRESTAPI-Asterisk">Asterisk</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-Asterisk-REST-API_29394324.html">/asterisk/info</a> </p></td>
- <td class="confluenceTd"><p> <a href="Asterisk-13-REST-Data-Models_29394316.html#Asterisk13RESTDataModels-AsteriskInfo">AsteriskInfo</a> </p></td>
- <td class="confluenceTd"><p> Gets Asterisk system information. </p></td>
- </tr>
- <tr>
- <td class="confluenceTd"><p> GET </p></td>
- <td class="confluenceTd"><p> <a href="Asterisk-13-Asterisk-REST-API_29394324.html">/asterisk/variable</a> </p></td>
- <td class="confluenceTd"><p> <a href="Asterisk-13-REST-Data-Models_29394316.html#Asterisk13RESTDataModels-Variable">Variable</a> </p></td>
- <td class="confluenceTd"><p> Get the value of a global variable. </p></td>
- </tr>
- <tr>
- <td class="confluenceTd"><p> POST </p></td>
- <td class="confluenceTd"><p> <a href="Asterisk-13-Asterisk-REST-API_29394324.html">/asterisk/variable</a> </p></td>
- <td class="confluenceTd"><p> void </p></td>
- <td class="confluenceTd"><p> Set the value of a global variable. </p></td>
- </tr>
- </tbody></table></div>
- <p><span class="confluence-anchor-link" id="Asterisk13AsteriskRESTAPI-getInfo"></span></p>
- <h2 id="Asterisk13AsteriskRESTAPI-GET/asterisk/info">GET /asterisk/info</h2>
- <p>Gets Asterisk system information.</p>
- <h3 id="Asterisk13AsteriskRESTAPI-Queryparameters">Query parameters</h3>
- <ul>
- <li>only: string - Filter information returned
- <ul>
- <li>Allows comma separated values.</li>
- </ul>
- </li>
- </ul>
- <p><span class="confluence-anchor-link" id="Asterisk13AsteriskRESTAPI-getGlobalVar"></span></p>
- <h2 id="Asterisk13AsteriskRESTAPI-GET/asterisk/variable">GET /asterisk/variable</h2>
- <p>Get the value of a global variable.</p>
- <h3 id="Asterisk13AsteriskRESTAPI-Queryparameters.1">Query parameters</h3>
- <ul>
- <li>variable: string - <strong>(required)</strong> The variable to get</li>
- </ul>
- <h3 id="Asterisk13AsteriskRESTAPI-ErrorResponses">Error Responses</h3>
- <ul>
- <li>400 - Missing variable parameter.</li>
- </ul>
- <p><span class="confluence-anchor-link" id="Asterisk13AsteriskRESTAPI-setGlobalVar"></span></p>
- <h2 id="Asterisk13AsteriskRESTAPI-POST/asterisk/variable">POST /asterisk/variable</h2>
- <p>Set the value of a global variable.</p>
- <h3 id="Asterisk13AsteriskRESTAPI-Queryparameters.2">Query parameters</h3>
- <ul>
- <li>variable: string - <strong>(required)</strong> The variable to set</li>
- <li>value: string - The value to set the variable to</li>
- </ul>
- <h3 id="Asterisk13AsteriskRESTAPI-ErrorResponses.1">Error Responses</h3>
- <ul>
- <li>400 - Missing variable parameter.</li>
- </ul>
- </div>
-
-
- </div> </div>
- <div id="footer">
- <section class="footer-body">
- <p>Document generated by Confluence on Aug 11, 2014 13:40</p>
- </section>
- </div>
- </div> </body>
- </html>
|