MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"query": {
"allcategories": [
{
"size": 1,
"pages": 1,
"files": 0,
"subcats": 0,
"*": "Brecentchanges"
},
{
"size": 7,
"pages": 7,
"files": 0,
"subcats": 0,
"*": "Imported vocabulary"
},
{
"size": 1,
"pages": 1,
"files": 0,
"subcats": 0,
"*": "\u542b\u6709\u53d7\u635f\u6587\u4ef6\u94fe\u63a5\u7684\u9875\u9762"
},
{
"size": 4,
"pages": 4,
"files": 0,
"subcats": 0,
"*": "\u6709\u5ffd\u7565\u663e\u793a\u6807\u9898\u7684\u9875\u9762"
},
{
"size": 25,
"pages": 25,
"files": 0,
"subcats": 0,
"*": "\u6a21\u677f"
},
{
"size": 15,
"pages": 15,
"files": 0,
"subcats": 0,
"*": "\u8bf4\u660e"
}
]
}
}