MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
command=create
(main | readinglists | create)
- This module is internal or unstable, and you should not use it. Its operation may change without notice.
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- ရင်းမြစ်: ReadingLists
- လိုင်စင်: GPL-2.0-or-later
လက်ရှိအသုံးပြုသူအတွက် စာရင်းသစ်တစ်ခု ဖန်တီးရန်
The user must have fewer than 100 (non-deleted) lists.
အထူး ပါရာမီတာများ:
Other general parameters are available.
- name
List name. Required unless using batch creation.
- Cannot be longer than ၂၅၅ bytes.
- description
စာရင်း ဖော်ပြချက်
- Cannot be longer than ၇၆၇ bytes.
- batch
Batch data for creating multiple lists in a single request, in the form of a JSON array with one or more objects with name and (optionally) description fields.
နမူနာများ:
- စာဖတ်စာရင်း အသစ်တစ်ခု ဖန်တီးရန်
- api.php?action=readinglists&command=create&name=dogs&description=Woof!&token=123ABC [open in sandbox]
- များစွာသော စာရင်းသစ်များ ဖန်တီးရန်
- api.php?action=readinglists&command=create&batch=%5B%7B%22name%22%3A%22dogs%22%2C%22description%22%3A%22Woof%21%22%7D%2C%7B%22name%22%3A%22cats%22%2C%22description%22%3A%22Meow%22%7D%5D&token=123ABC [open in sandbox]