Translation projects API.

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

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

{
    "count": 2,
    "next": null,
    "previous": null,
    "results": [
        {
            "name": "Default theme",
            "slug": "master",
            "id": 37,
            "source_language": {
                "code": "en",
                "name": "English",
                "plural": {
                    "id": 76,
                    "source": 0,
                    "number": 2,
                    "formula": "n != 1",
                    "type": 1
                },
                "aliases": [
                    "en_en",
                    "base",
                    "source",
                    "enp",
                    "eng"
                ],
                "direction": "ltr",
                "web_url": "https://weblate.framasoft.org/languages/en/",
                "url": "https://weblate.framasoft.org/api/languages/en/?format=api",
                "statistics_url": "https://weblate.framasoft.org/api/languages/en/statistics/?format=api"
            },
            "vcs": "gitlab",
            "repo": "https://framagit.org/fiat-tux/hat-softwares/dolomon.git",
            "git_export": "https://weblate.framasoft.org/git/dolomon/master/",
            "branch": "develop",
            "push_branch": "",
            "filemask": "themes/default/lib/Dolomon/I18N/*.po",
            "template": "themes/default/lib/Dolomon/I18N/en.po",
            "edit_template": true,
            "intermediate": "",
            "new_base": "themes/default/lib/Dolomon/I18N/dolomon.pot",
            "file_format": "po-mono",
            "license": "AGPL-3.0-only",
            "license_url": "https://www.gnu.org/licenses/agpl.txt",
            "agreement": "",
            "web_url": "https://weblate.framasoft.org/projects/dolomon/master/",
            "url": "https://weblate.framasoft.org/api/components/dolomon/master/?format=api",
            "repository_url": "https://weblate.framasoft.org/api/components/dolomon/master/repository/?format=api",
            "translations_url": "https://weblate.framasoft.org/api/components/dolomon/master/translations/?format=api",
            "statistics_url": "https://weblate.framasoft.org/api/components/dolomon/master/statistics/?format=api",
            "lock_url": "https://weblate.framasoft.org/api/components/dolomon/master/lock/?format=api",
            "links_url": "https://weblate.framasoft.org/api/components/dolomon/master/links/?format=api",
            "changes_list_url": "https://weblate.framasoft.org/api/components/dolomon/master/changes/?format=api",
            "task_url": null,
            "new_lang": "add",
            "language_code_style": "",
            "push": "https://framagit.org/fiat-tux/hat-softwares/dolomon.git",
            "check_flags": "",
            "priority": 100,
            "enforced_checks": [],
            "restricted": false,
            "repoweb": "https://framagit.org/fiat-tux/hat-softwares/dolomon/blob/{{branch}}/{{filename}}#L{{line}}",
            "report_source_bugs": "",
            "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 }}",
            "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"
        },
        {
            "name": "Dolomon",
            "slug": "glossary",
            "id": 108,
            "source_language": {
                "code": "en",
                "name": "English",
                "plural": {
                    "id": 76,
                    "source": 0,
                    "number": 2,
                    "formula": "n != 1",
                    "type": 1
                },
                "aliases": [
                    "en_en",
                    "base",
                    "source",
                    "enp",
                    "eng"
                ],
                "direction": "ltr",
                "web_url": "https://weblate.framasoft.org/languages/en/",
                "url": "https://weblate.framasoft.org/api/languages/en/?format=api",
                "statistics_url": "https://weblate.framasoft.org/api/languages/en/statistics/?format=api"
            },
            "vcs": "local",
            "repo": "local:",
            "git_export": "",
            "branch": "main",
            "push_branch": "",
            "filemask": "*.tbx",
            "template": "",
            "edit_template": true,
            "intermediate": "",
            "new_base": "",
            "file_format": "tbx",
            "license": "AGPL-3.0-only",
            "license_url": "https://www.gnu.org/licenses/agpl.txt",
            "agreement": "",
            "web_url": "https://weblate.framasoft.org/projects/dolomon/glossary/",
            "url": "https://weblate.framasoft.org/api/components/dolomon/glossary/?format=api",
            "repository_url": "https://weblate.framasoft.org/api/components/dolomon/glossary/repository/?format=api",
            "translations_url": "https://weblate.framasoft.org/api/components/dolomon/glossary/translations/?format=api",
            "statistics_url": "https://weblate.framasoft.org/api/components/dolomon/glossary/statistics/?format=api",
            "lock_url": "https://weblate.framasoft.org/api/components/dolomon/glossary/lock/?format=api",
            "links_url": "https://weblate.framasoft.org/api/components/dolomon/glossary/links/?format=api",
            "changes_list_url": "https://weblate.framasoft.org/api/components/dolomon/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 }}",
            "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"
        }
    ]
}