Translation components API.

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

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

{
    "name": "Core",
    "slug": "core",
    "id": 217,
    "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": "Liberapay",
        "slug": "liberapay",
        "id": 49,
        "web": "https://liberapay.com/",
        "web_url": "https://hosted.weblate.org/projects/liberapay/",
        "url": "https://hosted.weblate.org/api/projects/liberapay/?format=api",
        "components_list_url": "https://hosted.weblate.org/api/projects/liberapay/components/?format=api",
        "repository_url": "https://hosted.weblate.org/api/projects/liberapay/repository/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/projects/liberapay/statistics/?format=api",
        "categories_url": "https://hosted.weblate.org/api/projects/liberapay/categories/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/projects/liberapay/changes/?format=api",
        "languages_url": "https://hosted.weblate.org/api/projects/liberapay/languages/?format=api",
        "labels_url": "https://hosted.weblate.org/api/projects/liberapay/labels/?format=api",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "https://github.com/liberapay/salon/labels/i18n",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "git",
    "repo": "https://github.com/liberapay/liberapay.com.git",
    "git_export": "https://hosted.weblate.org/git/liberapay/core/",
    "branch": "master",
    "push_branch": "",
    "filemask": "i18n/core/*.po",
    "screenshot_filemask": "",
    "template": "",
    "edit_template": true,
    "intermediate": "",
    "new_base": "",
    "file_format": "po",
    "license": "CC0-1.0",
    "license_url": "https://spdx.org/licenses/CC0-1.0.html",
    "agreement": "",
    "web_url": "https://hosted.weblate.org/projects/liberapay/core/",
    "url": "https://hosted.weblate.org/api/components/liberapay/core/?format=api",
    "repository_url": "https://hosted.weblate.org/api/components/liberapay/core/repository/?format=api",
    "translations_url": "https://hosted.weblate.org/api/components/liberapay/core/translations/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/components/liberapay/core/statistics/?format=api",
    "lock_url": "https://hosted.weblate.org/api/components/liberapay/core/lock/?format=api",
    "links_url": "https://hosted.weblate.org/api/components/liberapay/core/links/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/components/liberapay/core/changes/?format=api",
    "task_url": null,
    "new_lang": "url",
    "language_code_style": "",
    "push": "",
    "check_flags": "python-brace-format",
    "priority": 100,
    "enforced_checks": [],
    "restricted": false,
    "repoweb": "https://github.com/liberapay/liberapay.com/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)",
    "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": false,
    "commit_pending_age": 12,
    "auto_lock_error": true,
    "language_regex": "^[^.]+$",
    "variant_regex": "",
    "addons": [
        "https://hosted.weblate.org/api/addons/12609/?format=api",
        "https://hosted.weblate.org/api/addons/84/?format=api",
        "https://hosted.weblate.org/api/addons/6505/?format=api"
    ],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": null,
    "linked_component": null
}