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)
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Semantic MediaWiki
  • Licenza: GPL-2.0-or-later

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

Parametri:
task

Defines the task type

This parameter is required.
Uno dei seguenti valori: 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

Un token "csrf" recuperato da action=query&meta=tokens

This parameter is required.
Esempio:
Example of running a update task for a particular subject:
api.php?action=smwtask&task=update&params={ "subject": "Foo" } [apri in una sandbox]