Translation components API.

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

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

{
    "name": "main",
    "slug": "main",
    "id": 57,
    "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-composer",
        "slug": "cockpit-composer",
        "id": 19,
        "web": "https://github.com/osbuild/cockpit-composer/",
        "web_url": "https://translate.fedoraproject.org/projects/cockpit-composer/",
        "url": "https://translate.fedoraproject.org/api/projects/cockpit-composer/",
        "components_list_url": "https://translate.fedoraproject.org/api/projects/cockpit-composer/components/",
        "repository_url": "https://translate.fedoraproject.org/api/projects/cockpit-composer/repository/",
        "statistics_url": "https://translate.fedoraproject.org/api/projects/cockpit-composer/statistics/",
        "changes_list_url": "https://translate.fedoraproject.org/api/projects/cockpit-composer/changes/",
        "languages_url": "https://translate.fedoraproject.org/api/projects/cockpit-composer/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": "git",
    "repo": "git@github.com:osbuild/cockpit-composer-weblate.git",
    "git_export": "https://translate.fedoraproject.org/git/cockpit-composer/main/",
    "branch": "main",
    "push_branch": "",
    "filemask": "*.po",
    "template": "",
    "edit_template": true,
    "intermediate": "",
    "new_base": "cockpit-composer.pot",
    "file_format": "po",
    "license": "MIT",
    "license_url": "https://opensource.org/licenses/MIT",
    "agreement": "",
    "web_url": "https://translate.fedoraproject.org/projects/cockpit-composer/main/",
    "url": "https://translate.fedoraproject.org/api/components/cockpit-composer/main/",
    "repository_url": "https://translate.fedoraproject.org/api/components/cockpit-composer/main/repository/",
    "translations_url": "https://translate.fedoraproject.org/api/components/cockpit-composer/main/translations/",
    "statistics_url": "https://translate.fedoraproject.org/api/components/cockpit-composer/main/statistics/",
    "lock_url": "https://translate.fedoraproject.org/api/components/cockpit-composer/main/lock/",
    "links_url": "https://translate.fedoraproject.org/api/components/cockpit-composer/main/links/",
    "changes_list_url": "https://translate.fedoraproject.org/api/components/cockpit-composer/main/changes/",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "git@github.com:osbuild/cockpit-composer-weblate.git",
    "check_flags": "",
    "priority": 100,
    "enforced_checks": [
        "python_brace_format"
    ],
    "restricted": false,
    "repoweb": "https://github.com/osbuild/cockpit-composer/blob/{{branch}}/{{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": [
        "https://translate.fedoraproject.org/api/addons/126/",
        "https://translate.fedoraproject.org/api/addons/128/",
        "https://translate.fedoraproject.org/api/addons/127/"
    ],
    "is_glossary": false,
    "glossary_color": "silver"
}