You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-panel/share/templates/helpers/api_command.tt

21 lines
842 B

<h[% level %]>Example command</h[% level %]>
<code>[% cmd | html %]</code>
[% IF extended -%]
<p>
You can pass the following additional headers for this request:
<ul>
<li><b>Prefer</b>
<p>This header tells the API which type of response the client expects. The following values are possible:
<ul>
<li><b>return=minimal</b> (default) tells the API to respond with a <b>204 No Content</b> if the operation has been performed successfully, without returning the updated resource in the body.</li>
<li><b>return=representation</b> will let the API respond with <b>200 OK</b> with the full representation of the updated resource in the body.</li>
</ul>
</p>
</li>
</ul>
</p>
[% END -%]
[% # vim: set tabstop=4 syntax=html expandtab: -%]