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

meta=tokens

(main | query | tokens)

Gets tokens for data-modifying actions.

Parameter:
type

Types of token to request.

Values (separate with | or alternative): createaccount, csrf, login, patrol, rollback, userrights, watch
Default: csrf
Examples:
Retrieve a csrf token (the default).
api.php?action=query&meta=tokens [open in sandbox]
Retrieve a watch token and a patrol token.
api.php?action=query&meta=tokens&type=watch|patrol [open in sandbox]

Retrieved from "https://heald.nga.gov/mediawiki/index.php/Special:ApiHelp"

History of Early American Landscape Design contributors, "Special:ApiHelp," History of Early American Landscape Design, , https://heald.nga.gov/mediawiki/index.php/Special:ApiHelp (accessed March 29, 2024).