Skip to content
mcLogiora0.16.0
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

RouteMethodsPurpose
/languagesGETRead active languages; privileged callers may request all configured languages.
/relationsGET, POST, DELETERead a group, link an existing object, or remove membership.
/translationsGET, POST, PUT, PATCHResolve, 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.

Related articles