From 70856b64d46b2c7d4df9ba1e59e6e2992dc1d824 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 2 Aug 2024 00:08:13 +0800 Subject: docs!: rebuild with readthedocs and sphinx-build --- docs/source/API.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/source/API.rst (limited to 'docs/source/API.rst') diff --git a/docs/source/API.rst b/docs/source/API.rst new file mode 100644 index 0000000..9022bc2 --- /dev/null +++ b/docs/source/API.rst @@ -0,0 +1,26 @@ +--- +title: API Reference +--- + +## ES 1.0 + +### API + +#### 1. `get_version` + +| Method | field | type | notes | +| :-: | :-: | :--: | :----: | +| GET | 无 | | | + +| Output | field | type | notes | +| :-: | :-: | :--: | :----: | +| | ESV | list | 符合语义化版本2.0.0规范的数组[^1] | +[^1]: https://github.com/HydroRoll-Team/echo/blob/main/docs/index.md#版本 + +示例: + +```json +{ + "ESV": [1, 0, 0] +} +``` -- cgit v1.2.3-70-g09d2