Translation projects API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/projects/petka/components/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
        {
            "name": "Red Comrades 1: Save the Galaxy",
            "slug": "petka1",
            "id": 21,
            "source_language": {
                "code": "ru",
                "name": "Russian",
                "plural": {
                    "id": 159,
                    "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",
                "web_url": "https://translations.scummvm.org/languages/ru/",
                "url": "https://translations.scummvm.org/api/languages/ru/?format=api",
                "statistics_url": "https://translations.scummvm.org/api/languages/ru/statistics/?format=api"
            },
            "vcs": "git",
            "repo": "https://github.com/scummvm/game-translations",
            "git_export": "https://translations.scummvm.org/git/petka/petka1/",
            "branch": "petka1",
            "push_branch": "",
            "filemask": "*.po",
            "template": "",
            "edit_template": true,
            "intermediate": "",
            "new_base": "petka1.pot",
            "file_format": "po",
            "license": "GPL-3.0-or-later",
            "license_url": "https://www.gnu.org/licenses/gpl-3.0-standalone.html",
            "agreement": "",
            "web_url": "https://translations.scummvm.org/projects/petka/petka1/",
            "url": "https://translations.scummvm.org/api/components/petka/petka1/?format=api",
            "repository_url": "https://translations.scummvm.org/api/components/petka/petka1/repository/?format=api",
            "translations_url": "https://translations.scummvm.org/api/components/petka/petka1/translations/?format=api",
            "statistics_url": "https://translations.scummvm.org/api/components/petka/petka1/statistics/?format=api",
            "lock_url": "https://translations.scummvm.org/api/components/petka/petka1/lock/?format=api",
            "changes_list_url": "https://translations.scummvm.org/api/components/petka/petka1/changes/?format=api",
            "task_url": null,
            "new_lang": "add",
            "language_code_style": "",
            "push": "https://github.com/scummvm/game-translations",
            "check_flags": "ignore-ellipsis",
            "priority": 100,
            "enforced_checks": "[]",
            "restricted": false,
            "repoweb": "",
            "report_source_bugs": "",
            "merge_style": "rebase",
            "commit_message": "PETKA1: I18N: Update translation ({{ language_name }})\r\n\r\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)",
            "add_message": "PETKA1: I18N: Added translation using Weblate ({{ language_name }})",
            "delete_message": "PETKA1: I18N: Deleted translation using Weblate ({{ language_name }})",
            "merge_message": "PETKA1: I18N: Merge branch '{{ component_remote_branch }}' into Weblate.",
            "addon_message": "PETKA1: I18N: 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 }}",
            "allow_translation_propagation": 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": ""
        }
    ]
}