وەسف
GlotCore REST API extends GlotPress by exposing a REST API, allowing developers to integrate GlotPress with external systems, automate workflows, and build custom applications on top of the GlotPress translation platform.
Experimental Notice
This plugin is currently in an experimental stage.
API endpoints and features may change between releases.
Version 0.1 is a foundational release intended for early adopters and developers.
Versions between 0.1 and 1.0 do not guarantee backward compatibility.
Available Endpoints
The plugin introduces REST API endpoints for interacting with GlotPress data:
/gp/v0.1– Base endpoint/gp/v0.1/formats– Retrieve available file formats/gp/v0.1/glossaries– Retrieve and create glossaries/gp/v0.1/glossaries/{id}– Retrieve, update, or delete a specific glossary/gp/v0.1/glossaries/{id}/entries– Retrieve and create glossary entries/gp/v0.1/glossaries/{id}/entries/{entry_id}– Retrieve, update, or delete a specific glossary entry/gp/v0.1/languages– Retrieve available languages/gp/v0.1/originals– Retrieve original strings/gp/v0.1/originals/{id}– Retrieve and delete a specific original string/gp/v0.1/projects– Retrieve and create projects/gp/v0.1/projects/{id}– Retrieve, update, or delete a specific project/gp/v0.1/projects/{id}/permissions– Retrieve and create project permissions/gp/v0.1/projects/{id}/permissions/{permission_id}– Retrieve and delete a specific permission/gp/v0.1/profile/me– Retrieve the authenticated user profile/gp/v0.1/profile/{id}– Retrieve a specific user profile/gp/v0.1/translations– Retrieve and create translations/gp/v0.1/translations/{id}– Retrieve, update, or delete a specific translation/gp/v0.1/translation-sets– Retrieve and create translation sets/gp/v0.1/translation-sets/{id}– Retrieve, update, or delete a specific translation set
Configuration
After installation, GlotCore REST API is ready to use.
To explore the API, you may use tools like Postman.
Postman collection and environment files are included with the plugin.
Please note that some endpoints require authentication.
Suggested authentication method for testing is using Basic Authentication with WordPress Application Passwords.
پێداچوونەوەکان
هیچ پێداچوونەوەیەک نەنووسراوە بۆ ئەم پێوەکراوە.
بەشداربووان و گەشەپێدەران
“GlotCore REST API” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.
بەشداربووان“GlotCore REST API” وەرگێڕدراوە بۆ 1 زمان. سوپاسی وەرگێڕەکان دەکەین بۆ بەشداریکردنیان.
“GlotCore REST API” وەربگێڕە بۆ زمانەکەی خۆت.
دەتەوێت بەشداربیت لە گەشەپێدان؟
گەڕان لە کۆدەکەدا بکە، سەیری تەمارگەی (SVN) بکە، یان بەشداربە لە ڕووداوتۆماری گەشەپێدان لە ڕێگەی (RSS).
ڕووداوتۆمارگەریی گۆڕین
0.1
- Initial release.
