Translation components API.

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

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

{
    "name": "Tutorial",
    "slug": "tutorial",
    "id": 323,
    "source_language": {
        "code": "en",
        "name": "English",
        "plural": {
            "id": 75,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "english",
            "en_en",
            "base",
            "source",
            "eng"
        ],
        "direction": "ltr",
        "web_url": "https://hosted.weblate.org/languages/en/",
        "url": "https://hosted.weblate.org/api/languages/en/",
        "statistics_url": "https://hosted.weblate.org/api/languages/en/statistics/"
    },
    "project": {
        "name": "Sonic Pi",
        "slug": "sonic-pi",
        "id": 79,
        "web": "http://sonic-pi.net/",
        "web_url": "https://hosted.weblate.org/projects/sonic-pi/",
        "url": "https://hosted.weblate.org/api/projects/sonic-pi/",
        "components_list_url": "https://hosted.weblate.org/api/projects/sonic-pi/components/",
        "repository_url": "https://hosted.weblate.org/api/projects/sonic-pi/repository/",
        "statistics_url": "https://hosted.weblate.org/api/projects/sonic-pi/statistics/",
        "changes_list_url": "https://hosted.weblate.org/api/projects/sonic-pi/changes/",
        "languages_url": "https://hosted.weblate.org/api/projects/sonic-pi/languages/"
    },
    "vcs": "git",
    "repo": "https://github.com/samaaron/sonic-pi.git",
    "git_export": "https://hosted.weblate.org/git/sonic-pi/tutorial/",
    "branch": "main",
    "push_branch": "",
    "filemask": "etc/doc/lang/sonic-pi-tutorial-*.po",
    "template": "",
    "edit_template": true,
    "intermediate": "",
    "new_base": "",
    "file_format": "po",
    "license": "MIT",
    "license_url": "https://opensource.org/licenses/MIT",
    "agreement": "",
    "web_url": "https://hosted.weblate.org/projects/sonic-pi/tutorial/",
    "url": "https://hosted.weblate.org/api/components/sonic-pi/tutorial/",
    "repository_url": "https://hosted.weblate.org/api/components/sonic-pi/tutorial/repository/",
    "translations_url": "https://hosted.weblate.org/api/components/sonic-pi/tutorial/translations/",
    "statistics_url": "https://hosted.weblate.org/api/components/sonic-pi/tutorial/statistics/",
    "lock_url": "https://hosted.weblate.org/api/components/sonic-pi/tutorial/lock/",
    "changes_list_url": "https://hosted.weblate.org/api/components/sonic-pi/tutorial/changes/",
    "new_lang": "contact",
    "language_code_style": "",
    "push": "git@github.com:samaaron/sonic-pi.git",
    "check_flags": "",
    "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)",
    "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 }}",
    "allow_translation_propagation": 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": ""
}