Translation components API.

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

GET /api/components/cockpit/rhel-7/
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "rhel-7",
    "slug": "rhel-7",
    "id": 2120,
    "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": "cockpit",
        "slug": "cockpit",
        "id": 10,
        "web": "http://www.cockpit-project.org/",
        "web_url": "https://translate.fedoraproject.org/projects/cockpit/",
        "url": "https://translate.fedoraproject.org/api/projects/cockpit/",
        "components_list_url": "https://translate.fedoraproject.org/api/projects/cockpit/components/",
        "repository_url": "https://translate.fedoraproject.org/api/projects/cockpit/repository/",
        "statistics_url": "https://translate.fedoraproject.org/api/projects/cockpit/statistics/",
        "changes_list_url": "https://translate.fedoraproject.org/api/projects/cockpit/changes/",
        "languages_url": "https://translate.fedoraproject.org/api/projects/cockpit/languages/",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "",
        "enable_hooks": false,
        "language_aliases": ""
    },
    "vcs": "git",
    "repo": "git@github.com:cockpit-project/cockpit-weblate.git",
    "git_export": "https://translate.fedoraproject.org/git/cockpit/rhel-7/",
    "branch": "rhel-7",
    "push_branch": "",
    "filemask": "*.po",
    "template": "",
    "edit_template": true,
    "intermediate": "",
    "new_base": "cockpit.pot",
    "file_format": "po",
    "license": "LGPL-2.1-or-later",
    "license_url": "https://spdx.org/licenses/LGPL-2.1-or-later.html",
    "agreement": "",
    "web_url": "https://translate.fedoraproject.org/projects/cockpit/rhel-7/",
    "url": "https://translate.fedoraproject.org/api/components/cockpit/rhel-7/",
    "repository_url": "https://translate.fedoraproject.org/api/components/cockpit/rhel-7/repository/",
    "translations_url": "https://translate.fedoraproject.org/api/components/cockpit/rhel-7/translations/",
    "statistics_url": "https://translate.fedoraproject.org/api/components/cockpit/rhel-7/statistics/",
    "lock_url": "https://translate.fedoraproject.org/api/components/cockpit/rhel-7/lock/",
    "links_url": "https://translate.fedoraproject.org/api/components/cockpit/rhel-7/links/",
    "changes_list_url": "https://translate.fedoraproject.org/api/components/cockpit/rhel-7/changes/",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "git@github.com:cockpit-project/cockpit-weblate.git",
    "check_flags": "",
    "priority": 100,
    "enforced_checks": [],
    "restricted": false,
    "repoweb": "https://github.com/cockpit-project/cockpit/blob/rhel-7.9/{{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,
    "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": [],
    "is_glossary": false,
    "glossary_color": "silver"
}