Odpověď z MediaWiki API
Díváte se na HTML reprezentaci formátu JSON. HTML se hodí pro ladění, ale pro aplikační použití je nevhodné.
Pro změnu výstupního formátu uveďte parametr format. Abyste viděli ne-HTML reprezentaci formátu JSON, nastavte format=json.
Více informací najdete v úplné dokumentaci nebo nápovědě k API.
{ "compare": { "fromrevid": 1, "torevid": 2, "*": "<tr><td colspan=\"2\" class=\"diff-lineno\" id=\"L1\" >\u0158\u00e1dka 1:</td>\n<td colspan=\"2\" class=\"diff-lineno\">\u0158\u00e1dka 1:</td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">'''MediaWiki byla \u00fasp\u011b\u0161n\u011b nainstalov\u00e1na</del>.<del class=\"diffchange diffchange-inline\">'''</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">V\u00edtejte na SEOpedii</ins>. <ins class=\"diffchange diffchange-inline\">Tento projekt slou\u017e\u00ed jako datab\u00e1ze pojm\u016f z oboru </ins>[[<ins class=\"diffchange diffchange-inline\">SEO</ins>]] <ins class=\"diffchange diffchange-inline\">a internetov\u00e9ho podnik\u00e1n\u00ed</ins>. <ins class=\"diffchange diffchange-inline\">Teprve ned\u00e1vno jsem na n\u00ed za\u010dal pracovat, tak\u017ee pros\u00edm m\u011bjte strpen\u00ed ;)</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div> </div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>[<del class=\"diffchange diffchange-inline\">//meta.wikimedia.org/wiki/Help:Contents U\u017eivatelsk\u00e1 p\u0159\u00edru\u010dka] v\u00e1m napov\u00ed, jak MediaWiki pou\u017e\u00edvat.</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div> </div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">== Za\u010d\u00edn\u00e1me ==</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div> </div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">* </del>[<del class=\"diffchange diffchange-inline\">//www.mediawiki.org/wiki/Manual:Configuration_settings Nastaven\u00ed konfigurace</del>]</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">* [//www.mediawiki.org/wiki/Manual:FAQ \u010casto kladen\u00e9 ot\u00e1zky o MediaWiki</del>]</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">* [https://lists</del>.<del class=\"diffchange diffchange-inline\">wikimedia.org/mailman/listinfo/mediawiki-announce E-mailov\u00e1 konference ozn\u00e1men\u00ed MediaWiki]</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div></div></td></tr>\n" } }