Translation components API.

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

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

{
    "name": "Application",
    "slug": "application",
    "id": 21,
    "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",
        "population": 159034349015,
        "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": "YASNAC",
        "slug": "yasnac",
        "id": 9,
        "web": "https://github.com/RikkaW/YASNAC",
        "web_url": "https://weblate.rikka.app/projects/yasnac/",
        "url": "https://weblate.rikka.app/api/projects/yasnac/",
        "components_list_url": "https://weblate.rikka.app/api/projects/yasnac/components/",
        "repository_url": "https://weblate.rikka.app/api/projects/yasnac/repository/",
        "statistics_url": "https://weblate.rikka.app/api/projects/yasnac/statistics/",
        "changes_list_url": "https://weblate.rikka.app/api/projects/yasnac/changes/",
        "languages_url": "https://weblate.rikka.app/api/projects/yasnac/languages/",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "git",
    "repo": "[email protected]:RikkaW/YASNAC.git",
    "git_export": "https://weblate.rikka.app/git/yasnac/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": "MIT",
    "license_url": "https://spdx.org/licenses/MIT.html",
    "agreement": "",
    "web_url": "https://weblate.rikka.app/projects/yasnac/application/",
    "url": "https://weblate.rikka.app/api/components/yasnac/application/",
    "repository_url": "https://weblate.rikka.app/api/components/yasnac/application/repository/",
    "translations_url": "https://weblate.rikka.app/api/components/yasnac/application/translations/",
    "statistics_url": "https://weblate.rikka.app/api/components/yasnac/application/statistics/",
    "lock_url": "https://weblate.rikka.app/api/components/yasnac/application/lock/",
    "links_url": "https://weblate.rikka.app/api/components/yasnac/application/links/",
    "changes_list_url": "https://weblate.rikka.app/api/components/yasnac/application/changes/",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "[email protected]:RikkaW/YASNAC.git",
    "check_flags": "java-format",
    "priority": 100,
    "enforced_checks": [
        "java_format",
        "java_printf_format",
        "escaped_newline",
        "end_ellipsis",
        "ellipsis",
        "zero-width-space"
    ],
    "restricted": false,
    "repoweb": "https://github.com/RikkaW/YASNAC/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 }}",
    "pull_message": "Translations update from {{ site_title }}\r\n\r\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\r\n\r\n{% if component_linked_childs %}\r\nIt also includes following components:\r\n{% for linked in component_linked_childs %}\r\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\r\n{% endfor %}\r\n{% endif %}\r\n\r\nCurrent translation status:\r\n\r\n![Weblate translation status]({{widget_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/21/",
        "https://weblate.rikka.app/api/addons/20/"
    ],
    "is_glossary": false,
    "glossary_color": "silver"
}