如果标签对普通用户不可见,它们将不会显示。否则,应该没问题。例如,在这里查看元论坛上的三个最新文档主题:
○ → curl -s https://meta.discourse.org/c/documentation/10/l/latest.json | jq '.topic_list.topics[range(3)] | [.fancy_title, .tags]'
[
"创建并共享配色方案",
[
{
"id": 478,
"name": "how-to",
"slug": "how-to"
}
]
]
[
"创建并共享字体主题组件",
[
{
"id": 478,
"name": "how-to",
"slug": "how-to"
},
{
"id": 820,
"name": "theme-guides",
"slug": "theme-guides"
}
]
]
[
"开发 Discourse 插件 - 第 6 部分 - 添加验收测试",
[
{
"id": 484,
"name": "tutorial",
"slug": "tutorial"
},
{
"id": 274,
"name": "plugin-guides",
"slug": "plugin-guides"
},
{
"id": 58,
"name": "testing",
"slug": "testing"
}
]
]