Sha256: 6138fc1e7fb0c511b7c42f6ee1ee1025bbbb4f7cde8b66eeca2227530fae6dd2

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

<h1 class="page-header endpoint"><%= endpoint.title %></h1>

<pre><%= endpoint.verb %> <%= endpoint.named_path %></pre>

<%= raw endpoint.documentation %>

<h3>Request Form</h3>
<%= render 'submit_form', service: endpoint.service_presenter, endpoint: endpoint %>

<h3>Response Example</h3>
<div id="show-api-response-div" class="highlight">
  <table class="small table table-condensed" ref="response-info" style="display: none;">
    <tr class="status">
      <th class="name">Status:</th>
      <td class="value"></td>
    </tr>
    <tr class="time">
      <th class="name">Time:</th>
      <td class="value"></td>
    </tr>
    <tr class="headers">
      <th class="name">Headers:</th>
      <td>
        <a href="javascript:void(0)" data-toggle="collapse" data-target="#headers">Toggle</a>
        <div id="headers" class="collapse value"></div>
      </td>
    </tr>
  </table>
  <pre><code id="response" ref="response-example" class="hljs"><%= endpoint.example_response.html_safe %></code></pre>
  <pre><code ref="response-raw" style="display: none;"></code></pre>
</div> <!-- ./#show-api-response-div -->

<h3>Request Schema</h3>
<%= raw endpoint.request_parameters.to_html %>

<h3>Response Schema</h3>
<%= raw endpoint.response_parameters.to_html %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lurker-1.0.0 lib/lurker/templates/lurker/rendering/_endpoint.html.erb
lurker-0.6.12 lib/lurker/templates/lurker/rendering/_endpoint.html.erb
lurker-0.6.11 lib/lurker/templates/lurker/rendering/_endpoint.html.erb