aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-12-21 05:43:57 +0800
committerGitHub <noreply@github.com>2023-12-21 05:43:57 +0800
commit4f2f69009ff300356c0557b26e4d1472b2c76949 (patch)
tree97271820c988cba618ac2e4ae285ea7a034561d3
parent09e27138afa14c49d0da264bb54a4e63ac65e4a0 (diff)
downloadecho-4f2f69009ff300356c0557b26e4d1472b2c76949.tar.gz
echo-4f2f69009ff300356c0557b26e4d1472b2c76949.zip
Update 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]
+}
+```