mw wiki rest
Releasev0.35.0 · cfeceb67
mw wiki rest METHOD PATH [flags]Call an explicit HTTP method and path relative to the selected installation’s rest.php. Leading slashes are REST-relative. Fields are query parameters; –input supplies a body without changing JSON types. Saved wiki profiles also apply to REST. External URLs and redirects are not followed. Discovery is optional.
Commands
Section titled “Commands”- mw wiki rest describe — Read the cached REST module index or a module’s OpenAPI document
- mw wiki rest refresh — Refresh available public REST OpenAPI schemas
Options
Section titled “Options”Global options
Section titled “Global options”Examples
Section titled “Examples”mw wiki rest get /v1/page/Earth/baremw wiki rest get /v1/search/page -f q=Earthmw wiki rest post /wikibase/v1/entities/items --input item.jsonSee also
Section titled “See also”Page views: —Sessions: —