Translation components API.

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

GET /api/components/ibus-libpinyin/master/
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "master",
    "slug": "master",
    "id": 2247,
    "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://translate.fedoraproject.org/languages/en/",
        "url": "https://translate.fedoraproject.org/api/languages/en/",
        "statistics_url": "https://translate.fedoraproject.org/api/languages/en/statistics/"
    },
    "project": {
        "name": "ibus-libpinyin",
        "slug": "ibus-libpinyin",
        "id": 93,
        "web": "https://github.com/libpinyin/ibus-libpinyin",
        "web_url": "https://translate.fedoraproject.org/projects/ibus-libpinyin/",
        "url": "https://translate.fedoraproject.org/api/projects/ibus-libpinyin/",
        "components_list_url": "https://translate.fedoraproject.org/api/projects/ibus-libpinyin/components/",
        "repository_url": "https://translate.fedoraproject.org/api/projects/ibus-libpinyin/repository/",
        "statistics_url": "https://translate.fedoraproject.org/api/projects/ibus-libpinyin/statistics/",
        "changes_list_url": "https://translate.fedoraproject.org/api/projects/ibus-libpinyin/changes/",
        "languages_url": "https://translate.fedoraproject.org/api/projects/ibus-libpinyin/languages/",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "\nMailing list for translators: <trans@lists.fedoraproject.org\n",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "github",
    "repo": "https://github.com/libpinyin/ibus-libpinyin",
    "git_export": "https://translate.fedoraproject.org/git/ibus-libpinyin/master/",
    "branch": "master",
    "push_branch": "",
    "filemask": "po/*.po",
    "template": "",
    "edit_template": true,
    "intermediate": "",
    "new_base": "po/ibus-libpinyin.pot",
    "file_format": "po",
    "license": "GPL-3.0-or-later",
    "license_url": "https://www.gnu.org/licenses/gpl-3.0-standalone.html",
    "agreement": "",
    "web_url": "https://translate.fedoraproject.org/projects/ibus-libpinyin/master/",
    "url": "https://translate.fedoraproject.org/api/components/ibus-libpinyin/master/",
    "repository_url": "https://translate.fedoraproject.org/api/components/ibus-libpinyin/master/repository/",
    "translations_url": "https://translate.fedoraproject.org/api/components/ibus-libpinyin/master/translations/",
    "statistics_url": "https://translate.fedoraproject.org/api/components/ibus-libpinyin/master/statistics/",
    "lock_url": "https://translate.fedoraproject.org/api/components/ibus-libpinyin/master/lock/",
    "links_url": "https://translate.fedoraproject.org/api/components/ibus-libpinyin/master/links/",
    "changes_list_url": "https://translate.fedoraproject.org/api/components/ibus-libpinyin/master/changes/",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "https://github.com/libpinyin/ibus-libpinyin",
    "check_flags": "",
    "priority": 100,
    "enforced_checks": [],
    "restricted": false,
    "repoweb": "https://github.com/libpinyin/ibus-libpinyin/blob/{{branch}}/{{filename}}#L{{line}}",
    "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,
    "manage_units": false,
    "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": [
        "https://translate.fedoraproject.org/api/addons/6706/",
        "https://translate.fedoraproject.org/api/addons/6705/",
        "https://translate.fedoraproject.org/api/addons/6704/",
        "https://translate.fedoraproject.org/api/addons/6703/",
        "https://translate.fedoraproject.org/api/addons/6701/"
    ],
    "is_glossary": false,
    "glossary_color": "silver"
}