راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

command=update

(main | readinglists | update)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • این پودمان نیازمند اختیارات خواندن است.
  • این پودمان نیازمند اختیارات خواندن است.
  • این پودمان تنها درخواست‌های POST را می‌پذیرد.
  • منبع: ReadingLists
  • مجوز: GPL-2.0-or-later

Update a list belonging to the current user.

پارامترها:
Other general parameters are available.
list

List ID. Required unless using batch update.

نوع: عدد صحیح
name

New list name. Either this or description is required unless doing batch update.

نباید بیشتر از ۲۵۵ بایت باشد.
description

توضیحات فهرست جدید.

نباید بیشتر از ۷۶۷ بایت باشد.
batch

Batch data for updating multiple lists in a single request, in the form of a JSON array with one or more objects with list, name and description fields. Name and description are optional but at least one of them must be present.