Once the REST sandbox leaves the experimental/beta status (see https://www.mediawiki.org/wiki/MediaWiki_Interfaces_Team/Feature_Feedback/REST_Sandbox), we should port our existing API documentation to swagger/openAPI specs and delete the wikipage in favour of linking to the REST sandbox.
Description
Details
Event Timeline
I think the REST sandbox is still considered experimental, so it may be a bit too early to migrate, but the documentation is visible on testwiki: https://test.wikipedia.org/w/index.php?api=mw-extra&title=Special%3ARestSandbox and it can be enabled locally by setting:
$wgRestSandboxSpecs = [ 'mw' => [ 'url' => $wgScriptPath . '/rest.php/specs/v0/module/-', 'name' => 'MediaWiki REST API', ] ];
Marking as stalled due to the REST sandbox still being considered experimental as per https://www.mediawiki.org/wiki/Help:RestSandbox.
Change #1305884 had a related patch set uploaded (by Mhorsey; author: Mhorsey):
[mediawiki/extensions/CampaignEvents@master] Document parameters with i18n
Change #1321550 had a related patch set uploaded (by Mhorsey; author: Mhorsey):
[mediawiki/extensions/CampaignEvents@master] Localise response description strings in REST handlers
Change #1321551 had a related patch set uploaded (by Mhorsey; author: Mhorsey):
[mediawiki/extensions/CampaignEvents@master] REST: Document error responses across all handlers
Change #1305884 merged by jenkins-bot:
[mediawiki/extensions/CampaignEvents@master] Document parameters with i18n
Change #1321550 merged by jenkins-bot:
[mediawiki/extensions/CampaignEvents@master] Localise response description strings in REST handlers