د مېډياويکي API لارښود
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
submodule=moderate-post (mp)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- سرچينه: Flow
- منښتليک: GPL-2.0-or-later
Moderates a Structured Discussions post.
پاراميټرونه:
Other general parameters are available.
- mpmoderationState
What level to moderate at.
- This parameter is required.
- One of the following values: Can be empty, or delete، hide، restore، suppress، undelete، unhide، unsuppress
- mpreason
Reason for moderation.
- This parameter is required.
- mppostId
ID of the post to moderate.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.