getProblemType

获取一个顶层错误码

返回一个 code 的注册表条目。未知 code 为 404 NOT_FOUND,不是 422 —— 路径参数是查找键,不是封闭枚举。

get/v2/problems/{code}
无需凭据(匿名可调 —— 不需要 API 密钥)

参数

参数类型位置说明
code 必填 stringpath

注册表中的顶层错误码(UPPER_SNAKE)。

响应

  • codestring 必填

    顶层错误码。UPPER_SNAKE。

  • descriptionstring 必填

    英文说明。不得用作判别条件。

  • domainstring 必填

    类型 URI 的域段。

    枚举platformcatalogmemoderationnewsstore
  • objectstring 必填

    类型判别字段。恒为 problem_type。

    枚举problem_type
  • statusintegerint64 必填

    此 code 绑定的 HTTP 状态。每个 code 对应一个状态。

  • titlestring 必填

    本类型的稳定英文短语。不随请求变化。

  • typestringuri 必填

    问题类型 URI。路径最后一段是 code 的 kebab-case 形式。

请求示例

cURL
curl "https://api.nextmoe.dev/v2/problems/value"

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

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