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

action=submitsurvey

(main | submitsurvey)
  • This module requires read rights.
  • This module only accepts POST requests.
  • Source: Survey
  • License: GPL-2.0-or-later

API module to submit a survey.

Specific parameters:
Other general parameters are available.
id

The ID of the survey being submitted.

Type: integer
name

The name of the survey being submitted.

answers

Answers to use for this survey.

token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.