MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json

参见完整文档,或API帮助以获取更多信息。

此响应将会返回HTTP状态invalid-input 。
{
    "error": {
        "code": "internal_api_error_Flow\\Exception\\UnknownWorkflowIdException",
        "info": "[db774826ceba000867964293] Exception caught: Invalid workflow requested by id",
        "errorclass": "Flow\\Exception\\UnknownWorkflowIdException",
        "*": "Flow\\Exception\\UnknownWorkflowIdException at /var/www/html/extensions/Flow/includes/WorkflowLoaderFactory.php(124)\n#0 /var/www/html/extensions/Flow/includes/WorkflowLoaderFactory.php(103): Flow\\WorkflowLoaderFactory->loadWorkflowById(Title, Flow\\Model\\UUID)\n#1 /var/www/html/extensions/Flow/includes/Api/ApiFlowBase.php(78): Flow\\WorkflowLoaderFactory->createWorkflowLoader(Title)\n#2 /var/www/html/extensions/Flow/includes/Api/ApiFlowBaseGet.php(12): Flow\\Api\\ApiFlowBase->getLoader()\n#3 /var/www/html/extensions/Flow/includes/Api/ApiFlow.php(98): Flow\\Api\\ApiFlowBaseGet->execute()\n#4 /var/www/html/includes/api/ApiMain.php(1593): Flow\\Api\\ApiFlow->execute()\n#5 /var/www/html/includes/api/ApiMain.php(531): ApiMain->executeAction()\n#6 /var/www/html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling()\n#7 /var/www/html/api.php(87): ApiMain->execute()\n#8 {main}"
    }
}