Fix API route link to GitHub folder (#1963)

This commit is contained in:
seedgou
2019-04-21 17:49:16 +08:00
committed by DIYgod
parent 59c0a0325a
commit ab6334b01d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 结果, 格式如下:
+1 -1
View File
@@ -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: