Components
Translation projects API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/projects/mineland/components/?format=api
{ "count": 2, "next": null, "previous": null, "results": [ { "name": "mineland", "slug": "mineland", "id": 1, "source_language": { "id": 276, "code": "ru", "name": "Russian", "plural": { "id": 276, "source": 0, "number": 3, "formula": "n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2", "type": 2 }, "aliases": [ "ru_r", "ru_rr", "rus" ], "direction": "ltr", "population": 195841151, "web_url": "https://weblate.mineland.net/languages/ru/", "url": "https://weblate.mineland.net/api/languages/ru/?format=api", "statistics_url": "https://weblate.mineland.net/api/languages/ru/statistics/?format=api" }, "vcs": "local", "repo": "local:", "git_export": "https://weblate.mineland.net/git/mineland/mineland/", "branch": "master", "push_branch": "", "filemask": "*.xml", "screenshot_filemask": "", "template": "ru.xml", "edit_template": false, "intermediate": "", "new_base": "", "file_format": "flatxml", "license": "proprietary", "license_url": null, "agreement": "", "web_url": "https://weblate.mineland.net/projects/mineland/mineland/", "url": "https://weblate.mineland.net/api/components/mineland/mineland/?format=api", "repository_url": "https://weblate.mineland.net/api/components/mineland/mineland/repository/?format=api", "translations_url": "https://weblate.mineland.net/api/components/mineland/mineland/translations/?format=api", "statistics_url": "https://weblate.mineland.net/api/components/mineland/mineland/statistics/?format=api", "lock_url": "https://weblate.mineland.net/api/components/mineland/mineland/lock/?format=api", "links_url": "https://weblate.mineland.net/api/components/mineland/mineland/links/?format=api", "changes_list_url": "https://weblate.mineland.net/api/components/mineland/mineland/changes/?format=api", "task_url": null, "new_lang": "contact", "language_code_style": "", "push": "", "check_flags": "", "priority": 100, "enforced_checks": [], "restricted": false, "repoweb": "", "report_source_bugs": "[email protected]", "merge_style": "rebase", "commit_message": "Translated using Weblate ({{ language_name }})\r\n\r\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}", "add_message": "Added translation using Weblate ({{ language_name }})", "delete_message": "Deleted translation using Weblate ({{ language_name }})", "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.", "addon_message": "Update translation files\r\n\r\nUpdated by \"{{ addon_name }}\" hook in Weblate.\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}", "pull_message": "Translations update from {{ site_title }}\n\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\n\n{% if component_linked_childs %}\nIt also includes following components:\n{% for linked in component_linked_childs %}\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\n{% endfor %}\n{% endif %}\n\nCurrent translation status:\n\n\n", "allow_translation_propagation": true, "manage_units": true, "enable_suggestions": true, "suggestion_voting": false, "suggestion_autoaccept": 0, "push_on_commit": true, "commit_pending_age": 24, "auto_lock_error": true, "language_regex": "^[^.]+$", "variant_regex": "", "addons": [], "is_glossary": false, "glossary_color": "silver", "category": null }, { "name": "mineland Glossary", "slug": "glossary", "id": 2, "source_language": { "id": 276, "code": "ru", "name": "Russian", "plural": { "id": 276, "source": 0, "number": 3, "formula": "n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2", "type": 2 }, "aliases": [ "ru_r", "ru_rr", "rus" ], "direction": "ltr", "population": 195841151, "web_url": "https://weblate.mineland.net/languages/ru/", "url": "https://weblate.mineland.net/api/languages/ru/?format=api", "statistics_url": "https://weblate.mineland.net/api/languages/ru/statistics/?format=api" }, "vcs": "local", "repo": "local:", "git_export": "https://weblate.mineland.net/git/mineland/glossary/", "branch": "main", "push_branch": "", "filemask": "*.tbx", "screenshot_filemask": "", "template": "", "edit_template": true, "intermediate": "", "new_base": "", "file_format": "tbx", "license": "proprietary", "license_url": null, "agreement": "", "web_url": "https://weblate.mineland.net/projects/mineland/glossary/", "url": "https://weblate.mineland.net/api/components/mineland/glossary/?format=api", "repository_url": "https://weblate.mineland.net/api/components/mineland/glossary/repository/?format=api", "translations_url": "https://weblate.mineland.net/api/components/mineland/glossary/translations/?format=api", "statistics_url": "https://weblate.mineland.net/api/components/mineland/glossary/statistics/?format=api", "lock_url": "https://weblate.mineland.net/api/components/mineland/glossary/lock/?format=api", "links_url": "https://weblate.mineland.net/api/components/mineland/glossary/links/?format=api", "changes_list_url": "https://weblate.mineland.net/api/components/mineland/glossary/changes/?format=api", "task_url": null, "new_lang": "none", "language_code_style": "", "push": "", "check_flags": "", "priority": 100, "enforced_checks": [], "restricted": false, "repoweb": "", "report_source_bugs": "", "merge_style": "rebase", "commit_message": "Translated using Weblate ({{ language_name }})\n\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}", "add_message": "Added translation using Weblate ({{ language_name }})\n\n", "delete_message": "Deleted translation using Weblate ({{ language_name }})\n\n", "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.\n\n", "addon_message": "Update translation files\n\nUpdated by \"{{ addon_name }}\" hook in Weblate.\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}", "pull_message": "Translations update from {{ site_title }}\n\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\n\n{% if component_linked_childs %}\nIt also includes following components:\n{% for linked in component_linked_childs %}\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\n{% endfor %}\n{% endif %}\n\nCurrent translation status:\n\n\n", "allow_translation_propagation": false, "manage_units": true, "enable_suggestions": true, "suggestion_voting": false, "suggestion_autoaccept": 0, "push_on_commit": true, "commit_pending_age": 24, "auto_lock_error": true, "language_regex": "^[^.]+$", "variant_regex": "", "addons": [], "is_glossary": true, "glossary_color": "silver", "category": null } ] }