Translation projects API.

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

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

{
    "count": 3,
    "next": null,
    "previous": null,
    "results": [
        {
            "name": "Frontend",
            "slug": "frontend",
            "id": 2,
            "source_language": {
                "code": "en",
                "name": "English",
                "plural": {
                    "id": 76,
                    "source": 0,
                    "number": 2,
                    "formula": "n != 1",
                    "type": 1
                },
                "aliases": [
                    "en_en",
                    "base",
                    "source",
                    "enp",
                    "eng"
                ],
                "direction": "ltr",
                "population": 159034349015,
                "web_url": "https://weblate.info.ucl.ac.be/languages/en/",
                "url": "https://weblate.info.ucl.ac.be/api/languages/en/?format=api",
                "statistics_url": "https://weblate.info.ucl.ac.be/api/languages/en/statistics/?format=api"
            },
            "vcs": "github",
            "repo": "https://github.com/UCL-INGI/INGInious",
            "git_export": "https://weblate.info.ucl.ac.be/git/inginious/frontend/",
            "branch": "master",
            "push_branch": "",
            "filemask": "inginious/frontend/i18n/*/LC_MESSAGES/messages.po",
            "template": "",
            "edit_template": false,
            "intermediate": "",
            "new_base": "inginious/frontend/i18n/messages.pot",
            "file_format": "po",
            "license": "AGPL-3.0-only",
            "license_url": "https://spdx.org/licenses/AGPL-3.0-only.html",
            "agreement": "",
            "web_url": "https://weblate.info.ucl.ac.be/projects/inginious/frontend/",
            "url": "https://weblate.info.ucl.ac.be/api/components/inginious/frontend/?format=api",
            "repository_url": "https://weblate.info.ucl.ac.be/api/components/inginious/frontend/repository/?format=api",
            "translations_url": "https://weblate.info.ucl.ac.be/api/components/inginious/frontend/translations/?format=api",
            "statistics_url": "https://weblate.info.ucl.ac.be/api/components/inginious/frontend/statistics/?format=api",
            "lock_url": "https://weblate.info.ucl.ac.be/api/components/inginious/frontend/lock/?format=api",
            "links_url": "https://weblate.info.ucl.ac.be/api/components/inginious/frontend/links/?format=api",
            "changes_list_url": "https://weblate.info.ucl.ac.be/api/components/inginious/frontend/changes/?format=api",
            "task_url": null,
            "new_lang": "add",
            "language_code_style": "",
            "push": "https://github.com/UCL-INGI/INGInious",
            "check_flags": "",
            "priority": 100,
            "enforced_checks": [],
            "restricted": false,
            "repoweb": "https://github.com/UCL-INGI/INGInious/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)\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 \"{{ addon_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": true,
            "commit_pending_age": 24,
            "auto_lock_error": true,
            "language_regex": "^[^.]+$",
            "variant_regex": "",
            "addons": [
                "https://weblate.info.ucl.ac.be/api/addons/7/?format=api",
                "https://weblate.info.ucl.ac.be/api/addons/1/?format=api"
            ],
            "is_glossary": false,
            "glossary_color": "silver"
        },
        {
            "name": "MCQ agent",
            "slug": "mcq-agent",
            "id": 3,
            "source_language": {
                "code": "en",
                "name": "English",
                "plural": {
                    "id": 76,
                    "source": 0,
                    "number": 2,
                    "formula": "n != 1",
                    "type": 1
                },
                "aliases": [
                    "en_en",
                    "base",
                    "source",
                    "enp",
                    "eng"
                ],
                "direction": "ltr",
                "population": 159034349015,
                "web_url": "https://weblate.info.ucl.ac.be/languages/en/",
                "url": "https://weblate.info.ucl.ac.be/api/languages/en/?format=api",
                "statistics_url": "https://weblate.info.ucl.ac.be/api/languages/en/statistics/?format=api"
            },
            "vcs": "github",
            "repo": "https://github.com/UCL-INGI/INGInious",
            "git_export": "",
            "branch": "master",
            "push_branch": "",
            "filemask": "inginious/agent/mcq_agent/i18n/*/LC_MESSAGES/messages.po",
            "template": "",
            "edit_template": true,
            "intermediate": "",
            "new_base": "inginious/agent/mcq_agent/i18n/messages.pot",
            "file_format": "po",
            "license": "AGPL-3.0-only",
            "license_url": "https://spdx.org/licenses/AGPL-3.0-only.html",
            "agreement": "",
            "web_url": "https://weblate.info.ucl.ac.be/projects/inginious/mcq-agent/",
            "url": "https://weblate.info.ucl.ac.be/api/components/inginious/mcq-agent/?format=api",
            "repository_url": "https://weblate.info.ucl.ac.be/api/components/inginious/mcq-agent/repository/?format=api",
            "translations_url": "https://weblate.info.ucl.ac.be/api/components/inginious/mcq-agent/translations/?format=api",
            "statistics_url": "https://weblate.info.ucl.ac.be/api/components/inginious/mcq-agent/statistics/?format=api",
            "lock_url": "https://weblate.info.ucl.ac.be/api/components/inginious/mcq-agent/lock/?format=api",
            "links_url": "https://weblate.info.ucl.ac.be/api/components/inginious/mcq-agent/links/?format=api",
            "changes_list_url": "https://weblate.info.ucl.ac.be/api/components/inginious/mcq-agent/changes/?format=api",
            "task_url": null,
            "new_lang": "add",
            "language_code_style": "",
            "push": "https://github.com/UCL-INGI/INGInious",
            "check_flags": "",
            "priority": 100,
            "enforced_checks": [],
            "restricted": false,
            "repoweb": "https://github.com/UCL-INGI/INGInious/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)\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 \"{{ addon_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": true,
            "commit_pending_age": 24,
            "auto_lock_error": true,
            "language_regex": "^[^.]+$",
            "variant_regex": "",
            "addons": [
                "https://weblate.info.ucl.ac.be/api/addons/4/?format=api",
                "https://weblate.info.ucl.ac.be/api/addons/3/?format=api"
            ],
            "is_glossary": false,
            "glossary_color": "silver"
        },
        {
            "name": "INGInious",
            "slug": "glossary",
            "id": 89,
            "source_language": {
                "code": "en",
                "name": "English",
                "plural": {
                    "id": 76,
                    "source": 0,
                    "number": 2,
                    "formula": "n != 1",
                    "type": 1
                },
                "aliases": [
                    "en_en",
                    "base",
                    "source",
                    "enp",
                    "eng"
                ],
                "direction": "ltr",
                "population": 159034349015,
                "web_url": "https://weblate.info.ucl.ac.be/languages/en/",
                "url": "https://weblate.info.ucl.ac.be/api/languages/en/?format=api",
                "statistics_url": "https://weblate.info.ucl.ac.be/api/languages/en/statistics/?format=api"
            },
            "vcs": "local",
            "repo": "local:",
            "git_export": "https://weblate.info.ucl.ac.be/git/inginious/glossary/",
            "branch": "main",
            "push_branch": "",
            "filemask": "*.tbx",
            "template": "",
            "edit_template": true,
            "intermediate": "",
            "new_base": "",
            "file_format": "tbx",
            "license": "AGPL-3.0-only",
            "license_url": "https://spdx.org/licenses/AGPL-3.0-only.html",
            "agreement": "",
            "web_url": "https://weblate.info.ucl.ac.be/projects/inginious/glossary/",
            "url": "https://weblate.info.ucl.ac.be/api/components/inginious/glossary/?format=api",
            "repository_url": "https://weblate.info.ucl.ac.be/api/components/inginious/glossary/repository/?format=api",
            "translations_url": "https://weblate.info.ucl.ac.be/api/components/inginious/glossary/translations/?format=api",
            "statistics_url": "https://weblate.info.ucl.ac.be/api/components/inginious/glossary/statistics/?format=api",
            "lock_url": "https://weblate.info.ucl.ac.be/api/components/inginious/glossary/lock/?format=api",
            "links_url": "https://weblate.info.ucl.ac.be/api/components/inginious/glossary/links/?format=api",
            "changes_list_url": "https://weblate.info.ucl.ac.be/api/components/inginious/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"
        }
    ]
}