Translation components API.

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

GET /api/translations/contributopia/main/it/
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "it",
        "name": "Italian",
        "plural": {
            "id": 145,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "ita"
        ],
        "direction": "ltr",
        "web_url": "https://weblate.framasoft.org/languages/it/",
        "url": "https://weblate.framasoft.org/api/languages/it/",
        "statistics_url": "https://weblate.framasoft.org/api/languages/it/statistics/"
    },
    "component": {
        "name": "Main",
        "slug": "main",
        "id": 20,
        "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/",
            "statistics_url": "https://weblate.framasoft.org/api/languages/en/statistics/"
        },
        "project": {
            "name": "Contributopia",
            "slug": "contributopia",
            "id": 11,
            "web": "https://contributopia.org",
            "web_url": "https://weblate.framasoft.org/projects/contributopia/",
            "url": "https://weblate.framasoft.org/api/projects/contributopia/",
            "components_list_url": "https://weblate.framasoft.org/api/projects/contributopia/components/",
            "repository_url": "https://weblate.framasoft.org/api/projects/contributopia/repository/",
            "statistics_url": "https://weblate.framasoft.org/api/projects/contributopia/statistics/",
            "changes_list_url": "https://weblate.framasoft.org/api/projects/contributopia/changes/",
            "languages_url": "https://weblate.framasoft.org/api/projects/contributopia/languages/",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "gitlab",
        "repo": "https://framagit.org/framasoft/contributopia.git",
        "git_export": "https://weblate.framasoft.org/git/contributopia/main/",
        "branch": "master",
        "push_branch": "",
        "filemask": "app/locales/*/_main.yml",
        "template": "app/locales/en/_main.yml",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "yaml",
        "license": "CC-BY-SA-4.0",
        "license_url": "https://creativecommons.org/licenses/by-sa/4.0/legalcode",
        "agreement": "",
        "web_url": "https://weblate.framasoft.org/projects/contributopia/main/",
        "url": "https://weblate.framasoft.org/api/components/contributopia/main/",
        "repository_url": "https://weblate.framasoft.org/api/components/contributopia/main/repository/",
        "translations_url": "https://weblate.framasoft.org/api/components/contributopia/main/translations/",
        "statistics_url": "https://weblate.framasoft.org/api/components/contributopia/main/statistics/",
        "lock_url": "https://weblate.framasoft.org/api/components/contributopia/main/lock/",
        "links_url": "https://weblate.framasoft.org/api/components/contributopia/main/links/",
        "changes_list_url": "https://weblate.framasoft.org/api/components/contributopia/main/changes/",
        "task_url": null,
        "new_lang": "add",
        "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 }})\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"
    },
    "language_code": "it",
    "id": 145,
    "filename": "app/locales/it/_main.yml",
    "revision": "d1b776d7eae1d53146da0a2ed1c5eb409bd9ffc8,fdbaa110f51237d0d877c6a4c71a4d948ddb1790",
    "web_url": "https://weblate.framasoft.org/projects/contributopia/main/it/",
    "share_url": "https://weblate.framasoft.org/engage/contributopia/it/",
    "translate_url": "https://weblate.framasoft.org/translate/contributopia/main/it/",
    "url": "https://weblate.framasoft.org/api/translations/contributopia/main/it/",
    "is_template": false,
    "is_source": false,
    "total": 4,
    "total_words": 25,
    "translated": 4,
    "translated_words": 25,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 0,
    "failing_checks_words": 0,
    "failing_checks_percent": 0.0,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2020-11-09T12:36:57.767953Z",
    "last_author": "x",
    "repository_url": "https://weblate.framasoft.org/api/translations/contributopia/main/it/repository/",
    "file_url": "https://weblate.framasoft.org/api/translations/contributopia/main/it/file/",
    "statistics_url": "https://weblate.framasoft.org/api/translations/contributopia/main/it/statistics/",
    "changes_list_url": "https://weblate.framasoft.org/api/translations/contributopia/main/it/changes/",
    "units_list_url": "https://weblate.framasoft.org/api/translations/contributopia/main/it/units/"
}