Translation components API.

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

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

{
    "count": 2,
    "next": null,
    "previous": null,
    "results": [
        {
            "name": "pretalx",
            "slug": "pretalx",
            "id": 1,
            "source_language": {
                "code": "en",
                "name": "English",
                "plural": {
                    "id": 77,
                    "source": 0,
                    "number": 2,
                    "formula": "n != 1",
                    "type": 1
                },
                "aliases": [
                    "en_en",
                    "base",
                    "source",
                    "enp",
                    "eng"
                ],
                "direction": "ltr",
                "population": 1636485517,
                "web_url": "http://translate.pretalx.com/languages/en/",
                "url": "http://translate.pretalx.com/api/languages/en/?format=api",
                "statistics_url": "http://translate.pretalx.com/api/languages/en/statistics/?format=api"
            },
            "project": {
                "name": "pretalx",
                "slug": "pretalx",
                "id": 1,
                "web": "https://pretalx.com",
                "web_url": "http://translate.pretalx.com/projects/pretalx/",
                "url": "http://translate.pretalx.com/api/projects/pretalx/?format=api",
                "components_list_url": "http://translate.pretalx.com/api/projects/pretalx/components/?format=api",
                "repository_url": "http://translate.pretalx.com/api/projects/pretalx/repository/?format=api",
                "statistics_url": "http://translate.pretalx.com/api/projects/pretalx/statistics/?format=api",
                "changes_list_url": "http://translate.pretalx.com/api/projects/pretalx/changes/?format=api",
                "languages_url": "http://translate.pretalx.com/api/projects/pretalx/languages/?format=api",
                "translation_review": false,
                "source_review": false,
                "set_language_team": false,
                "instructions": "",
                "enable_hooks": true,
                "language_aliases": ""
            },
            "vcs": "github",
            "repo": "https://github.com/pretalx/pretalx",
            "git_export": "http://translate.pretalx.com/git/pretalx/pretalx/",
            "branch": "main",
            "push_branch": "",
            "filemask": "src/pretalx/locale/*/LC_MESSAGES/django.po",
            "screenshot_filemask": "",
            "template": "",
            "edit_template": false,
            "intermediate": "",
            "new_base": "src/pretalx/locale/django.pot",
            "file_format": "po",
            "license": "Apache-2.0",
            "license_url": "https://spdx.org/licenses/Apache-2.0.html",
            "agreement": "I hereby assure that all submitted translations have been created by myself and I own the right to publish them under a free license. I hereby agree that my translations will be published together with the translated software under the terms of the Apache License 2.0.",
            "web_url": "http://translate.pretalx.com/projects/pretalx/pretalx/",
            "url": "http://translate.pretalx.com/api/components/pretalx/pretalx/?format=api",
            "repository_url": "http://translate.pretalx.com/api/components/pretalx/pretalx/repository/?format=api",
            "translations_url": "http://translate.pretalx.com/api/components/pretalx/pretalx/translations/?format=api",
            "statistics_url": "http://translate.pretalx.com/api/components/pretalx/pretalx/statistics/?format=api",
            "lock_url": "http://translate.pretalx.com/api/components/pretalx/pretalx/lock/?format=api",
            "links_url": "http://translate.pretalx.com/api/components/pretalx/pretalx/links/?format=api",
            "changes_list_url": "http://translate.pretalx.com/api/components/pretalx/pretalx/changes/?format=api",
            "task_url": null,
            "new_lang": "add",
            "language_code_style": "",
            "push": "git@github.com:pretalx_translate/pretalx.git",
            "check_flags": "",
            "priority": 60,
            "enforced_checks": [],
            "restricted": false,
            "repoweb": "https://github.com/pretalx/pretalx/blob/{{branch}}/src/{{filename}}#L{{line}}",
            "report_source_bugs": "",
            "merge_style": "rebase",
            "commit_message": "🗺 Update translations ({{ 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 for {{ language_name }}",
            "delete_message": "🗺 Deleted translation for {{ language_name }}",
            "merge_message": "🗺 Merge branch '{{ component_remote_branch }}' into translations",
            "addon_message": "🗺 Update translation files\r\n\r\nUpdated by \"{{ addon_name }}\".\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": [
                "http://translate.pretalx.com/api/addons/1/?format=api"
            ],
            "is_glossary": false,
            "glossary_color": "silver"
        },
        {
            "name": "pretalx Glossary",
            "slug": "glossary",
            "id": 2,
            "source_language": {
                "code": "en",
                "name": "English",
                "plural": {
                    "id": 77,
                    "source": 0,
                    "number": 2,
                    "formula": "n != 1",
                    "type": 1
                },
                "aliases": [
                    "en_en",
                    "base",
                    "source",
                    "enp",
                    "eng"
                ],
                "direction": "ltr",
                "population": 1636485517,
                "web_url": "http://translate.pretalx.com/languages/en/",
                "url": "http://translate.pretalx.com/api/languages/en/?format=api",
                "statistics_url": "http://translate.pretalx.com/api/languages/en/statistics/?format=api"
            },
            "project": {
                "name": "pretalx",
                "slug": "pretalx",
                "id": 1,
                "web": "https://pretalx.com",
                "web_url": "http://translate.pretalx.com/projects/pretalx/",
                "url": "http://translate.pretalx.com/api/projects/pretalx/?format=api",
                "components_list_url": "http://translate.pretalx.com/api/projects/pretalx/components/?format=api",
                "repository_url": "http://translate.pretalx.com/api/projects/pretalx/repository/?format=api",
                "statistics_url": "http://translate.pretalx.com/api/projects/pretalx/statistics/?format=api",
                "changes_list_url": "http://translate.pretalx.com/api/projects/pretalx/changes/?format=api",
                "languages_url": "http://translate.pretalx.com/api/projects/pretalx/languages/?format=api",
                "translation_review": false,
                "source_review": false,
                "set_language_team": false,
                "instructions": "",
                "enable_hooks": true,
                "language_aliases": ""
            },
            "vcs": "local",
            "repo": "local:",
            "git_export": "http://translate.pretalx.com/git/pretalx/glossary/",
            "branch": "main",
            "push_branch": "",
            "filemask": "*.tbx",
            "screenshot_filemask": "",
            "template": "",
            "edit_template": true,
            "intermediate": "",
            "new_base": "",
            "file_format": "tbx",
            "license": "Apache-2.0",
            "license_url": "https://spdx.org/licenses/Apache-2.0.html",
            "agreement": "",
            "web_url": "http://translate.pretalx.com/projects/pretalx/glossary/",
            "url": "http://translate.pretalx.com/api/components/pretalx/glossary/?format=api",
            "repository_url": "http://translate.pretalx.com/api/components/pretalx/glossary/repository/?format=api",
            "translations_url": "http://translate.pretalx.com/api/components/pretalx/glossary/translations/?format=api",
            "statistics_url": "http://translate.pretalx.com/api/components/pretalx/glossary/statistics/?format=api",
            "lock_url": "http://translate.pretalx.com/api/components/pretalx/glossary/lock/?format=api",
            "links_url": "http://translate.pretalx.com/api/components/pretalx/glossary/links/?format=api",
            "changes_list_url": "http://translate.pretalx.com/api/components/pretalx/glossary/changes/?format=api",
            "task_url": null,
            "new_lang": "none",
            "language_code_style": "",
            "push": "",
            "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": false,
            "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": [],
            "is_glossary": true,
            "glossary_color": "silver"
        }
    ]
}