功能
- 获取网站标签列表
更新记录
- 20年4月22日上线
文档
接口端点(GET):xxx.com/api/v1/post/tag/list
值 | 类型 | 含义 |
---|---|---|
exclude | String | 要排除的标签id,用英文逗号分隔 |
include | String | 要包含的标签id,用英文逗号分隔 |
empty | int | 是否隐藏没有文章的标签,默认不隐藏,1为隐藏 |
order | int | 排序:1(DESC) 2(ASC),默认DESC |
orderby | int | 排序方式,详情见下个表格 |
排序值 | 含义 |
---|---|
0或者不填 | 默认排序(以名称排序) |
1 | 以标签id的大小排序 |
2 | 以文章数量多少排序 |
演示地址:https://api.3c3it.com/api/v1/post/tag/list
本文由 3C3IT 发布在 sliver-rest-wp-api官网,转载此文请保持文章完整性,并请附上文章来源(sliver-rest-wp-api官网)及本页链接。
原文链接:https://api.3c3it.com/168.html
原文链接:https://api.3c3it.com/168.html
1 条评论