Changeset View
Changeset View
Standalone View
Standalone View
swh/web/api/templates/apidoc.html
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | <div> | ||||
<tr> | <tr> | ||||
<th>URL</th> | <th>URL</th> | ||||
<th>Allowed Methods</th> | <th>Allowed Methods</th> | ||||
</tr> | </tr> | ||||
</thead> | </thead> | ||||
<tbody> | <tbody> | ||||
{% for url in urls %} | {% for url in urls %} | ||||
<tr> | <tr> | ||||
<td>{{ url.rule | docstring_display | safe }}</td> | <td>{{ site_base_url|add:url.rule | docstring_display | safe }}</td> | ||||
<td>{{ url.methods | dictsort:0 | join:', ' }}</td> | <td>{{ url.methods | dictsort:0 | join:', ' }}</td> | ||||
</tr> | </tr> | ||||
{% endfor %} | {% endfor %} | ||||
</tbody> | </tbody> | ||||
</table> | </table> | ||||
</div> | </div> | ||||
<hr /> | <hr /> | ||||
{% endif %} | {% endif %} | ||||
▲ Show 20 Lines • Show All 139 Lines • Show Last 20 Lines |