API 参考

localization

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

所有开发者文档 →

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