Hölp för de <i lang="en" xml:lang="en" dir="ltr" title="Application Programming Interface">API</i> vum MehdijaWikki.
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
submodule=setsorting
(main · collection · setsorting)
- Heh da Modhul bruch et Rääsch zum Lässe.
- Quäll: Collection
- Lezänz: GPL-2.0-or-later
API-Modul zum Neuordnen von Elementen in einer Sammlung
Parramehter:
Weitere allgemeine Parameter sind verfügbar.
- items
Items should be listed using their old index and ordered by their new position
- Dieser Parameter ist erforderlich.
- Typ: Liste von Ganzzahlen
- Donn de Wääte met | derzwesche tränne.
- Die maximale Anzahl von Werten beträgt 50 (500 für Clients, denen höhere Limits erlaubt sind).
Beijschpelle:
- In a collection of 3 items, swap the first and second item
- api.php?action=collection&submodule=setsorting&items=1|0|2 [en de Sandkeß opmaache]
- In a collection of 3 items, make the 3rd item first, and delete the 2nd item
- api.php?action=collection-setsorting&items=2|0 [en de Sandkeß opmaache]