For tutorials and in-depth documentation it would be great to be able to pass in example requests to the API docs / sandbox using a link. There doesn't seem to be obvious support for this in https://github.com/swagger-api/swagger-ui, so this might be something we'd have to add.
Description
Description
Related Objects
Related Objects
Event Timeline
Comment Actions
As a comparison, you can put the query string from an api.php request into the hashtag for Special:ApISandbox and it will prefill the latter's form, i.e. take
and make the URL
allowing T89680: Template:ApiEx on mw.org should have a link to "[view in ApiSandbox]".. I think we could build a similar Template:RestApiEx for RESTBase example requests on mw.org.