MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"flow": {
"view-topiclist": {
"result": {
"topiclist": {
"submitted": {
"offset-dir": "fwd",
"sortby": "user",
"offset-id": null,
"offset": null,
"limit": 10,
"format": "fixed-html"
},
"errors": [],
"sortby": "updated",
"workflowId": "yiixrh9cscap8jc6",
"title": "Talk:Sandbox",
"actions": {
"newtopic": {
"url": "/index.php?title=Talk:Sandbox&action=new-topic",
"title": "\u53d1\u8d77\u65b0\u8bdd\u9898",
"text": "\u53d1\u8d77\u65b0\u8bdd\u9898"
}
},
"links": {
"board-sort": {
"updated": "/index.php?title=Talk:Sandbox&topiclist_sortby=updated&topiclist_savesortby=1",
"newest": "/index.php?title=Talk:Sandbox&topiclist_sortby=newest&topiclist_savesortby=1"
},
"newtopic": "/index.php?title=Talk:Sandbox&action=new-topic"
},
"type": "topiclist",
"roots": [],
"posts": [],
"revisions": []
}
},
"status": "ok"
}
}
}