action wikimedia_post_transform_html_from_from_lang_to_to_lang_provider {
label: "Machine-translate content"
description: "Fetches the machine translation for the posted content from the source\nto the destination language.\n\nStability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)\n"
provider: wikimedia
method: POST
path: "/transform/html/from/{from_lang}/to/{to_lang}/{provider}"
encoding: json
input: {
type: "object"
properties: {
from_lang: {
type: "string"
}
provider: {
type: "string"
}
to_lang: {
type: "string"
}
}
required: ["from_lang", "provider", "to_lang"]
additionalProperties: false
}
output: {
type: "object"
additionalProperties: true
}
}