Translation components API.

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

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

{
    "name": "master",
    "slug": "master",
    "id": 78,
    "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": 1728900209,
        "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": "pykickstart",
        "slug": "pykickstart",
        "id": 26,
        "web": "https://github.com/pykickstart/pykickstart",
        "web_url": "https://translate.fedoraproject.org/projects/pykickstart/",
        "url": "https://translate.fedoraproject.org/api/projects/pykickstart/",
        "components_list_url": "https://translate.fedoraproject.org/api/projects/pykickstart/components/",
        "repository_url": "https://translate.fedoraproject.org/api/projects/pykickstart/repository/",
        "statistics_url": "https://translate.fedoraproject.org/api/projects/pykickstart/statistics/",
        "categories_url": "https://translate.fedoraproject.org/api/projects/pykickstart/categories/",
        "changes_list_url": "https://translate.fedoraproject.org/api/projects/pykickstart/changes/",
        "languages_url": "https://translate.fedoraproject.org/api/projects/pykickstart/languages/",
        "labels_url": "https://translate.fedoraproject.org/api/projects/pykickstart/labels/",
        "credits_url": "https://translate.fedoraproject.org/api/projects/pykickstart/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": "github",
    "repo": "https://github.com/pykickstart/weblate",
    "git_export": "https://translate.fedoraproject.org/git/pykickstart/master/",
    "branch": "master",
    "push_branch": "",
    "filemask": "*.po",
    "screenshot_filemask": "",
    "template": "",
    "edit_template": true,
    "intermediate": "",
    "new_base": "pykickstart.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/pykickstart/master/",
    "url": "https://translate.fedoraproject.org/api/components/pykickstart/master/",
    "repository_url": "https://translate.fedoraproject.org/api/components/pykickstart/master/repository/",
    "translations_url": "https://translate.fedoraproject.org/api/components/pykickstart/master/translations/",
    "statistics_url": "https://translate.fedoraproject.org/api/components/pykickstart/master/statistics/",
    "lock_url": "https://translate.fedoraproject.org/api/components/pykickstart/master/lock/",
    "links_url": "https://translate.fedoraproject.org/api/components/pykickstart/master/links/",
    "changes_list_url": "https://translate.fedoraproject.org/api/components/pykickstart/master/changes/",
    "task_url": null,
    "credits_url": "https://translate.fedoraproject.org/api/components/pykickstart/master/credits/",
    "new_lang": "add",
    "language_code_style": "",
    "push": "https://github.com/pykickstart/weblate",
    "check_flags": "placeholders:pykickstart:--agreed:--bindto:--biospart:--blockdevs:--boot-driv:--bridgeopts:--bridgeslaves:--chunksize:--default:--device:--devnum:--disabled:--drives:--enabled:--fcplun:--fsprofile:--fstype:--fstype=btrfs:--fstype=tmpfs:--grow:--hibernation:--host:--interactive:--interfacename:--ipv4-dns-search:--ipv4-ignore-auto-dns:--ipv6-dns-search:--ipv6-ignore-auto-dns:--isUtc:--maxsize:--metadatasize:--mkfsoptions:--namespace:--nobase:--nocore:--nodefaults:--noformat:--nomount:--non-interactive:--nontp:--noswap:--ntp-disable:--ntp-server:--ntpservers:--only-use:--onpart:--optional:--pbkdf-iterations:--pbkdf-time:--percent:--poolname:--port:--reformat:--resize:--romount:--sectorsize:--size:--source:--thin:--thinpool:--type=btrfs:--useexisting:--utc:--vckeymap:--when:--wwpn:--xlayouts",
    "priority": 100,
    "enforced_checks": [],
    "restricted": false,
    "repoweb": "https://github.com/pykickstart/pykickstart/blob/{{branch}}/po/{{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 }}\r\n\r\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\r\n\r\n{% if component_linked_childs %}\r\nIt also includes following components:\r\n{% for linked in component_linked_childs %}\r\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\r\n{% endfor %}\r\n{% endif %}\r\n\r\nCurrent translation status:\r\n\r\n![Weblate translation status]({{widget_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": "^[^.]+$",
    "key_filter": "",
    "variant_regex": "",
    "addons": [
        "https://translate.fedoraproject.org/api/addons/199/",
        "https://translate.fedoraproject.org/api/addons/200/",
        "https://translate.fedoraproject.org/api/addons/201/",
        "https://translate.fedoraproject.org/api/addons/198/"
    ],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": null,
    "linked_component": null
}