MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "apcontinue": "Crlf2",
        "continue": "-||"
    },
    "query": {
        "allpages": [
            {
                "pageid": 303,
                "ns": 0,
                "title": "Break"
            },
            {
                "pageid": 304,
                "ns": 0,
                "title": "Catalog lookup link"
            },
            {
                "pageid": 305,
                "ns": 0,
                "title": "Category handler"
            },
            {
                "pageid": 306,
                "ns": 0,
                "title": "Category handler/blacklist"
            },
            {
                "pageid": 307,
                "ns": 0,
                "title": "Category handler/numbered"
            },
            {
                "pageid": 409,
                "ns": 0,
                "title": "Citation/CS1/styles.css"
            },
            {
                "pageid": 308,
                "ns": 0,
                "title": "Clear"
            },
            {
                "pageid": 309,
                "ns": 0,
                "title": "Code"
            },
            {
                "pageid": 310,
                "ns": 0,
                "title": "Color"
            },
            {
                "pageid": 311,
                "ns": 0,
                "title": "Crlf"
            }
        ]
    }
}