תוצאה של API של מדיה־ויקי

זהו ייצוג ב־HTML של תסדיר JSON. תסדיר HTML טוב לתיקון שגיאות, אבל אינו מתאים ליישומים.

יש לציין את הפרמטר format כדי לשנות את תסדיר הפלט. כדי לראות ייצוג של תסדיר JSON לא ב־HTML יש להגדיר format=json.

ר' את התיעוד המלא, או את העזרה של API למידע נוסף.

{
    "error": {
        "code": "badvalue",
        "info": "Unrecognized value for parameter \"format\": yamlfm.",
        "*": "See http://wikigenia.org.il/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
    }
}