Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Outline

Json格式数据输出插件JSON v0.1

支持使用“api/接口名”路径按参数获取json格式的博客数据。

upgrade接口改注释。

接口名 可用参数 默认值 说明
posts pageSize
page
authorId
created
cid
category
commentsNumMax
commentsNumMin
allowComment
5
1
0
-
-
-
-
-
-
文章综合数据
pageList content false 页面综合数据
single cid
slug
-
-
指定单页数据
post 同上 同上 指定文章数据
page 同上 同上 指定页面数据
relatedPosts authorId
limit
type
cid
-
5
-
-
关联文章数据
recentPost pageSize 10 最新文章数据
recentComments pageSize
parentId
ignoreAuthor
showCommentOnly
10
0
false
false
最近评论数据
categoryList ignore
childMode
-
false
分类列表数据
tagCloud sort
ignoreZeroCount
desc
limit
count
false
true
0
标签列表数据
archive format
type
limit
Y-m
month
0
归档列表数据
info user 0 配置信息数据
count - - 发表文章总数
示例可参考作者博客:https://imnerd.org/api/posts
Morty Proxy This is a proxified and sanitized view of the page, visit original site.