Translation components API.

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

GET /api/components/generic-addons-16-0/generic_mixin/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "generic_mixin",
    "slug": "generic_mixin",
    "id": 1134,
    "source_language": {
        "code": "en",
        "name": "English",
        "plural": {
            "id": 77,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "eng"
        ],
        "direction": "ltr",
        "web_url": "http://weblate.crnd.pro/languages/en/",
        "url": "http://weblate.crnd.pro/api/languages/en/?format=api",
        "statistics_url": "http://weblate.crnd.pro/api/languages/en/statistics/?format=api"
    },
    "project": {
        "name": "Generic addons (16.0)",
        "slug": "generic-addons-16-0",
        "id": 28,
        "web": "https://gitlab.crnd.pro/crnd-opensource/generic-addons",
        "web_url": "http://weblate.crnd.pro/projects/generic-addons-16-0/",
        "url": "http://weblate.crnd.pro/api/projects/generic-addons-16-0/?format=api",
        "components_list_url": "http://weblate.crnd.pro/api/projects/generic-addons-16-0/components/?format=api",
        "repository_url": "http://weblate.crnd.pro/api/projects/generic-addons-16-0/repository/?format=api",
        "statistics_url": "http://weblate.crnd.pro/api/projects/generic-addons-16-0/statistics/?format=api",
        "changes_list_url": "http://weblate.crnd.pro/api/projects/generic-addons-16-0/changes/?format=api",
        "languages_url": "http://weblate.crnd.pro/api/projects/generic-addons-16-0/languages/?format=api"
    },
    "vcs": "git",
    "repo": "git@gitlab.crnd.pro:crnd-opensource/generic-addons.git",
    "git_export": "http://weblate.crnd.pro/git/generic-addons-16-0/generic_mixin/",
    "branch": "16.0",
    "push_branch": "",
    "filemask": "generic_mixin/i18n/*.po",
    "template": "",
    "edit_template": true,
    "intermediate": "",
    "new_base": "generic_mixin/i18n/generic_mixin.pot",
    "file_format": "po",
    "license": "",
    "license_url": null,
    "agreement": "",
    "web_url": "http://weblate.crnd.pro/projects/generic-addons-16-0/generic_mixin/",
    "url": "http://weblate.crnd.pro/api/components/generic-addons-16-0/generic_mixin/?format=api",
    "repository_url": "http://weblate.crnd.pro/api/components/generic-addons-16-0/generic_mixin/repository/?format=api",
    "translations_url": "http://weblate.crnd.pro/api/components/generic-addons-16-0/generic_mixin/translations/?format=api",
    "statistics_url": "http://weblate.crnd.pro/api/components/generic-addons-16-0/generic_mixin/statistics/?format=api",
    "lock_url": "http://weblate.crnd.pro/api/components/generic-addons-16-0/generic_mixin/lock/?format=api",
    "changes_list_url": "http://weblate.crnd.pro/api/components/generic-addons-16-0/generic_mixin/changes/?format=api",
    "new_lang": "add",
    "language_code_style": "",
    "push": "git@gitlab.crnd.pro:crnd-opensource/generic-addons.git",
    "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": 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": ""
}