Translation components API.

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

GET /api/components/mailcleaner/user-interface/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "User interface",
    "slug": "user-interface",
    "id": 577,
    "source_language": {
        "code": "en",
        "name": "English",
        "plural": {
            "id": 75,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "eng"
        ],
        "direction": "ltr",
        "web_url": "https://hosted.weblate.org/languages/en/",
        "url": "https://hosted.weblate.org/api/languages/en/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/en/statistics/?format=api"
    },
    "project": {
        "name": "MailCleaner Anti Spam",
        "slug": "mailcleaner",
        "id": 181,
        "web": "https://www.mailcleaner.org/",
        "web_url": "https://hosted.weblate.org/projects/mailcleaner/",
        "url": "https://hosted.weblate.org/api/projects/mailcleaner/?format=api",
        "components_list_url": "https://hosted.weblate.org/api/projects/mailcleaner/components/?format=api",
        "repository_url": "https://hosted.weblate.org/api/projects/mailcleaner/repository/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/projects/mailcleaner/statistics/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/projects/mailcleaner/changes/?format=api",
        "languages_url": "https://hosted.weblate.org/api/projects/mailcleaner/languages/?format=api"
    },
    "vcs": "git",
    "repo": "https://github.com/MailCleaner/MailCleaner.git",
    "git_export": "https://hosted.weblate.org/git/mailcleaner/user-interface/",
    "branch": "master",
    "push_branch": "",
    "filemask": "www/user/htdocs/lang/*/texts.php",
    "template": "www/user/htdocs/lang/en/texts.php",
    "edit_template": true,
    "intermediate": "",
    "new_base": "www/user/htdocs/lang/en/texts.php",
    "file_format": "php",
    "license": "GPL-3.0-or-later",
    "license_url": "https://www.gnu.org/licenses/gpl-3.0-standalone.html",
    "agreement": "",
    "web_url": "https://hosted.weblate.org/projects/mailcleaner/user-interface/",
    "url": "https://hosted.weblate.org/api/components/mailcleaner/user-interface/?format=api",
    "repository_url": "https://hosted.weblate.org/api/components/mailcleaner/user-interface/repository/?format=api",
    "translations_url": "https://hosted.weblate.org/api/components/mailcleaner/user-interface/translations/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/components/mailcleaner/user-interface/statistics/?format=api",
    "lock_url": "https://hosted.weblate.org/api/components/mailcleaner/user-interface/lock/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/components/mailcleaner/user-interface/changes/?format=api",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "git@github.com:/MailCleaner/MailCleaner.git",
    "check_flags": "",
    "priority": 100,
    "enforced_checks": "[]",
    "restricted": false,
    "repoweb": "",
    "report_source_bugs": "",
    "merge_style": "merge",
    "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.\n\n",
    "addon_message": "Update translation files\n\nUpdated by \"{{ hook_name }}\" hook in Weblate.\n\nTranslation: {{ project_name }}/{{ component_name }}\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": ""
}