MediaWiki API 結果

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

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

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

{
    "warnings": {
        "main": {
            "*": "Unrecognized parameter: *."
        }
    },
    "batchcomplete": "",
    "query": {
        "pages": {
            "-1": {
                "ns": 6,
                "title": "File:Example.jpg",
                "missing": "",
                "fileusage": [
                    {
                        "pageid": 3973,
                        "ns": 12,
                        "title": "Help:\u5716\u7247\u4f7f\u7528\u8aaa\u660e"
                    },
                    {
                        "pageid": 84186,
                        "ns": 2,
                        "title": "User:\u6167\u6167"
                    },
                    {
                        "pageid": 164393,
                        "ns": 0,
                        "title": "\u5343\u5c71\u65e0\u91cf\u89c2"
                    },
                    {
                        "pageid": 451312,
                        "ns": 2,
                        "title": "User:\u96e8\u540e\u5f69\u8679"
                    },
                    {
                        "pageid": 597929,
                        "ns": 0,
                        "title": "\u52aa\u6bd4\u4e9a\u7fb1\u7f8a"
                    },
                    {
                        "pageid": 2216507,
                        "ns": 0,
                        "title": "\u771f\u7684\u5f88\u8fea\u5965"
                    }
                ]
            }
        }
    }
}