2014-07-04 10:19:28 -07:00

60 lines
2.1 KiB
HTML

<div class="main-content">
<h2><a name="StoreApi"></a>StoreApi</h2>
<p>This is the StoreApi API</p>
<h2><a name="getOrderById"></a>getOrderById</h2>
<hr>
<p></p>
<p>For valid response try integer IDs with value &lt;= 5. Anything above 5 or nonintegers will generate API errors</p><h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/api/store/order/{orderId}</code>
<h3 class="section">HTTP Method</h3>
<code>GET</code>
<h3 class="section">Response Type</h3>
<div class="model" id="Order"><a href="#">Order</a></div>
<h3 class="section">Parameters</h3>
<ul>
<div class="parameter">
<div class="param">orderId&nbsp;:&nbsp;string&nbsp;(path)</div>
<span></span>
</div>
<p class="param-description">ID of pet that needs to be fetched</p>
</div>
</ul>
<h2><a name="deleteOrder"></a>deleteOrder</h2>
<hr>
<p></p>
<p>For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors</p><h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/api/store/order/{orderId}</code>
<h3 class="section">HTTP Method</h3>
<code>DELETE</code>
<h3 class="section">Response Type</h3>
<div class="model" id="void"><a href="#"></a></div>
<h3 class="section">Parameters</h3>
<ul>
<div class="parameter">
<div class="param">orderId&nbsp;:&nbsp;string&nbsp;(path)</div>
<span></span>
</div>
<p class="param-description">ID of the order that needs to be deleted</p>
</div>
</ul>
<h2><a name="placeOrder"></a>placeOrder</h2>
<hr>
<p></p>
<p></p><h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/api/store/order</code>
<h3 class="section">HTTP Method</h3>
<code>POST</code>
<h3 class="section">Response Type</h3>
<div class="model" id="void"><a href="#"></a></div>
<h3 class="section">Parameters</h3>
<ul>
<div class="parameter">
<div class="param">body&nbsp;:&nbsp;&nbsp;<div class="model" id="Order"><a href="#">Order</a>&nbsp;(body)</div>
<span></span>
</div>
<p class="param-description">order placed for purchasing the pet</p>
</div>
</ul>
</div>