Generated by API Evangelist
Written by API Evangelist tooling for Wiktionary's API. It is a proposal applied on top of the contract, not a document Wiktionary publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Wiktionary Wikimedia REST Transform API
version: 1.0.0
extends: openapi/wiktionary-transform-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-19'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/transform/wikitext/to/html/{title}'].post
update:
x-apievangelist-phrasing:
intent: Convert Wiktionary wikitext to Parsoid HTML
effect: read
questions:
- How do I turn Wiktionary wikitext into Parsoid HTML?
- Can I get just the body fragment of the HTML instead of a full page?
instructions:
- text: Convert {wikitext} to Parsoid HTML for page {title}.
slots:
wikitext: requestBody.wikitext
title: path.title
- text: Transform {wikitext} on {title} to HTML, body only {body_only}.
slots:
wikitext: requestBody.wikitext
title: path.title
body_only: requestBody.body_only
method: generated
generated: '2026-11-19'
- target: $.paths['/transform/html/to/wikitext/{title}/{revision}'].post
update:
x-apievangelist-phrasing:
intent: Convert Parsoid HTML back to wikitext
effect: read
questions:
- How do I round-trip Parsoid HTML back to Wiktionary wikitext?
- What ETag do I need to convert HTML back to wikitext?
instructions:
- text: Convert {html} on page {title} at revision {revision} back to wikitext.
slots:
html: requestBody.html
title: path.title
revision: path.revision
- text: Round-trip {html} for {title} (rev {revision}) to wikitext using ETag {etag}.
slots:
html: requestBody.html
title: path.title
revision: path.revision
etag: header.If-Match
method: generated
generated: '2026-11-19'
- target: $.paths['/transform/wikitext/to/lint/{title}'].post
update:
x-apievangelist-phrasing:
intent: Lint Wiktionary wikitext for issues
effect: read
questions:
- Can I check Wiktionary wikitext for structural or semantic issues before saving?
- Is the wikitext linting for Wiktionary stable yet?
instructions:
- text: Lint {wikitext} for page {title}.
slots:
wikitext: requestBody.wikitext
title: path.title
- text: Check {wikitext} on {title} for issues, body only {body_only}.
slots:
wikitext: requestBody.wikitext
title: path.title
body_only: requestBody.body_only
method: generated
generated: '2026-11-19'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.