Translation components API.

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

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

{
    "name": "Application",
    "slug": "application",
    "id": 20,
    "source_language": {
        "code": "en",
        "name": "English",
        "plural": {
            "id": 80,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "enp",
            "eng"
        ],
        "direction": "ltr",
        "web_url": "https://weblate.rikka.app/languages/en/",
        "url": "https://weblate.rikka.app/api/languages/en/",
        "statistics_url": "https://weblate.rikka.app/api/languages/en/statistics/"
    },
    "project": {
        "name": "WADB",
        "slug": "wadb",
        "id": 7,
        "web": "https://github.com/RikkaApps/WADB",
        "web_url": "https://weblate.rikka.app/projects/wadb/",
        "url": "https://weblate.rikka.app/api/projects/wadb/",
        "components_list_url": "https://weblate.rikka.app/api/projects/wadb/components/",
        "repository_url": "https://weblate.rikka.app/api/projects/wadb/repository/",
        "statistics_url": "https://weblate.rikka.app/api/projects/wadb/statistics/",
        "changes_list_url": "https://weblate.rikka.app/api/projects/wadb/changes/",
        "languages_url": "https://weblate.rikka.app/api/projects/wadb/languages/",
        "translation_review": true,
        "source_review": false,
        "set_language_team": true,
        "instructions": "",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "git",
    "repo": "git@github.com:RikkaApps/WADB.git",
    "git_export": "https://weblate.rikka.app/git/wadb/application/",
    "branch": "master",
    "push_branch": "master",
    "filemask": "app/src/main/res/values-*/strings.xml",
    "template": "app/src/main/res/values/strings.xml",
    "edit_template": true,
    "intermediate": "",
    "new_base": "",
    "file_format": "aresource",
    "license": "Apache-2.0",
    "license_url": "https://spdx.org/licenses/Apache-2.0.html",
    "agreement": "",
    "web_url": "https://weblate.rikka.app/projects/wadb/application/",
    "url": "https://weblate.rikka.app/api/components/wadb/application/",
    "repository_url": "https://weblate.rikka.app/api/components/wadb/application/repository/",
    "translations_url": "https://weblate.rikka.app/api/components/wadb/application/translations/",
    "statistics_url": "https://weblate.rikka.app/api/components/wadb/application/statistics/",
    "lock_url": "https://weblate.rikka.app/api/components/wadb/application/lock/",
    "links_url": "https://weblate.rikka.app/api/components/wadb/application/links/",
    "changes_list_url": "https://weblate.rikka.app/api/components/wadb/application/changes/",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "git@github.com:RikkaApps/WADB.git",
    "check_flags": "",
    "priority": 100,
    "enforced_checks": [
        "java_format",
        "escaped_newline",
        "end_ellipsis",
        "ellipsis",
        "zero-width-space"
    ],
    "restricted": false,
    "repoweb": "https://github.com/RikkaApps/WADB/blob/{{branch}}/{{filename|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 \"{{ addon_name }}\" hook in Weblate.\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}",
    "allow_translation_propagation": true,
    "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": [
        "https://weblate.rikka.app/api/addons/22/",
        "https://weblate.rikka.app/api/addons/19/"
    ],
    "is_glossary": false,
    "glossary_color": "silver"
}