Translation components API.

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

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

{
    "name": "admin",
    "slug": "admin",
    "id": 2,
    "source_language": {
        "id": 73,
        "code": "en",
        "name": "English",
        "plural": {
            "id": 73,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "enp",
            "eng"
        ],
        "direction": "ltr",
        "population": 1636485517,
        "web_url": "https://translate.yunohost.org/languages/en/",
        "url": "https://translate.yunohost.org/api/languages/en/",
        "statistics_url": "https://translate.yunohost.org/api/languages/en/statistics/"
    },
    "project": {
        "name": "YunoHost",
        "slug": "yunohost",
        "id": 1,
        "web": "https://yunohost.org",
        "web_url": "https://translate.yunohost.org/projects/yunohost/",
        "url": "https://translate.yunohost.org/api/projects/yunohost/",
        "components_list_url": "https://translate.yunohost.org/api/projects/yunohost/components/",
        "repository_url": "https://translate.yunohost.org/api/projects/yunohost/repository/",
        "statistics_url": "https://translate.yunohost.org/api/projects/yunohost/statistics/",
        "categories_url": "https://translate.yunohost.org/api/projects/yunohost/categories/",
        "changes_list_url": "https://translate.yunohost.org/api/projects/yunohost/changes/",
        "languages_url": "https://translate.yunohost.org/api/projects/yunohost/languages/",
        "labels_url": "https://translate.yunohost.org/api/projects/yunohost/labels/",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "github",
    "repo": "https://github.com/YunoHost/yunohost-admin.git",
    "git_export": "https://translate.yunohost.org/git/yunohost/admin/",
    "branch": "dev",
    "push_branch": "",
    "filemask": "app/src/i18n/locales/*.json",
    "screenshot_filemask": "",
    "template": "app/src/i18n/locales/en.json",
    "edit_template": true,
    "intermediate": "",
    "new_base": "",
    "file_format": "json",
    "license": "AGPL-3.0-or-later",
    "license_url": "https://spdx.org/licenses/AGPL-3.0-or-later.html",
    "agreement": "",
    "web_url": "https://translate.yunohost.org/projects/yunohost/admin/",
    "url": "https://translate.yunohost.org/api/components/yunohost/admin/",
    "repository_url": "https://translate.yunohost.org/api/components/yunohost/admin/repository/",
    "translations_url": "https://translate.yunohost.org/api/components/yunohost/admin/translations/",
    "statistics_url": "https://translate.yunohost.org/api/components/yunohost/admin/statistics/",
    "lock_url": "https://translate.yunohost.org/api/components/yunohost/admin/lock/",
    "links_url": "https://translate.yunohost.org/api/components/yunohost/admin/links/",
    "changes_list_url": "https://translate.yunohost.org/api/components/yunohost/admin/changes/",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "https://github.com/YunoHost/yunohost-admin.git",
    "check_flags": "python-brace-format",
    "priority": 100,
    "enforced_checks": [],
    "restricted": false,
    "repoweb": "",
    "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 \"{{ hook_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": "^[^.]+$",
    "variant_regex": "",
    "addons": [
        "https://translate.yunohost.org/api/addons/6/",
        "https://translate.yunohost.org/api/addons/7/"
    ],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": null,
    "linked_component": null
}