Translation components API.

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

GET /api/translations/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/lv/
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "lv",
        "name": "Latvian",
        "plural": {
            "id": 176,
            "source": 0,
            "number": 3,
            "formula": "(n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2)",
            "type": 11
        },
        "aliases": [
            "lav"
        ],
        "direction": "ltr",
        "web_url": "https://l10n.xwiki.org/languages/lv/",
        "url": "https://l10n.xwiki.org/api/languages/lv/",
        "statistics_url": "https://l10n.xwiki.org/api/languages/lv/statistics/"
    },
    "component": {
        "name": "XWiki.XWikiSyntaxNewLineLineBreaks",
        "slug": "xwiki-xwikisyntaxnewlinelinebreaks",
        "id": 44,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 71,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "eng"
            ],
            "direction": "ltr",
            "web_url": "https://l10n.xwiki.org/languages/en/",
            "url": "https://l10n.xwiki.org/api/languages/en/",
            "statistics_url": "https://l10n.xwiki.org/api/languages/en/statistics/"
        },
        "project": {
            "name": "XWiki Platform",
            "slug": "xwiki-platform",
            "id": 1,
            "web": "http://www.xwiki.org",
            "web_url": "https://l10n.xwiki.org/projects/xwiki-platform/",
            "url": "https://l10n.xwiki.org/api/projects/xwiki-platform/",
            "components_list_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/components/",
            "repository_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/repository/",
            "statistics_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/statistics/",
            "changes_list_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/changes/",
            "languages_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/languages/",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "mail": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "github",
        "repo": "https://github.com/xwiki/xwiki-platform",
        "git_export": "",
        "branch": "",
        "push_branch": "",
        "filemask": "xwiki-platform-core/xwiki-platform-help/xwiki-platform-help-ui/src/main/resources/XWiki/XWikiSyntaxNewLineLineBreaks.*.xml",
        "template": "xwiki-platform-core/xwiki-platform-help/xwiki-platform-help-ui/src/main/resources/XWiki/XWikiSyntaxNewLineLineBreaks.xml",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "xwiki-fullpage",
        "license": "LGPL-2.1-only",
        "license_url": "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html",
        "agreement": "",
        "web_url": "https://l10n.xwiki.org/projects/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/",
        "url": "https://l10n.xwiki.org/api/components/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/",
        "repository_url": "https://l10n.xwiki.org/api/components/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/repository/",
        "translations_url": "https://l10n.xwiki.org/api/components/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/translations/",
        "statistics_url": "https://l10n.xwiki.org/api/components/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/statistics/",
        "lock_url": "https://l10n.xwiki.org/api/components/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/lock/",
        "changes_list_url": "https://l10n.xwiki.org/api/components/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/changes/",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "https://github.com/xwiki/xwiki-platform",
        "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,
        "enable_suggestions": true,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": true,
        "commit_pending_age": 1,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": []
    },
    "language_code": "lv",
    "id": 222,
    "filename": "xwiki-platform-core/xwiki-platform-help/xwiki-platform-help-ui/src/main/resources/XWiki/XWikiSyntaxNewLineLineBreaks.lv.xml",
    "revision": "b0f114c064e4d947464e23fa490884d6ed591ec3,65118b7c863cacb53585b6b985925962019e8f10",
    "web_url": "https://l10n.xwiki.org/projects/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/lv/",
    "share_url": "https://l10n.xwiki.org/engage/xwiki-platform/lv/",
    "translate_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/lv/",
    "url": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/lv/",
    "is_template": false,
    "is_source": false,
    "total": 2,
    "total_words": 128,
    "translated": 2,
    "translated_words": 128,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 1,
    "failing_checks_words": 127,
    "failing_checks_percent": 50.0,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": null,
    "last_author": null,
    "repository_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/lv/repository/",
    "file_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/lv/file/",
    "statistics_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/lv/statistics/",
    "changes_list_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/lv/changes/",
    "units_list_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxnewlinelinebreaks/lv/units/"
}