Tài liệu tham khảo API
localization
Có 8 điểm cuối trong khu vực này. Mỗi điểm cuối có một trang riêng với các tham số, phản hồi và yêu cầu mà quý vị có thể thực hiện.
| Phương thức | Đường dẫn | Chức năng | Quyền |
|---|---|---|---|
| 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. | Không có khóa API |
| GET | /v1/i18n/document-sets/{locale} | Get several marketing documents' finished translations in one call. | Không có khóa API |
| GET | /v1/i18n/documents/{locale} | Get one marketing document's finished translations. | Không có khóa API |
| POST | /v1/i18n/repo-translations | Record translations the repository committed (batch). | translations.register |
| GET | /v1/i18n/slugs | Get translated URL slugs for every locale. | translations.view |
| POST | /v1/i18n/sources | Register translatable source fields (batch). | translations.register |
| GET | /v1/session/offering | The currencies and languages this viewer may be shown. | Không có khóa API |