documentation/layouts/shortcodes/api_method_info.html

31 lines
652 B
HTML
Raw Normal View History

2018-10-05 00:59:57 +02:00
<table>
<tbody>
<tr>
<th style="text-align: left">Response format</th>
<td>JSON</td>
</tr>
<tr>
<th style="text-align: left">Requires authentication</th>
<td>{{ .Get "auth" }}</td>
</tr>
<tr>
<th style="text-align: left">Requires user</th>
<td>{{ .Get "user" }}</td>
</tr>
2018-10-05 01:12:00 +02:00
{{ with .Get "scope" }}
<tr>
<th style="text-align: left">Scope</th>
2018-10-05 21:58:19 +02:00
<td>{{range split . " "}}<code>{{ . }}</code> {{ end }}</td>
2018-10-05 01:12:00 +02:00
</tr>
{{ end }}
2018-10-05 00:59:57 +02:00
<tr>
<th style="text-align: left">Available since</th>
<td>{{ .Get "version" }}</td>
</tr>
</tbody>
</table>