Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Latest commit

 

History

History
38 lines (29 loc) · 926 Bytes

public-api.md

File metadata and controls

38 lines (29 loc) · 926 Bytes
description
Публичное апи у бота.

Public API

{% api-method method="get" host="https://api.dreambot.ml/cmds" path="/:name" %} {% api-method-summary %} Получения списка команд {% endapi-method-summary %}

{% api-method-description %} Получить список команд бота. {% endapi-method-description %}

{% api-method-spec %} {% api-method-request %} {% api-method-path-parameters %} {% api-method-parameter name=":name" type="string" required=false %} Имя команды {% endapi-method-parameter %} {% endapi-method-path-parameters %} {% endapi-method-request %}

{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}

{% endapi-method-response-example-description %}


{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}