diff --git a/docs/api.md b/docs/api.md index 0a7c800bd..c3f46cf8d 100644 --- a/docs/api.md +++ b/docs/api.md @@ -18,7 +18,7 @@ RSSHub 提供下列 API 接口: 参数: -- name, 路由一级名称, 对应 [https://github.com/DIYgod/RSSHub/tree/master/routes](https://github.com/DIYgod/RSSHub/tree/master/routes) 中的文件夹名称. 可选, **缺省则返回所有可用路由**. +- name, 路由一级名称, 对应 [https://github.com/DIYgod/RSSHub/tree/master/lib/routes](https://github.com/DIYgod/RSSHub/tree/master/lib/routes) 中的文件夹名称. 可选, **缺省则返回所有可用路由**. 成功请求将会返回 HTTP 状态码 `200 OK` 与 JSON 结果, 格式如下: diff --git a/docs/en/README.md b/docs/en/README.md index 75e56fc4b..0767e2c12 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -110,7 +110,7 @@ Route: `/api/routes/:name?` Parameters: -- name, route's top level name as in [https://github.com/DIYgod/RSSHub/tree/master/routes](https://github.com/DIYgod/RSSHub/tree/master/routes). Optional, **returns all public routes if not specified**. +- name, route's top level name as in [https://github.com/DIYgod/RSSHub/tree/master/lib/routes](https://github.com/DIYgod/RSSHub/tree/master/lib/routes). Optional, **returns all public routes if not specified**. A successful request returns a HTTP status code `200 OK` with the result in JSON: