Sha256: 765ef77aa66e80126feb89943051b043b9d94c7ec5dee852af9d2cbd847c49db

Contents?: true

Size: 857 Bytes

Versions: 14

Compression:

Stored size: 857 Bytes

Contents

<div ng-if="!action.payload.examples">
  <h4>URL</h4>
  <url action="action" example></url>
  <div ng-if="action.headers.example">
    <h4>Headers</h4>
    <pre><span ng-repeat="(header, value) in action.headers.example">{{header}}: {{value}}
</span></pre>
  </div>
</div>
<div ng-if="action.payload.examples">
  <h4>URL</h4>
  <url action="action" example></url>
  <h4>Encoding</h4>
  <tabset type="pills">
    <tab ng-repeat="(type, example) in action.payload.examples" heading="{{type}}">
      <div ng-if="action.headers.example">
        <h4>Headers</h4>
        <pre><span ng-if="example.content_type">Content-Type: {{example.content_type}}
</span><span ng-repeat="(header, value) in action.headers.example">{{header}}: {{value}}
</span></pre>
      </div>
      <h4>Request body</h4>
      <pre>{{ example.body }}</pre>
    </tab>
  </tabset>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
praxis-2.0.pre.9 lib/api_browser/app/views/examples/general.html
praxis-2.0.pre.8 lib/api_browser/app/views/examples/general.html
praxis-2.0.pre.7 lib/api_browser/app/views/examples/general.html
praxis-2.0.pre.6 lib/api_browser/app/views/examples/general.html
praxis-2.0.pre.5 lib/api_browser/app/views/examples/general.html
praxis-2.0.pre.4 lib/api_browser/app/views/examples/general.html
praxis-2.0.pre.3 lib/api_browser/app/views/examples/general.html
praxis-2.0.pre.2 lib/api_browser/app/views/examples/general.html
praxis-2.0.pre.1 lib/api_browser/app/views/examples/general.html
praxis-0.22.pre.2 lib/api_browser/app/views/examples/general.html
praxis-0.22.pre.1 lib/api_browser/app/views/examples/general.html
praxis-0.21 lib/api_browser/app/views/examples/general.html
praxis-0.20.1 lib/api_browser/app/views/examples/general.html
praxis-0.20.0 lib/api_browser/app/views/examples/general.html