Translation components API.

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

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

{
    "name": "Documentation Index",
    "slug": "documentation-index",
    "id": 558,
    "source_language": {
        "id": 732,
        "code": "en_devel",
        "name": "English (Developer)",
        "plural": {
            "id": 746,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [],
        "direction": "ltr",
        "population": 1636485517,
        "web_url": "https://hosted.weblate.org/languages/en_devel/",
        "url": "https://hosted.weblate.org/api/languages/en_devel/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/en_devel/statistics/?format=api"
    },
    "project": {
        "name": "Tiled",
        "slug": "tiled",
        "id": 83,
        "web": "https://www.mapeditor.org/",
        "web_url": "https://hosted.weblate.org/projects/tiled/",
        "url": "https://hosted.weblate.org/api/projects/tiled/?format=api",
        "components_list_url": "https://hosted.weblate.org/api/projects/tiled/components/?format=api",
        "repository_url": "https://hosted.weblate.org/api/projects/tiled/repository/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/projects/tiled/statistics/?format=api",
        "categories_url": "https://hosted.weblate.org/api/projects/tiled/categories/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/projects/tiled/changes/?format=api",
        "languages_url": "https://hosted.weblate.org/api/projects/tiled/languages/?format=api",
        "labels_url": "https://hosted.weblate.org/api/projects/tiled/labels/?format=api",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "https://github.com/bjorn/tiled/wiki/Translating-Tiled",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "git",
    "repo": "https://github.com/bjorn/tiled.git",
    "git_export": "",
    "branch": "master",
    "push_branch": "",
    "filemask": "docs/locale/*/LC_MESSAGES/index.po",
    "screenshot_filemask": "",
    "template": "",
    "edit_template": true,
    "intermediate": "",
    "new_base": "docs/_build/gettext/index.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://hosted.weblate.org/projects/tiled/documentation-index/",
    "url": "https://hosted.weblate.org/api/components/tiled/documentation-index/?format=api",
    "repository_url": "https://hosted.weblate.org/api/components/tiled/documentation-index/repository/?format=api",
    "translations_url": "https://hosted.weblate.org/api/components/tiled/documentation-index/translations/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/components/tiled/documentation-index/statistics/?format=api",
    "lock_url": "https://hosted.weblate.org/api/components/tiled/documentation-index/lock/?format=api",
    "links_url": "https://hosted.weblate.org/api/components/tiled/documentation-index/links/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/components/tiled/documentation-index/changes/?format=api",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "git@github.com:bjorn/tiled.git",
    "check_flags": "",
    "priority": 120,
    "enforced_checks": [],
    "restricted": false,
    "repoweb": "https://github.com/bjorn/tiled/tree/{{branch}}/docs/{{filename|parentdir|parentdir}}#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 \"{{ hook_name }}\" hook in Weblate.\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\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": false,
    "enable_suggestions": true,
    "suggestion_voting": false,
    "suggestion_autoaccept": 0,
    "push_on_commit": false,
    "commit_pending_age": 24,
    "auto_lock_error": true,
    "language_regex": "^[^.]+$",
    "variant_regex": "",
    "addons": [],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": null,
    "linked_component": "https://hosted.weblate.org/api/components/tiled/translations/?format=api"
}