API 参考

localization

此区域有 7 个端点。每个端点都有自己的页面,包含其参数、响应以及您可以运行的请求。

方法路径功能说明权限
GET/v1/i18n/bundles/{locale}Get every translated string for one locale.
GET/v1/i18n/catalogues/{locale}Get the public site's UI message catalogue for one locale.
GET/v1/i18n/document-sets/{locale}Get several marketing documents' finished translations in one call.
GET/v1/i18n/documents/{locale}Get one marketing document's finished translations.
GET/v1/i18n/slugsGet translated URL slugs for every locale.
POST/v1/i18n/sourcesRegister translatable source fields (batch).
GET/v1/session/offeringThe currencies and languages this viewer may be shown.