resolveCatalogPublic

Batch old id → canonical id (redirect flattening) for a given entity_type

post/v1/catalog/resolve
scope catalog:readAuthorization: Bearer nm_live_…

请求体

application/json

  • entity_typestring required
  • idsinteger[] required nullable

响应

  • codeintegerint64 required
  • dataobject
    • mappingsmap<string, integer> required
    • redirectedinteger[] required nullable
  • messagestring required

请求示例

cURL
curl -X POST "https://api.nextmoe.dev/v1/catalog/resolve" \
  -H "Authorization: Bearer nm_live_<YOUR_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"entity_type":"string","ids":[0]}'