API 使用帮助
我们的国际版 (moe.jimmy0w0.me) 与 中国特别版 (jmencrypt.ink) 都开放了 API 使用
API 列表
所有内容
-
URL: /content.json
-
Method: GET
文章
-
URL: /api/posts.json
-
Method: GET
指定文章
-
URL: /api/articles/{ARTICLE_NAME}.json
-
Method: GET
-
Parameter:
- ARTICLE_NAME: 文章名
分类
-
URL: /api/categories.json
-
Method: GET
指定分类
-
URL: /api/categories/{CATEGORY_NAME}.json
-
Method: GET
-
Parameter:
- CATEGORY_NAME: 分类名
标签
-
URL: /api/tags.json
-
Method: GET
指定标签
-
URL: /api/tags/{TAG_NAME}.json
-
Method: GET
-
Parameter:
- TAG_NAME: 标签名
指定页面 (不建议使用)
-
URL: /api/tags/{PAGE_NAME}.json
-
Method: GET
-
Parameter:
- PAGE_NAME: 页面 Slug
站点信息
-
URL: /api/site.json
-
Method: GET
文件
-
URL: /api/files
-
Method: GET