listModerationMergeRequests

合并请求队列

经编辑台提交的合并请求,最新的在前;更多结果请跟随 next_cursor。需要 catalog.merge.review 权限。令牌须带 catalog:edit scope。

get/v2/moderation/merge-requests
Authorization: Bearer <用户访问令牌>(用户授权后的访问令牌,不是 API 密钥)

参数

参数类型位置说明
statestringquery

仅限某一状态。

openapprovedexecutedrejectedwithdrawnundone
objectstringquery

仅限某一家族。

workcompanycharacterpersoncredit_name
origin_sitestringquery

只看从某一个第一方站点提交的请求。

kungalmoyuletmoenextmoeeditor
cursorstringquery

来自 next_cursor 的不透明键集游标。

limitintegerint64query

每页条数,1-100。默认 20。

响应

  • facetsmap<string, object[]>

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

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

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

    • amended_atstringdate-time 必填 可空

      RFC 3339 UTC。未修改时为 null。

    • amended_byobject 必填 可空

      amended_by_uid 对应的账号。未修改时、或账号目录读取失败时为 null。

    • amended_by_uidstring 必填 可空

      最近修改这些选择的审核者的中央账号 id。未修改时为 null。

    • execute_afterstringdate-time 必填 可空

      批准后冷静期的结束时间。批准前为 null。

    • executed_atstringdate-time 必填 可空

      RFC 3339 UTC。执行前为 null。

    • field_resolutionmap<string, string> 必填

      选定采用源方值的字段,形如 field → source。未列出的字段保留目标方的值(仅在目标方为空时由源方填补),目标方上人工填写的值永远不会被源方的机器值替换。未作任何选择时为空对象。

    • hide_release_idsstring[] 必填

      落到目标方后会被隐藏的源方发行,通常是与目标方发行重复的那些。空数组,从不为 null。

    • idstring 必填

      合并请求 id。

    • movedobject[] 必填

      对已执行或已撤销的合并,执行时各种类有多少行指向源方。其他情况为空数组。

    • notestring 必填

      请求者的理由,后附处理记录。不得用作判别条件。

    • objectstring 必填

      类型判别字段。恒为 merge_request。

      枚举merge_request
    • originstring 必填

      提交它的通道:经这些接口提交的为 editor;批处理工具各自提交。开放词表;不得用作判别条件。

    • origin_sitestring 必填 可空

      这次编辑来自哪个站点:kungal(鲲 Galgame 论坛)、moyu、letmoe、nextmoe,直接打开编辑台时为 editor。仅用于归因,从不作为权限依据。早于来源记录(2026-10-21)的记录与批处理工具写入的记录为 null。GET /v2/vocabularies/origin_site 给出各站点的显示名与用户主页 URL 模板。

      枚举kungalmoyuletmoenextmoeeditor
    • proposed_atstringdate-time 必填

      RFC 3339 UTC。

    • proposed_byobject 必填 可空

      proposed_by_uid 对应的账号。仅在无法读取账号目录时为 null。

    • proposed_by_uidstring 必填

      请求者的中央账号 id。

    • source_idstring 必填

      被并掉的条目。执行后其 id 重定向到 target_id。

    • source_namestring 必填

      source_id 当前的显示名;对已被合并走的条目,取其退役时的名字。无法读取时为空。不得用作判别条件。

    • statestring 必填

      open 等待审核者;approved 等待冷静期结束,之后执行合并;executed 表示已完成;undone 表示审核者撤销了已执行的合并,source_id 重新在用。

      枚举openapprovedexecutedrejectedwithdrawnundone
    • target_idstring 必填

      保留的条目。

    • target_namestring 必填

      target_id 当前的显示名。无法读取时为空。不得用作判别条件。

    • target_objectstring 必填

      两个条目所属的家族。

      枚举workcompanycharacterpersoncredit_name
    • undo_reportobject
    • undo_untilstringdate-time 必填 可空

      审核者以原 id 撤销这次已执行合并的最后期限(catalog.merge_undo_window_days)。无法撤销时为 null:未执行、撤销功能已关闭,或执行于开始记录撤销数据之前。

    • undone_atstringdate-time 必填 可空

      RFC 3339 UTC。state 不为 undone 时为 null。

    • undone_byobject 必填 可空

      undone_by_uid 对应的账号。state 不为 undone 时、或账号目录读取失败时为 null。

    • undone_by_uidstring 必填 可空

      撤销该合并的审核者的中央账号 id。state 不为 undone 时为 null。

  • missingstring[]

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

  • next_cursorstring

    不透明 keyset cursor。末页省略。

  • objectstring 必填

    类型判别字段。恒为 list。

    枚举list
  • totalintegerint64

    include_total=true 时出现;页码模式(page=)下恒在。与 items 同一个可见性闸。

  • total_relationstring

    仅在 page 模式出现。eq:total 为精确值。gte:total 为下界。

    枚举eqgte

请求示例

cURL
curl "https://api.nextmoe.dev/v2/moderation/merge-requests" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"

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

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