Add basic API functions and working account.auth method
This commit is contained in:
31
templates/api/index.html
Normal file
31
templates/api/index.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %} Аккаунт | вход {% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1> Список методов API </h1>
|
||||
|
||||
{% for method in api_methods %}
|
||||
<div>
|
||||
<h2>{{ method }}</h2>
|
||||
|
||||
<details>
|
||||
<summary>Описание</summary>
|
||||
<div>
|
||||
{{ api_methods.method.doc | safe }}
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Парамеры</summary>
|
||||
<div>
|
||||
{% for param in api_methods.method.params %}
|
||||
<div>
|
||||
{{ param }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</details>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
{% endblock %}
|
Reference in New Issue
Block a user