Translation components API.

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

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

{
    "name": "master",
    "slug": "master",
    "id": 2255,
    "source_language": {
        "id": 76,
        "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",
        "population": 1636485517,
        "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": "python-meh",
        "slug": "python-meh",
        "id": 87,
        "web": "https://github.com/rhinstaller/python-meh",
        "web_url": "https://translate.fedoraproject.org/projects/python-meh/",
        "url": "https://translate.fedoraproject.org/api/projects/python-meh/",
        "components_list_url": "https://translate.fedoraproject.org/api/projects/python-meh/components/",
        "repository_url": "https://translate.fedoraproject.org/api/projects/python-meh/repository/",
        "statistics_url": "https://translate.fedoraproject.org/api/projects/python-meh/statistics/",
        "categories_url": "https://translate.fedoraproject.org/api/projects/python-meh/categories/",
        "changes_list_url": "https://translate.fedoraproject.org/api/projects/python-meh/changes/",
        "languages_url": "https://translate.fedoraproject.org/api/projects/python-meh/languages/",
        "labels_url": "https://translate.fedoraproject.org/api/projects/python-meh/labels/",
        "credits_url": "https://translate.fedoraproject.org/api/projects/python-meh/credits/",
        "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": "",
        "enforced_2fa": false
    },
    "vcs": "git",
    "repo": "git@github.com:rhinstaller/python-meh-l10n.git",
    "git_export": "https://translate.fedoraproject.org/git/python-meh/master/",
    "branch": "master",
    "push_branch": "",
    "filemask": "master/*.po",
    "screenshot_filemask": "",
    "template": "",
    "edit_template": false,
    "intermediate": "",
    "new_base": "master/python-meh.pot",
    "file_format": "po",
    "license": "GPL-2.0-or-later",
    "license_url": "https://spdx.org/licenses/GPL-2.0-or-later.html",
    "agreement": "",
    "web_url": "https://translate.fedoraproject.org/projects/python-meh/master/",
    "url": "https://translate.fedoraproject.org/api/components/python-meh/master/",
    "repository_url": "https://translate.fedoraproject.org/api/components/python-meh/master/repository/",
    "translations_url": "https://translate.fedoraproject.org/api/components/python-meh/master/translations/",
    "statistics_url": "https://translate.fedoraproject.org/api/components/python-meh/master/statistics/",
    "lock_url": "https://translate.fedoraproject.org/api/components/python-meh/master/lock/",
    "links_url": "https://translate.fedoraproject.org/api/components/python-meh/master/links/",
    "changes_list_url": "https://translate.fedoraproject.org/api/components/python-meh/master/changes/",
    "task_url": null,
    "credits_url": "https://translate.fedoraproject.org/api/components/python-meh/master/credits/",
    "new_lang": "add",
    "language_code_style": "",
    "push": "git@github.com:rhinstaller/python-meh-l10n.git",
    "check_flags": "",
    "priority": 100,
    "enforced_checks": [
        "python_brace_format",
        "python_format",
        "end_newline"
    ],
    "restricted": false,
    "repoweb": "https://github.com/rhinstaller/python-meh/blob/{{branch}}/meh/{{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 }}",
    "pull_message": "Translations update from {{ site_title }}\n\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\n\n{% if component_linked_childs %}\nIt also includes following components:\n{% for linked in component_linked_childs %}\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\n{% endfor %}\n{% endif %}\n\nCurrent translation status:\n\n![Weblate translation status]({{widget_url}})\n",
    "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/6734/",
        "https://translate.fedoraproject.org/api/addons/6735/",
        "https://translate.fedoraproject.org/api/addons/6733/",
        "https://translate.fedoraproject.org/api/addons/6736/"
    ],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": null,
    "linked_component": null
}