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=delete
(main | readinglists | delete)
- Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
- Questo modulo richiede i diritti di lettura.
- Questo modulo richiede i diritti di scrittura.
- Questo modulo accetta solo richieste POST.
- Fonte: ReadingLists
- Licenza: GPL-2.0-or-later
Delete a list belonging to the current user.
Deleted lists remain available for some amount of time through the readinglists and readinglistentries modules (via the changedsince parameter). There is no way to undelete.
Parametri specifici:
Sono disponibili altri parametri generali.
- list
ID elenco. Richiesto a meno che non si esegua l'eliminazione batch.
- Type: integer
- batch
Batch data for deleting multiple lists in a single request, in the form of a JSON array with one or more objects with a list field.
Esempi:
- Delete the reading list with ID 11.
- api.php?action=readinglists&command=delete&list=11&token=123ABC [apri in una sandbox]
- Delete multiple lists.
- api.php?action=readinglists&command=delete&batch=%5B%7B%22list%22%3A11%7D%2C%7B%22list%22%3A12%7D%5D&token=123ABC [apri in una sandbox]