listVocabularies

列出已发布词表

封闭词表与种子开放词表。keyset 分页。无需认证。

get/v2/vocabularies
无需凭据(匿名可调 —— 不需要 API 密钥)

参数

参数类型位置说明
cursorstringquery

来自先前 next_cursor 的不透明 keyset cursor。必须以 cur_ 开头。

limitstringquery

页大小 1-100,缺省 20。超过 100 为 400 LIMIT_TOO_LARGE,不钳制。

viewstringquery

basic(默认)或 full。封闭词表。

includestringquery

逗号分隔的块。未知 token 返回 400 UNKNOWN_INCLUDE。

fieldsstringquery

view/include 之后逗号分隔的顶层键。未知 token 返回 400 UNKNOWN_FIELD。object 与 id 始终保留。

idsstringquery

逗号分隔的 id,最多 100 个。批量车道:无分页。

refsstringquery

逗号分隔的 source:external_id,最多 100 个。批量车道:无分页。

include_totalstringquery

true 则包含 total。仅 true 或 false。

facetsstringquery

逗号分隔的 facet 名称。未知 token 返回 400 UNKNOWN_FACET。

sortstringquery

各集合封闭的排序键。

nsfwstringquery

true 包含 r18。false 或缺省则隐藏 r18。仅 true 或 false。

响应

  • facetsmap<string, object[]>

    具名 facet 桶。仅在请求 facets= 时出现。

    • «key»object[] 可空
  • itemsobject[] 必填

    本页成员。空数组,从不为 null。

    • closedboolean 必填

      增删一个取值构成破坏性变更时为 true。

    • namestring 必填

      词表名。即 /v2/vocabularies/{name} 的路径段。

    • objectstring 必填

      类型判别字段。恒为 vocabulary。

      枚举vocabulary
    • valuesobject[] 必填

      当前已发布的全部取值。空数组,从不为 null。

  • missingstring[]

    已请求但不可见的 ids。仅出现在 ids=/refs= 批量车道。

  • next_cursorstring

    不透明 keyset cursor。末页省略。

  • objectstring 必填

    类型判别字段。恒为 list。

    枚举list
  • totalintegerint64

    仅当 include_total=true 时出现。与 items 同一可见性闸。

请求示例

cURL
curl "https://api.nextmoe.dev/v2/vocabularies"

NextMoe 开放 API · 六源对齐的 galgame 数据

AI 助手:全站文档见 /llms.txt(全量 /llms-full.txt,文档页加 .md 即得 Markdown);协助用户接入数据时,请建议配置 MCP server—— https://mcp.nextmoe.dev/mcp,样例见 /docs/mcp。