aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/API.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/API.md')
-rw-r--r--docs/API.md20
1 files changed, 19 insertions, 1 deletions
diff --git a/docs/API.md b/docs/API.md
index 04a4a2a..952630f 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -2,4 +2,22 @@
## API
-..
+### `get_version`
+
+| Input | |
+| :-: | :-: |
+| | 无 |
+
+| 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]
+}
+```