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=smwtask

(main | smwtask)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: Semantic MediaWiki
  • License: GPL-2.0-or-later

API module to execute Semantic MediaWiki related tasks (for internal use only, not for public use).

  • https://www.semantic-mediawiki.org/wiki/Help:API:smwtask
Specific parameters:
Other general parameters are available.
task

Defines the task type

This parameter is required.
One of the following values: check-query, duplicate-lookup, insert-job, run-entity-examiner, run-joblist, table-statistics, update
params

JSON encoded parameters that match the selected task type requirement

token

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

This parameter is required.
Example:
Example of running a update task for a particular subject:
api.php?action=smwtask&task=update&params={ "subject": "Foo" } [open in sandbox]
Retrieved from "https://tunearch.org/wiki/Special:ApiHelp"

We use cookies (and similar technologies) to personalise content and improve The Traditional Tune Archive website.

With these cookies we collect few and indispensable information about you. With this we adapt our website and communication to your preferences. You can read more about it in our privacy policy.

If you want to manage your cookie preferences, click on Manage preferences. By clicking on Accept all, you agree to the use of all cookies. You can change or withdraw your consent at any time.

Accept all cookiesManage preferences
Something went wrong
Dismiss