0.16.01 min read
mcLogiora REST API
Use the authenticated language, relation, and translation route families.
Routes are registered below:
Code
/wp-json/mclogiora/v1
Route families
| Route | Methods | Purpose |
|---|---|---|
/languages | GET | Read active languages; privileged callers may request all configured languages. |
/relations | GET, POST, DELETE | Read a group, link an existing object, or remove membership. |
/translations | GET, POST, PUT, PATCH | Resolve, create, or change the status of a translation. |
Relations and translations require the translation-reading/management capability checks. The public language projection contains code, locale, BCP 47 tag, names, direction, active/default flags, order, and home URL.
There are deliberately no public /strings, /suggestions, /import, /export, or /status routes. The REST layer does not machine-translate post bodies or page-builder layouts.
Relation safety
POST /relations links an object that already exists; it does not create or destroy the object. DELETE /relations removes membership only. Creating a translation belongs to POST /translations, and status changes belong to PUT or PATCH.