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
submodule=postcollection
(main | collection | postcollection)
- This module requires read rights.
- Source: Collection
- License: GPL-2.0-or-later
API module for posting pages to a user's collection
Specific parameter:
Other general parameters are available.
- collection
Name of a collection
- Default: (empty)
Example:
- Post pages to a user's collection
- api.php?action=collection&submodule=postcollection&collection={"title":"BookTitle","items":[{"type":"article", "content_type":"text/x-wiki","title":"Test","revision":"1","latest":"1","timestamp":"1631548781", "url":"http://t.wiki/Test","currentVersion":1}]} [open in sandbox]