Translation components API.

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

GET /api/components/linphone/linphone-android-5-1-release/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "Linphone Android (5.1 release)",
    "slug": "linphone-android-5-1-release",
    "id": 122,
    "project": {
        "name": "Linphone",
        "slug": "linphone",
        "id": 2,
        "web": "https://linphone.org",
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 82,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "english",
                "en_en",
                "base",
                "source",
                "eng"
            ],
            "direction": "ltr",
            "web_url": "https://weblate.linphone.org/languages/en/",
            "url": "https://weblate.linphone.org/api/languages/en/?format=api",
            "statistics_url": "https://weblate.linphone.org/api/languages/en/statistics/?format=api"
        },
        "web_url": "https://weblate.linphone.org/projects/linphone/",
        "url": "https://weblate.linphone.org/api/projects/linphone/?format=api",
        "components_list_url": "https://weblate.linphone.org/api/projects/linphone/components/?format=api",
        "repository_url": "https://weblate.linphone.org/api/projects/linphone/repository/?format=api",
        "statistics_url": "https://weblate.linphone.org/api/projects/linphone/statistics/?format=api",
        "changes_list_url": "https://weblate.linphone.org/api/projects/linphone/changes/?format=api",
        "languages_url": "https://weblate.linphone.org/api/projects/linphone/languages/?format=api"
    },
    "vcs": "git",
    "repo": "https://gitlab.linphone.org/BC/public/linphone-android.git",
    "git_export": "https://weblate.linphone.org/git/linphone/linphone-android-5-1-release/",
    "branch": "release/5.1",
    "push_branch": "weblate/translations_updated_5.1",
    "filemask": "app/src/main/res/values-*/strings.xml",
    "template": "app/src/main/res/values/strings.xml",
    "edit_template": false,
    "intermediate": "",
    "new_base": "",
    "file_format": "aresource",
    "license": "proprietary",
    "license_url": null,
    "agreement": "",
    "web_url": "https://weblate.linphone.org/projects/linphone/linphone-android-5-1-release/",
    "url": "https://weblate.linphone.org/api/components/linphone/linphone-android-5-1-release/?format=api",
    "repository_url": "https://weblate.linphone.org/api/components/linphone/linphone-android-5-1-release/repository/?format=api",
    "translations_url": "https://weblate.linphone.org/api/components/linphone/linphone-android-5-1-release/translations/?format=api",
    "statistics_url": "https://weblate.linphone.org/api/components/linphone/linphone-android-5-1-release/statistics/?format=api",
    "lock_url": "https://weblate.linphone.org/api/components/linphone/linphone-android-5-1-release/lock/?format=api",
    "changes_list_url": "https://weblate.linphone.org/api/components/linphone/linphone-android-5-1-release/changes/?format=api",
    "new_lang": "add",
    "language_code_style": "",
    "push": "git@gitlab.linphone.org:BC/public/linphone-android.git",
    "check_flags": "",
    "priority": 100,
    "enforced_checks": "",
    "restricted": false,
    "repoweb": "https://gitlab.linphone.org/BC/public/linphone-android/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,
    "enable_suggestions": true,
    "suggestion_voting": false,
    "suggestion_autoaccept": 0,
    "push_on_commit": false,
    "commit_pending_age": 43800,
    "auto_lock_error": true,
    "language_regex": "^[^.]+$",
    "variant_regex": ""
}