MediaWiki API 结果

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

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

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

{
    "continue": {
        "tlcontinue": "1|10|\u6570",
        "continue": "||"
    },
    "query": {
        "pages": {
            "1": {
                "pageid": 1,
                "ns": 0,
                "title": "\u9996\u9875",
                "templates": [
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Flexbox"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Ruby"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:\u53ef\u9690\u85cf"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:\u53ef\u9690\u85cf/styles.css"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:\u53ef\u9690\u85cf/\u6807\u51c6\u5757"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:\u56fe\u6807\u94fe\u63a5"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:\u56fe\u6807\u94fe\u63a5/\u5206\u7c7b"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:\u56fe\u6807\u94fe\u63a5/\u5206\u7c7b/style.css"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:\u56fe\u6807\u94fe\u63a5/\u5927"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:\u5f39\u6027\u5e03\u5c40"
                    }
                ]
            }
        }
    }
}