Odpověď z MediaWiki API
Toto je HTML reprezentácia formátu JSON. HTML je dobré na ladenie, ale nevhodné na použitie v aplikáciách.
Na zmenu výstupného formátu zadajte parameter format. Ak chcete vidieť nie-HTML reprezentáciu formátu JSON, nastavte format=json.
Ďalšie informácie nájdete v kompletnej dokumentácii alebo v pomocníkovi API.
{
"parse": {
"title": "API",
"pageid": 0,
"text": {
"*": "<div class=\"mw-content-ltr mw-parser-output\" lang=\"cs\" dir=\"ltr\"><p><a href=\"/index.php?title=HKfree_wiki:Sandbox&action=edit&redlink=1\" class=\"new\" title=\"HKfree wiki:Sandbox (str\u00e1nka neexistuje)\">HKfree wiki:Sandbox</a>\n</p>\n<!-- \nNewPP limit report\nCached time: 20261116160423\nCache expiry: 86400\nReduced expiry: false\nComplications: []\nCPU time usage: 0.003 seconds\nReal time usage: 0.006 seconds\nPreprocessor visited node count: 2/1000000\nRevision size: 19/2097152 bytes\nPost\u2010expand include size: 24/2097152 bytes\nTemplate argument size: 0/2097152 bytes\nHighest expansion depth: 2/100\nExpensive parser function count: 0/100\nUnstrip recursion depth: 0/20\nUnstrip post\u2010expand size: 0/5000000 bytes\n-->\n<!--\nTransclusion expansion time report (%,ms,calls,template)\n100.00% 4.034 1 HKfree_wiki:Sandbox\n100.00% 4.034 1 -total\n-->\n\n<!-- Render ID 63931f81-e1d7-11f1-b1d5-66dd65566f9d -->\n</div>"
},
"langlinks": [],
"categories": [],
"links": [
{
"ns": 4,
"*": "HKfree wiki:Sandbox"
}
],
"templates": [
{
"ns": 4,
"*": "HKfree wiki:Sandbox"
}
],
"images": [],
"externallinks": [],
"sections": [],
"tocdata": null,
"parsewarnings": [],
"displaytitle": "<span lang=\"cs\" dir=\"ltr\"><span class=\"mw-page-title-main\">API</span></span>",
"iwlinks": [],
"properties": []
}
}