MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250908140919|840",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 850,
                "ns": 0,
                "title": "Leetcode top75",
                "pageid": 1272,
                "logpage": 1272,
                "revid": 5159,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Riguz",
                "timestamp": "2026-03-24T15:13:27Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cArray/String:  * 1768. Merge Strings Alternately: use StringBuilder * 1071. Greatest Common Divisor of Strings: if str1 and str2 can be divided, then  <math> str1 + str2 = str2 + str1 \\gcd(a,b)=\\gcd(b,a \\bmod b) </math> just get the substring of gcd length\u201d"
            },
            {
                "logid": 849,
                "ns": 6,
                "title": "\u6587\u4ef6:Etcher-error-mac.png",
                "pageid": 1271,
                "logpage": 1271,
                "revid": 5153,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Riguz",
                "timestamp": "2025-12-10T14:56:47Z",
                "comment": ""
            },
            {
                "logid": 848,
                "ns": 6,
                "title": "\u6587\u4ef6:Etcher-error-mac.png",
                "pageid": 1271,
                "logpage": 1271,
                "revid": 5153,
                "params": {
                    "img_sha1": "nnypqzy2nltj4vx8ntw5quqb2th2b43",
                    "img_timestamp": "2025-12-10T14:56:47Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Riguz",
                "timestamp": "2025-12-10T14:56:47Z",
                "comment": ""
            },
            {
                "logid": 847,
                "ns": 6,
                "title": "\u6587\u4ef6:Etcher-rock5b-finished.png",
                "pageid": 1270,
                "logpage": 1270,
                "revid": 5149,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Riguz",
                "timestamp": "2025-12-10T14:29:35Z",
                "comment": ""
            },
            {
                "logid": 846,
                "ns": 6,
                "title": "\u6587\u4ef6:Etcher-rock5b-finished.png",
                "pageid": 1270,
                "logpage": 1270,
                "revid": 5149,
                "params": {
                    "img_sha1": "7vw7zttg0lpune43qqzgqvsj0f48ewd",
                    "img_timestamp": "2025-12-10T14:29:35Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Riguz",
                "timestamp": "2025-12-10T14:29:35Z",
                "comment": ""
            },
            {
                "logid": 845,
                "ns": 6,
                "title": "\u6587\u4ef6:Etcher-rock5b.png",
                "pageid": 1269,
                "logpage": 1269,
                "revid": 5148,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Riguz",
                "timestamp": "2025-12-10T14:28:52Z",
                "comment": ""
            },
            {
                "logid": 844,
                "ns": 6,
                "title": "\u6587\u4ef6:Etcher-rock5b.png",
                "pageid": 1269,
                "logpage": 1269,
                "revid": 5148,
                "params": {
                    "img_sha1": "8znxxvuflg30rw1mvgqoncw5don3ern",
                    "img_timestamp": "2025-12-10T14:28:52Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Riguz",
                "timestamp": "2025-12-10T14:28:52Z",
                "comment": ""
            },
            {
                "logid": 843,
                "ns": 0,
                "title": "Rock5b+",
                "pageid": 1268,
                "logpage": 1268,
                "revid": 5146,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Riguz",
                "timestamp": "2025-11-04T14:01:48Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c= Install system = == TTL connection ==  <syntaxhighlight lang=\"bash\"> ls /dev/tty.* /dev/tty.wchusbserial5ABA0915851 picocom -b 1500000 -d 8 /dev/tty.wchusbserial5ABA0915851 </syntaxhighlight>  == Install system ==  [[Category:Embedding]]\u201d"
            },
            {
                "logid": 842,
                "ns": 0,
                "title": "Sphinx",
                "pageid": 1267,
                "logpage": 1267,
                "revid": 5142,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Riguz",
                "timestamp": "2025-10-06T01:45:03Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<syntaxhighlight lang=\"bash\"> pip install sphinx myst-parser pip install sphinxcontrib-bibtex sphinx-design sphinx-copybutton sphinxext-opengraph pip install sphinx-mathjax-offline   cd blog sphinx-quickstart </syntaxhighlight>\u201d"
            },
            {
                "logid": 841,
                "ns": 0,
                "title": "Linux server setup",
                "pageid": 1266,
                "logpage": 1266,
                "revid": 5127,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Riguz",
                "timestamp": "2025-10-05T03:17:04Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c   [[Category:Linux/Unix]]\u201d"
            }
        ]
    }
}