Translation components API.

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

GET /api/components/ashos/readme/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "README.md",
    "slug": "readme",
    "id": 25193,
    "source_language": {
        "id": 31,
        "code": "en",
        "name": "English",
        "plural": {
            "id": 75,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "enp",
            "eng"
        ],
        "direction": "ltr",
        "population": 1636485517,
        "web_url": "https://hosted.weblate.org/languages/en/",
        "url": "https://hosted.weblate.org/api/languages/en/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/en/statistics/?format=api"
    },
    "project": {
        "name": "AshOS",
        "slug": "ashos",
        "id": 4208,
        "web": "https://github.com/ashos/ashos",
        "web_url": "https://hosted.weblate.org/projects/ashos/",
        "url": "https://hosted.weblate.org/api/projects/ashos/?format=api",
        "components_list_url": "https://hosted.weblate.org/api/projects/ashos/components/?format=api",
        "repository_url": "https://hosted.weblate.org/api/projects/ashos/repository/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/projects/ashos/statistics/?format=api",
        "categories_url": "https://hosted.weblate.org/api/projects/ashos/categories/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/projects/ashos/changes/?format=api",
        "languages_url": "https://hosted.weblate.org/api/projects/ashos/languages/?format=api",
        "labels_url": "https://hosted.weblate.org/api/projects/ashos/labels/?format=api",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "You always wanted to try Fedora Rawhide but after a few days, its fragility got on your nerves. Then, maybe you tried Fedora Silverblue Rawhide but then its complicated and slow git-like ostree operations killed your mood! Well, no more! Now you can try this bleeding edge distro (and many more distros like Debian sid) with more peace of mind.\r\n\r\nAshOS is a unique meta-distribution that aims to bring immutability even to distros that do not have this very useful feature i.e. Arch Linux, Gentoo, etc. Software is installed and configured into individual snapshot trees, which can then be deployed and booted into.\r\n\r\nPlease first of all translate the README.md for the target localization and then translate main function by @i2",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "git",
    "repo": "https://github.com/ashos/ashos",
    "git_export": "https://hosted.weblate.org/git/ashos/readme/",
    "branch": "main",
    "push_branch": "main",
    "filemask": "res/docs/*.md",
    "screenshot_filemask": "",
    "template": "README.md",
    "edit_template": true,
    "intermediate": "",
    "new_base": "",
    "file_format": "mediawiki",
    "license": "AGPL-3.0-or-later",
    "license_url": "https://spdx.org/licenses/AGPL-3.0-or-later.html",
    "agreement": "",
    "web_url": "https://hosted.weblate.org/projects/ashos/readme/",
    "url": "https://hosted.weblate.org/api/components/ashos/readme/?format=api",
    "repository_url": "https://hosted.weblate.org/api/components/ashos/readme/repository/?format=api",
    "translations_url": "https://hosted.weblate.org/api/components/ashos/readme/translations/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/components/ashos/readme/statistics/?format=api",
    "lock_url": "https://hosted.weblate.org/api/components/ashos/readme/lock/?format=api",
    "links_url": "https://hosted.weblate.org/api/components/ashos/readme/links/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/components/ashos/readme/changes/?format=api",
    "task_url": null,
    "new_lang": "url",
    "language_code_style": "",
    "push": "https://github.com/ashos/ashos",
    "check_flags": "",
    "priority": 100,
    "enforced_checks": [],
    "restricted": false,
    "repoweb": "",
    "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 }}",
    "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": true,
    "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://hosted.weblate.org/api/addons/12066/?format=api"
    ],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": null,
    "linked_component": null
}